forked from aqlaboratory/openfold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingularity_run.sh
executable file
·34 lines (34 loc) · 1.29 KB
/
singularity_run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
#export PATH=/tahoma/emsla60288/edo/py3714/bin/:$PATH
#if [ -d "venv3714" ]; then
# echo "venv3714 directory present"
#else
# python -m venv venv3714
#fi
#source venv3714/bin/activate
#python -m pip install --upgrade pip
#python -m pip install spython
CUDA_DIR=/data/edo/cuda-11.3
export LD_LIBRARY_PATH=$CUDA_DIR/lib64:$LD_LIBRARY_PATH
#DOWNLOAD_DIR=/tahoma/datasets/alphafold/data
export DOWNLOAD_DIR=/data/edo/openfold-myfork/data
singularity exec \
--nv \
--bind $PWD:/data \
--bind "$DOWNLOAD_DIR":/database \
./openfold.simg \
python3 /opt/openfold/run_pretrained_openfold.py \
/data/fasta_dir \
/database/pdb_mmcif/mmcif_files/ \
--uniref90_database_path /database/uniref90/uniref90.fasta \
--mgnify_database_path /database/mgnify/mgy_clusters_2018_12.fa \
--pdb70_database_path /database/pdb70/pdb70 \
--uniclust30_database_path /database/uniclust30/uniclust30_2018_08/uniclust30_2018_08 \
--output_dir /data \
--bfd_database_path /database/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt \
--model_device cuda:0 \
--jackhmmer_binary_path /opt/conda/bin/jackhmmer \
--hhblits_binary_path /opt/conda/bin/hhblits \
--hhsearch_binary_path /opt/conda/bin/hhsearch \
--kalign_binary_path /opt/conda/bin/kalign \
--openfold_checkpoint_path /database/openfold_params/finetuning_ptm_2.pt