install_third_party_dependencies.sh 798 Bytes
Newer Older
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
1
#!/bin/bash
2

Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
3
# Download folding resources
Jennifer Wei's avatar
Jennifer Wei committed
4
wget -N --no-check-certificate -P openfold/resources \
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
5
6
    https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt

7
8
# Certain tests need access to this file
mkdir -p tests/test_data/alphafold/common
9
ln -rs openfold/resources/stereo_chemical_props.txt tests/test_data/alphafold/common
10

Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
11
# Decompress test data
12
gunzip -c tests/test_data/sample_feats.pickle.gz > tests/test_data/sample_feats.pickle
13
14

python setup.py install
15

16
17
18
19
20
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH

# The following will prepend conda library environment to $LD_LIBRARY_PATH
# upon conda library activation 
# conda env config vars set LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH