A generic fMRIPost workflow.
fMRIPost-template is a template repository that can be used to create new fMRIPost workflows.
The workflows and functions in this repository are designed to implement the majority of general-purpose steps in an fMRIPost pipeline. Here are a few of the key features:
Configuration files to define expected BIDS derivatives from the preprocessing pipeline.
Functions to collect and organize data from the BIDS derivatives.
The ability to work with the following preprocessing configurations:
- fMRIPrep with
--level full
and the required output space for the fMRIPost workflow. For example, fMRIPost-AROMA requires outputs inMNI152NLin6Asym
space with 2x2x2 mm voxels. - fMRIPrep with
--level full
and boldref-space outputs, along with transforms to the required output space for the fMRIPost workflow. - fMRIPrep with
--level full
and boldref-space outputs, along with transforms to spaces that can be combined with existing transforms to required spaces. For example, users may apply fMRIPost-AROMA to boldref derivatives with transforms to MNI152NLin2009cAsym space. In this case, the fMRIPost-AROMA workflow will pull a transform from MNI152NLin2009cAsym to MNI152NLin6Asym from TemplateFlow and apply it, along with the boldref-to-MNI152NLin2009cAsym transform, to the boldref-space derivatives. - fMRIPrep with
--level full
and raw BOLD data. In this case, the fMRIPost workflow will apply minimal preprocessing steps internally to generate the required derivatives. This will rarely be used, but may be useful for fMRIPost workflows that require raw data, like fMRIPost-phase.
Warning
Currently, minimal- and resampling-level fMRIPrep derivatives are not supported, as fMRIPost workflows typically require confounds that are only generated with
--level full
.- fMRIPrep with
General NiPreps infrastructure for running a BIDS App, such as a config file, a command-line interface, and tools to generate HTML reports.
If you use this template to create a new fMRIPost workflow, you will need to:
- Replace all instances of
fmripost_template
with the name of your new workflow. - Replace all instances of
fMRIPost-template
with the name of your new workflow. - Modify the workflows and interfaces to apply your desired processing steps.
- Update the documentation to reflect the new workflow.
Please also include something like the following in your boilerplate:
> Data were postprocessed using fMRIPost-<name>, > which is based on fMRIPost-template ([cite fMRIPost-template version and DOI here]).