Skip to content

Commit

Permalink
fix(docking): path issues in multi_dock.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jyaacoub committed Jul 31, 2023
1 parent 538f88b commit ceb5aa1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/docking/sbatch/multi_dock.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash
#SBATCH -t 1-00:00:00 #days-hours:minutes:seconds
#SBATCH -t 2-00:00:00 #days-hours:minutes:seconds
#SBATCH -o /cluster/projects/kumargroup/jean/slurm-outputs/docking/run11/%x-%A_%a.out #NOTE: change run#

#SBATCH --job-name=r11_vina_dock #NOTE: change run#
##SBATCH --mail-type=ALL
##SBATCH [email protected]

#SBATCH --mem=4G
#SBATCH --cpus-per-task=4
#SBATCH --cpus-per-task=8

#SBATCH --array=0 #NOTE: N total processes
#SBATCH --array=0-40 #NOTE: N total processes
# takes ~1.5 days on 5 process nodes with 3,000 pdbs

# adding needed libraries to path:
Expand All @@ -30,13 +30,14 @@ echo "run_num: $run_num"
# e.g.: vina --config /cluster/projects/kumargroup/jean/data/refined-set/1a1e/1a1e_conf.txt --seed 904455071
# shortlist file is different for each job in the array
conf_dir="/cluster/projects/kumargroup/jean/data/vina_conf/run${run_num}/"
shortlist=/cluster/projects/kumargroup/jean/data/shortlists/kd_ki/${SLURM_ARRAY_TASK_ID}.csv
run_vina=/cluster/home/t122995uhn/projects/MutDTA/src/docking/bash_scripts/run_vina.sh
pdb_data="/cluster/projects/kumargroup/jean/data/refined-set/"
shortlist=/cluster/projects/kumargroup/jean/data/shortlists/refined-set/${SLURM_ARRAY_TASK_ID}.csv
vina=/cluster/home/t122995uhn/projects/MutDTA/src/docking/bash_scripts/run_vina.sh
data="/cluster/projects/kumargroup/jean/data/refined-set/"

echo "shortlist: $shortlist"
echo "conf_dir: $conf_dir"
echo "data: $data"

$run_vina $pdb_data $shortlist $conf_dir
$vina $data $shortlist $conf_dir

# Then extract with `extract_vina_out.py`

0 comments on commit ceb5aa1

Please sign in to comment.