Skip to content

Commit d430c09

Browse files
💡 Update comments based on default preconfig
1 parent c7ec669 commit d430c09

18 files changed

+3606
-1964
lines changed

CPAC/resources/configs/pipeline_config_abcd-options.yml

Lines changed: 213 additions & 144 deletions
Large diffs are not rendered by default.

CPAC/resources/configs/pipeline_config_anat-only.yml

Lines changed: 77 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,20 @@
66
# http://fcp-indi.github.io for more info.
77
#
88
# Tip: This file can be edited manually with a text editor for quick modifications.
9-
109
FROM: default
1110

11+
pipeline_setup:
1212

13-
pipeline_setup:
1413
# Name for this pipeline configuration - useful for identification.
14+
# This string will be sanitized and used in filepaths
1515
pipeline_name: cpac_anat
16+
system_config:
1617

17-
working_directory:
18-
# Deletes the contents of the Working Directory after running.
19-
# This saves disk space, but any additional preprocessing or analysis will have to be completely re-run.
20-
remove_working_dir: Off
21-
22-
system_config:
2318
# Select Off if you intend to run CPAC on a single machine.
2419
# If set to On, CPAC will attempt to submit jobs through the job scheduler / resource manager selected below.
25-
on_grid:
26-
SGE:
20+
on_grid:
21+
SGE:
22+
2723
# SGE Parallel Environment to use when running CPAC.
2824
# Only applies when you are running on a grid or compute cluster using SGE.
2925
parallel_environment: cpac
@@ -41,166 +37,143 @@ pipeline_setup:
4137
# If you have specified an FSL path in your .bashrc file, this path will be set automatically.
4238
FSLDIR: FSLDIR
4339

44-
Amazon-AWS:
40+
working_directory:
41+
42+
# Deletes the contents of the Working Directory after running.
43+
# This saves disk space, but any additional preprocessing or analysis will have to be completely re-run.
44+
remove_working_dir: Off
45+
46+
Amazon-AWS:
47+
4548
# Enable server-side 256-AES encryption on data to the S3 bucket
4649
s3_encryption: On
4750

48-
anatomical_preproc:
49-
# Non-local means filtering via ANTs DenoiseImage
50-
non_local_means_filtering:
51-
run: [Off]
51+
anatomical_preproc:
52+
brain_extraction:
53+
FSL-BET:
54+
55+
# Mask created along with skull stripping. It should be `On`, if selected functionalMasking : ['Anatomical_Refined'] and `FSL` as skull-stripping method.
56+
mask_boolean: Off
5257

5358
# N4 bias field correction via ANTs
5459
n4_bias_field_correction:
60+
61+
# this is a fork option
5562
run: [On]
5663

57-
brain_extraction:
58-
FSL-BET:
59-
# Mask created along with skull stripping. It should be `On`, if selected functionalMasking : ['Anatomical_Refined'] and `FSL` as skull-stripping method.
60-
mask_boolean: Off
64+
segmentation:
65+
tissue_segmentation:
66+
Template_Based:
6167

62-
segmentation:
63-
tissue_segmentation:
64-
# option parameters
65-
FSL-FAST:
66-
use_priors:
67-
# Full path to a directory containing binarized prior probability maps.
68-
# These maps are included as part of the 'Image Resource Files' package available on the Install page of the User Guide.
69-
# It is not necessary to change this path unless you intend to use non-standard priors.
70-
priors_path: $FSLDIR/data/standard/tissuepriors/2mm
71-
72-
Template_Based:
7368
# These masks should be in the same space of your registration template, e.g. if
7469
# you choose 'EPI Template' , below tissue masks should also be EPI template tissue masks.
7570
#
7671
# Options: ['T1_Template', 'EPI_Template']
7772
template_for_segmentation: []
7873

79-
# These masks are included as part of the 'Image Resource Files' package available
80-
# on the Install page of the User Guide.
81-
82-
# Full path to a binarized White Matter mask.
83-
WHITE: $FSLDIR/data/standard/tissuepriors/2mm/avg152T1_white_bin.nii.gz
84-
85-
# Full path to a binarized Gray Matter mask.
86-
GRAY: $FSLDIR/data/standard/tissuepriors/2mm/avg152T1_gray_bin.nii.gz
74+
registration_workflows:
75+
anatomical_registration:
76+
registration:
77+
FSL-FNIRT:
8778

88-
# Full path to a binarized CSF mask.
89-
CSF: $FSLDIR/data/standard/tissuepriors/2mm/avg152T1_csf_bin.nii.gz
79+
# Reference mask for FSL registration.
80+
ref_mask: $$FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain_mask_dil.nii.gz
9081

91-
registration_workflows:
92-
anatomical_registration:
9382
# Template to be used during registration.
9483
# It is not necessary to change this path unless you intend to use a non-standard template.
95-
T1w_brain_template: $FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain.nii.gz
84+
T1w_brain_template: $$FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain.nii.gz
9685

9786
# Template to be used during registration.
9887
# It is not necessary to change this path unless you intend to use a non-standard template.
99-
T1w_template: $FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}.nii.gz
88+
T1w_template: $$FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}.nii.gz
10089

10190
# Register skull-on anatomical image to a template.
10291
reg_with_skull: Off
10392

104-
registration:
105-
FSL-FNIRT:
106-
# Reference mask for FSL registration.
107-
ref_mask: $FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain_mask_dil.nii.gz
93+
functional_registration:
94+
coregistration:
10895

109-
functional_registration:
110-
coregistration:
96+
# functional (BOLD/EPI) registration to anatomical (structural/T1)
11197
run: Off
98+
boundary_based_registration:
11299

113-
boundary_based_registration:
114100
# this is a fork point
115101
# run: [On, Off] - this will run both and fork the pipeline
116102
run: [Off]
117103

118-
EPI_registration:
119-
ANTs:
120-
# EPI registration configuration - synonymous with T1_registration
121-
# parameters under anatomical registration above
122-
parameters:
123-
FSL-FNIRT:
124-
# Identity matrix used during FSL-based resampling of BOLD-space data throughout the pipeline.
125-
# It is not necessary to change this path unless you intend to use a different template.
126-
identity_matrix: $FSLDIR/etc/flirtsch/ident.mat
104+
func_registration_to_template:
127105

128-
func_registration_to_template:
106+
# these options modify the application (to the functional data), not the calculation, of the
107+
# T1-to-template and EPI-to-template transforms calculated earlier during registration
108+
# apply the functional-to-template (T1 template) registration transform to the functional data
129109
run: Off
110+
target_template:
111+
T1_template:
130112

131-
target_template:
132-
# option parameters
133-
T1_template:
134113
# Standard Skull Stripped Template. Used as a reference image for functional registration.
135114
# This can be different than the template used as the reference/fixed for T1-to-template registration.
136-
T1w_brain_template_funcreg: $FSLDIR/data/standard/MNI152_T1_${func_resolution}_brain.nii.gz
115+
T1w_brain_template_funcreg: $$FSLDIR/data/standard/MNI152_T1_${func_resolution}_brain.nii.gz
137116

138117
# Standard Anatomical Brain Image with Skull.
139118
# This can be different than the template used as the reference/fixed for T1-to-template registration.
140-
T1w_template_funcreg: $FSLDIR/data/standard/MNI152_T1_${func_resolution}.nii.gz
119+
T1w_template_funcreg: $$FSLDIR/data/standard/MNI152_T1_${func_resolution}.nii.gz
120+
121+
EPI_registration:
122+
ANTs:
123+
124+
# EPI registration configuration - synonymous with T1_registration
125+
# parameters under anatomical registration above
126+
parameters:
127+
128+
FSL-FNIRT:
141129

142-
functional_preproc:
130+
# Identity matrix used during FSL-based resampling of BOLD-space data throughout the pipeline.
131+
# It is not necessary to change this path unless you intend to use a different template.
132+
identity_matrix: $$FSLDIR/etc/flirtsch/ident.mat
133+
134+
functional_preproc:
143135
run: Off
136+
distortion_correction:
144137

145-
distortion_correction:
146-
# using: ['PhaseDiff', 'Blip']
138+
# using: ['PhaseDiff', 'Blip', 'Blip-FSL-TOPUP']
147139
# PhaseDiff - Perform field map correction using a single phase difference image, a subtraction of the two phase images from each echo. Default scanner for this method is SIEMENS.
148140
# Blip - Uses AFNI 3dQWarp to calculate the distortion unwarp for EPI field maps of opposite/same phase encoding direction.
149-
# NOTE:
150-
# this is NOT a fork point - instead, the technique used will depend on what type of distortion correction field data accompanies the dataset
151-
# for example, phase-difference field maps will lead to phase-difference distortion correction, and phase-encoding direction field maps will lead to blip-up/blip-down
141+
# Blip-FSL-TOPUP - Uses FSL TOPUP to calculate the distortion unwarp for EPI field maps of opposite/same phase encoding direction.
152142
using: []
153143

154-
nuisance_corrections:
155-
2-nuisance_regression:
144+
nuisance_corrections:
145+
2-nuisance_regression:
146+
156147
# this is a fork point
157148
# run: [On, Off] - this will run both and fork the pipeline
158149
run: [Off]
159150

160151
# Select which nuisance signal corrections to apply
161-
Regressors:
162-
# Standard Lateral Ventricles Binary Mask
163-
# used in CSF mask refinement for CSF signal-related regressions
164-
lateral_ventricles_mask: $FSLDIR/data/atlases/HarvardOxford/HarvardOxford-lateral-ventricles-thr25-2mm.nii.gz
152+
Regressors:
165153

166-
timeseries_extraction:
154+
timeseries_extraction:
167155
run: Off
168156

169-
seed_based_correlation_analysis:
170-
# SCA - Seed-Based Correlation Analysis
171-
# For each extracted ROI Average time series, CPAC will generate a whole-brain correlation map.
172-
# It should be noted that for a given seed/ROI, SCA maps for ROI Average time series will be the same.
173-
run: Off
157+
amplitude_low_frequency_fluctuation:
174158

175-
amplitude_low_frequency_fluctuation:
176159
# ALFF & f/ALFF
177-
# Calculate Amplitude of Low Frequency Fluctuations (ALFF) and and fractional ALFF (f/ALFF) for all voxels.
160+
# Calculate Amplitude of Low Frequency Fluctuations (ALFF) and fractional ALFF (f/ALFF) for all voxels.
178161
run: Off
179162

180-
regional_homogeneity:
163+
regional_homogeneity:
164+
181165
# ReHo
182166
# Calculate Regional Homogeneity (ReHo) for all voxels.
183167
run: Off
184168

185-
voxel_mirrored_homotopic_connectivity:
169+
voxel_mirrored_homotopic_connectivity:
170+
186171
# VMHC
187172
# Calculate Voxel-mirrored Homotopic Connectivity (VMHC) for all voxels.
188173
run: Off
189174

190-
symmetric_registration:
191-
# Included as part of the 'Image Resource Files' package available on the Install page of the User Guide.
192-
# It is not necessary to change this path unless you intend to use a non-standard symmetric template.
193-
T1w_brain_template_symmetric: $FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain_symmetric.nii.gz
194-
195-
# Included as part of the 'Image Resource Files' package available on the Install page of the User Guide.
196-
# It is not necessary to change this path unless you intend to use a non-standard symmetric template.
197-
T1w_template_symmetric: $FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_symmetric.nii.gz
198-
199-
# Included as part of the 'Image Resource Files' package available on the Install page of the User Guide.
200-
# It is not necessary to change this path unless you intend to use a non-standard symmetric template.
201-
dilated_symmetric_brain_mask: $FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain_mask_symmetric_dil.nii.gz
175+
network_centrality:
202176

203-
network_centrality:
204177
# Calculate Degree, Eigenvector Centrality, or Functional Connectivity Density.
205178
run: Off
206179

@@ -210,15 +183,16 @@ network_centrality:
210183

211184
# Full path to a NIFTI file describing the mask. Centrality will be calculated for all voxels within the mask.
212185
template_specification_file: s3://fcp-indi/resources/cpac/resources/mask-thr50-3mm.nii.gz
186+
eigenvector_centrality:
213187

214-
eigenvector_centrality:
215188
# Enable/Disable eigenvector centrality by selecting the connectivity weights
216189
# weight_options: ['Binarized', 'Weighted']
217190
# disable this type of centrality with:
218191
# weight_options: []
219192
weight_options: [Binarized, Weighted]
220193

221-
local_functional_connectivity_density:
194+
local_functional_connectivity_density:
195+
222196
# Select the type of threshold used when creating the lFCD adjacency matrix.
223197
# options:
224198
# 'Significance threshold', 'Correlation threshold'
@@ -229,9 +203,3 @@ network_centrality:
229203
# Sparsity value for Sparsity Threshold
230204
# Pearson's r value for Correlation Threshold
231205
correlation_threshold: 0.001
232-
233-
# PACKAGE INTEGRATIONS
234-
# --------------------
235-
PyPEER:
236-
# Template-space eye mask
237-
eye_mask_path: $FSLDIR/data/standard/MNI152_T1_${func_resolution}_eye_mask.nii.gz

0 commit comments

Comments
 (0)