-
Notifications
You must be signed in to change notification settings - Fork 74
/
run_unifold.sh
31 lines (29 loc) · 1.17 KB
/
run_unifold.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
fasta_path=$1
output_dir_base=$2
database_dir=$3
max_template_date=$4
model_name=$5
param_path=$6
echo "Starting homogeneous searching..."
python unifold/homo_search.py \
--fasta_path=$fasta_path \
--max_template_date=$max_template_date \
--output_dir=$output_dir_base \
--uniref90_database_path=$database_dir/uniref90/uniref90.fasta \
--mgnify_database_path=$database_dir/mgnify/mgy_clusters_2018_12.fa \
--bfd_database_path=$database_dir/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt \
--uniclust30_database_path=$database_dir/uniclust30/uniclust30_2018_08/uniclust30_2018_08 \
--uniprot_database_path=$database_dir/uniprot/uniprot.fasta \
--pdb_seqres_database_path=$database_dir/pdb_seqres/pdb_seqres.txt \
--template_mmcif_dir=$database_dir/pdb_mmcif/mmcif_files \
--obsolete_pdbs_path=$database_dir/pdb_mmcif/obsolete.dat \
--use_precomputed_msas=True
echo "Starting prediction..."
fasta_file=$(basename $fasta_path)
target_name=${fasta_file%.fa*}
python unifold/inference.py \
--model_name=$model_name \
--param_path=$param_path \
--data_dir=$output_dir_base \
--target_name=$target_name \
--output_dir=$output_dir_base