Setting Up A Pipeline Configuration¶
Overview¶
This section explains how to create a new pipeline or edit an existing one. If you wish to use one of the pre-configured pipelines that come packaged with C-PAC, you can view the current available library of pipelines here.
There are two ways of setting up or editing a pipeline configuration for C-PAC:
Using the pipeline configuration interface in the C-PAC GUI
Using a text editor (useful for remote servers where using the C-PAC GUI is not possible or impractical)
Definitions¶
- Workflow
A workflow accomplishes a particular processing task (e.g. functional preprocessing, scrubbing, nuisance correction). Each workflow can be turned on or off in the pipeline configuration. Sometimes a workflow can be set to both on and off, allowing for pipelines to branch.
- Pipeline
A pipeline is a combination of workflows.
- Strategy
A strategy is a set of preprocessing options. Specifically, a strategy is defined by nuisance corrections and scrubbing settings. Strategies can branch depending on which of these workflows are turned on or off and how they are configured.
- Derivative
Derivatives are the results of processing a participant’s raw data (i.e., connectivity measures).
- Atlas
An atlas provides a guide to the location of anatomical features in a coordinate space.
—[1] p. 55
An atlas provides a defined coordinate space, a template for aligning images, and labels for regions of interest.
Currently C-PAC only supports atlases in NifTI format.
CIFTI is a popular atlas format not yet supported by C-PAC. As always, if anyone wants to share any tips or hacks with us, we are an open-source platform after all. Below are some resources that might help enable CIFTI atlas support in a future version of C-PAC.
CIFTI Resources
Mejia, M. 2015 August. A layman’s guide to working with CIFTI files, Mandy Mejia.
Habeeb, H. 2018 December. Convert from CIFTI2 (HCP) to 3D array, Neurostars.
Etzel, J. 2014 March. NIfTI, CIFTI, GIFTI in the HCP and Workbench: a primer, MVPA meanderings.
- Template
C-PAC images include the following templates:
path in container
source
/ants_template/oasis/cpac_templates/ndmg_atlases/opt/dcan-tools/pipeline/global/templates/usr/share/data/fsl-mni152-templatesfsl-mni152-templates – MNI152 stereotaxic brain templates for FSL
/usr/share/fsl/5.0/data/atlasesfsl-atlases – FSL’s MNI152 standard space stereotaxic brain atlases http://fcon_1000.projects.nitrc.org/indi/cpac_resources.tar.gz
/usr/share/fsl/5.0/data/standardhttp://fcon_1000.projects.nitrc.org/indi/cpac_resources.tar.gz
Reference