-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_config.sh
More file actions
53 lines (45 loc) · 1.88 KB
/
user_config.sh
File metadata and controls
53 lines (45 loc) · 1.88 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
# To disable a step, change the string to "DONE"
# To enable a step, change the string to "TODO"
# Only steps set to TODO will run when dMRI_HAITCH.sh is run
declare -A FEDI_DMRI_PIPELINE_STEPS=(
[STEP1_DWI_DENOISE_USING_GSVS]="TODO"
[STEP2_MRDEGIBBS_RINGING_ARTI]="TODO"
[STEP3_RICIAN_BIAS_CORRECTION]="TODO"
[STEP4_FETAL_BRAIN_EXTRACTION]="TODO"
[STEP5_SPLIT_CROP_SKDATA_MASK]="TODO"
[STEP6_SLICECORRECTDISTORTION]="TODO"
[STEP7_B1FIELDBIAS_CORRECTION]="TODO"
[STEP8_3DSHORE_RECONSTRUCTION]="TODO"
[STEP9_REGISTRATION_T2W_ATLAS]="TODO"
[STEP10_TSOR_RESP_FOD_TRACTOG]="TODO"
)
# Tell HAITCH where to find processed T2 data including t2 to atlas registrations
# requires $T2W_DATA/subj/scan/struct/subj_scan_rec-SVRTK_t2w.nii.gz
# requires $T2W_DATA/subj/scan/xfm/subj_scan_rec-SVRTK_t2w-t2space.nii.gz
# requires $T2W_DATA/subj/scan/xfm/subj_scan_rec-SVRTK_from-t2space_to-atlas.nii.gz
export T2W_DATA="protocols/t2w"
# Set the default T2 reconstruction pipeline output to "niftymic" or "SVRTK"
if [[ ! -n $T2W_RECON_METHOD ]] ; then
#export T2W_RECON_METHOD="niftymic"
export T2W_RECON_METHOD="SVRTK"
fi
# Set the default dwi-to-T2 registration method
if [[ ! -n $REGSTRAT ]] ; then
export REGSTRAT="flirt"
#export REGSTRAT="ants"
#export REGSTRAT="manual"
fi
# Set dwi brain segmentation to use DAVOOD (dmri3d) or RAZIEH (fetal-bet)
export SEGMENTATION_METHOD="DAVOOD"
#export SEGMENTATION_METHOD="RAZIEH"
# Fix the DCPREFIX first, meaning which data will be used for the following steps. "dwicrop" or "dwicropsk"
DCPREFIX="dwicrop"
export DISTORTIONCORRECTION_METHOD="TOPUP"
#export DISTORTIONCORRECTION_METHOD="EPIC"
export DISTORTIONCORRECTION_WAY="CLASSIC"
# DISTORTIONCORRECTION_WAY="VOLUMETOPUPONLY"
# Choose whether to use singularity instead of docker for segmentation containers
export SING=1
#export SING=0
# SEGMENTATION_DIR files are last references in STEP 6