-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall_pipelines.sh
executable file
·31 lines (26 loc) · 1.1 KB
/
all_pipelines.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
#!/bin/bash
#PBS -k o
#PBS -l nodes=1:ppn=2,mem=4000mb,walltime=24:00:00
#PBS -M [email protected]
#PBS -m abe
#PBS -N o3d-gen-sub
#PBS -j oe
dataset=$1
subject=$2
root=$3
cd /N/dc2/projects/o3d/code
JOB1=`python init_preprocessing.py $dataset $subject $root &`
JOB2=`python init_recon_models.py $dataset $subject $root &`
wait $JOB1
JOB3=`python init_tracking_csddet_trk.py $dataset $subject $root &`
JOB4=`python init_tracking_csdprob_trk.py $dataset $subject $root &`
JOB5=`python init_tracking_dtidet_trk.py $dataset $subject $root &`
JOB6=`python init_dissection_afq_dtidet_trk.py $dataset $subject $root &`
JOB7=`python init_dissection_afq_csddet_trk.py $dataset $subject $root &`
JOB8=`python init_dissection_afq_csdprob_trk.py $dataset $subject $root &`
JOB9=`python init_connectome_tract.py $dataset $subject $root &`
wait $JOB3 $JOB4 $JOB5 $JOB6 $JOB7 $JOB8 $JOB9
python init_tracking_csddet_tck.py $dataset $subject $root &
python init_tracking_csdprob_tck.py $dataset $subject $root &
python init_tracking_dtidet_tck.py $dataset $subject $root &
python init_dissection_afq_tck.py $dataset $subject $root &