forked from NYU-DiffusionMRI/DESIGNER-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rundesigner.sh
40 lines (33 loc) · 835 Bytes
/
rundesigner.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
35
36
37
38
39
40
echo $BASH_VERSION
subjs=( M9806 )
root=/mnt/labspace/Projects/MESO_v2.0/ALLSUBJS_2.0
for i in ${subjs[@]}; do
(
cd $root/$i
meso=(`ls | grep DIFF_meso_1.nii`)
research=(`ls | grep DIFF_meso_2.nii`)
pa=(`ls | grep DIFF_meso_pa.nii`)
if [ ${#research[@]} -eq 0 ]; then
continue
fi
echo $meso
echo $research
echo $pa
/cbi05data/data1/Hamster/DESIGNER/bin/designer \
-rpe_pair $pa -eddy -pe_dir AP \
-nocleanup \
-scratch $root/$i/designer_processing_test_pe \
$meso,$research $root/$i/designer_out_test_pe
) #&
done
wait
# -denoise \
# -degibbs \
# -rician \
# -eddy -rpe_pair $pa -pe_dir -j \
# -smooth 1.2 \
# -akc \
# -mask \
# -nocleanup \
# -DTIparams -DKIparams -WMTIparams \
# -tempdir $out/$i/processing \