-
Notifications
You must be signed in to change notification settings - Fork 12
/
example_config.sh
142 lines (111 loc) · 4.22 KB
/
example_config.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#######################
# Example config file #
#######################
####################################
# Copy this file wherever you want #
# (in the root directory for your #
# data would be a good idea) #
# and change the relevant options #
####################################
#### Path configurations
# to run the pipeline, do:
# for region pipeline:
# bash path_to_scripts/main_region.sh -c path_to_config/config.sh
# for surface pipeline:
# bash path_to_scripts/main_surface.sh -c path_to_config/config.sh
# The defaults indicates the options chosen by the pipeline if the option is
# not set
#### Mandatory path parameters
# the root directory for files
# this is where all data and processed data are
# we advice to also put this config file in this directory
export PRD=/path_to_root_dir/
# subject name
# this will determine the name of your subject in the final directory
export SUBJ_ID=name_subj
#### Standard options
# error handling: in case of error, the pipeline stops immediately
# Can also be set with option -e to main_surface.sh
# default: not set;
# set -e
# Force: all choices are made automatically without asking the user
# WARNING: can lead to issues
# options: ["no", "yes"]; default: "no"
# Can also be set with option -f to main_surface.sh
export FORCE="no"
# Quiet: run the pipeline without any output
# options: ["no", "yes"]; default: "no"
# Can also be set with option -q to main_surface.sh
export QUIET="no"
#### Optional parameters
# FSL prefix in case of use of fsl5.0 and fsl 4 is present
# for instance FSL="fsl5.0' or FSL="" otherwise
# if only fsl5.0 is installed, leave empty
# default: empty
export FSL=""
# HCP option
# Set to yes if your data are coming from the Human Connectome Project
# options: ["no", "yes"]; default: "no"
export HCP="no"
#### Pipeline parameters
# The defaults indicates the options chosen by the pipeline if the option is
# not set
# check the processed data when the pipeline is running
# (you need a display and mrview installed)
# options: ["yes"/"no"/"force"]; default: "no"
export CHECK="no"
# Methods for the FLIRT registration
# options: ["regular"/"boundary"/"pseudo"]; default: "regular"
export REGISTRATION="regular"
# This parameter is important for the correction of the region mapping.
# Between 0 and 1. The bigger it is, the bigger is the correction.
# (only import for the surface pipeline: main_surface.sh)
# default: 0.42
export REGION_MAPPING_CORR="0.42"
# for computing subconnectivity
# if you want subdivided parcellations, you can a list of how many
# regions you want for each parecellations.
# Subparcellations will be based on subdiving the existing parcellation
# in more regions, with the constraints of minimizing the difference between
# subregion sizes across all subregions
# default: ""
# Needs to be a list of even integers
export N_SUBREGIONS_LIST="100 200"
# number of tracks used in the tractography step.
# default: 10.000.000
# Needs to be an integer
export NUMBER_TRACKS=10000000
# choice of the parcellation
# options ["desikan", "destrieux", "HCP-MMP"]; default: "desikan"
export parcel="desikan"
# use topup and eddy distortion correction
# this depends of you images
# options: ["no", "eddy_correct"], default: "eddy_correct"
export TOPUP="eddy_correct"
# use Anatomically Constrained Tractography (yes/no)
# options ["yes", "no"]; default: "yes"
export ACT="yes"
# using Spherical-deconvolution informed filtering of tractograms
# options: ["sift", "sift2", "no"]; default: SIFT2
export SIFT="sift2"
# if using SIFT, you can set the sift_multiplier variable:
# the number of tracks generated will be NUMBER_TRACKS*SIFT_MULTIPLIER
# default: 10
# Needs to be an integer
# export SIFT_MULTIPLIER=10
# seeding mechanism for tckgen if using act, otherwise default to dynamic
# options: ["gmwmi", "dynamic"]; default: "gmwmi"
export SEED="gmwmi"
# subcortical segmentation correction
# options: ["fs", "fsl"]; default: "fsl"
export ASEG="fsl"
# 5ttgen
# options: ["fs", "fsl"]; default: "fsl"
export FTTGEN="fsl"
# compute forward model for MEG and EEG
# options: ["yes", "no"]; default: "yes"
export FORWARD_MODEL="yes"
# number of threads
# default: value in ~/.mrtrix.conf file if present, or 1 if not present
# Needs to be an integer
export NB_THREADS=1