Release Notes¶
Latest Release: Version 1.8.7 Beta (May 03, 2024)¶
New Features
Newly-Integrated Packages - these functionalities are now accessible via the cpac command-line wrapper:
cpac tsconcat: Timeseries Concatenation via the DAIR group’s [tsconcat](https://github.com/childmindresearch/tsconcat)
cpac gradients: Gradients via the DAIR group’s [ba-timeseries-gradients](https://github.com/childmindresearch/ba-timeseries-gradients)
The
FSL-BET
brain mask generation option in C-PAC now has an optionalRobustFOV
sub-workflow to crop images ensuring removal of neck regions that may appear in the skull-stripped images for some harder-to-skullstrip data.C-PAC can now throttle memory usage of workflow steps to mitigate excessive memory usage, an issue which can cause C-PAC runs to be canceled when users pass a memory usage limit on a shared cluster.
For these throttled steps, C-PAC will allocate all available resources to each such step, so a multithreaded pipeline will run linearly at each of these steps.
Improvements
Ingress of FreeSurfer outputs into C-PAC is now much more convenient, with the new ability to provide the FreeSurfer output directory path to C-PAC directly from the command line. This also facilitates easier automation of large-scale runs with many different FreeSurfer paths.
Writing out the DVARS motion measure output is now optional.
Contributor Improvements
Autoversioning and the documentation auto-updating of pipeline configuration files have been moved from the CI infrastructure to
pre-commit
.In addition to simplifying the auto-updating process, this also keeps the versioning, config documentation, and Dockerfile setup updates within the same commit as the original contribution.
Bug Fixes
Fixed a bug where ingressing
fmriprep
outputs into C-PAC with a blank nuisance confounds field in the C-PAC pipeline configuration file would cause a crash.Fixed a bug where spatial smoothing and z-scoring of final outputs would sometimes fail to run when running a C-PAC pipeline that would ingress fmriprep outputs.
Fixed a bug where ingress of distortion correction-related field map metadata would sometimes fail to recognize both echo times, when there were two present, leading to an error message claiming an echo time is missing.
Changed an extraneous default pipeline configuration setting -
surface_connectivity
is now disabled in the default configuration as intended.Updated the
FSL-BET
configuration options to automatically default-mask-boolean
flag as on, and removed allmask-boolean
keys from configs. This error caused the possibility of masking the brain too early in the pipeline which could have led to crashes when a downstream node expected a binary mask.
Version 1.8.6 Beta (Jan 15, 2024)¶
New Features
C-PAC can now ingress` fMRIPrep <https://www2.childmind.org/e/908232/en-stable-/3mvpmy/2326103788/h/_5fpbWs4zmSoHM8JlOMzlLaQ62nt_LTCkOtj1s5TL_E>`_ output data.
Users can now perform further processing on fMRIPrep-processed data through C-PAC, using any template-space processing they wish to employ. This includes using the nuisance confounds generated by fMRIPrep to perform nuisance denoising on the preprocessed BOLD data.
A fMRIPrep-ingress pre-configured pipeline configuration (pre-config) has been created to make it easy to get started. This pre-config can be modified to suit a user’s specific processing needs.
This is part of a wider project leading to the ability to easily ingress any BIDS-format output directory.
Improvements
The motion parameter and motion derivative outputs have been converted to BIDS-compliant formats.
A tip box has been added to appear when C-PAC returns with a “missing outputs” error.
The data configuration builder tool can now easily add` FreeSurfer <https://www2.childmind.org/e/908232/2023-12-21/3mvpn2/2326103788/h/_5fpbWs4zmSoHM8JlOMzlLaQ62nt_LTCkOtj1s5TL_E>`_ output directories for the purpose of ingressing FreeSurfer data into your C-PAC pipeline.
A large number of C-PAC’s dependencies has been upgraded to more recent versions, including
Ubuntu (18.04 ‘Bionic Beaver’→22.04 ‘Jammy Jellyfish’)
Python (3.7.13→3.10.6)
AFNI (21.1.00 ‘Domitian’→23.3.09 ‘Septimius Severus’)
ANTs (2.3.3 ‘Leptomyrmex’→2.4.3 ‘Emplastus’)
FSL (5.0.9→6.0.6.5)
Nipype (1.5.1→1.8.6)
Please refer to the “Upgraded dependencies” section of the changelog for 1.8.6 or the release notes in the user guide for a full list of these upgrades.
torch, a large dependency that is used by U-Net and nothing else in C-PAC, has been removed from the pre-installed dependencies in the C-PAC image and is now installed in the container at runtime if U-Net is selected in the configuration being run.
Bug Fixes
When motion parameters are filtered, C-PAC now uses the filtered version of the motion parameters downstream - for example, in nuisance regression/denoising.
Fixed a bug where some connectivity matrices wouldn’t generate if anatomical and functional outputs were in different resolutions.
Repaired the handling of
3dECM
(network centrality) outputs for AFNI≥21.1.1.Fixed a bug (introduced in v1.8.0) where sparsity thresholds were not being scaled for network centrality.
Fixed a bug where
calculate_motion_first
would not calculate motion at all.Fixed an error message that was reporting missing resources in pipeline nodeblocks, but was referring to the incorrect nodeblock in question.
Version 1.8.5 Beta (May 24, 2023)¶
New Features
Extension of Template-Space Processing.
In an effort to support compatibility with other tools being used in the field, C-PAC now has the option of performing several operations in template space, where they have historically only been supported within C-PAC in native space. These features now include:
Time series despiking via AFNI 3dDespike.
Nuisance correction and denoising.
Calculation of the ALFF, f/ALFF and ReHo derivatives.
Connectome computation (already supported; included for completeness)
Improved Robustness of Default Pipeline Configuration.
A modified version of the legacy C-PAC default pipeline has been released that improves stability across datasets. This pipeline largely maintains the original preprocessing choices, with the modification of employing robust FSL BET for T1w brain mask generation rather than AFNI. This change was motivated by a difference in design of these two components, where AFNI would exclude ventricles from brain mask generation, occasionally leading to downstream errors in nuisance signal correction.
The pre-1.8.5 default pipeline is still available for users as a preconfigured pipeline under the name
default-deprecated
.
Downsampling of surface data.
While surface analysis is typically performed on high resolution surfaces and then downsampled to the resolution of the structural images being acquired, further downsampling may be required when working with functional data. To minimize the influence of signal interpolation on downstream markers, such as Regional Homogeneity, we now support downsampling of surface data to a resolution that matches the input functional data resolution.
Motion estimate filter forking capability expanded.
Previous versions of C-PAC allowed for the application of 0‒1 motion estimate filters. C-PAC now supports configuring any number of motion estimate filters; each filter is applied independently.
Support for Fail-Fast workflow execution.
To minimize waste of computational resources and reduce the possibility of misunderstanding of partial derived datasets, the new
fail-fast
option in C-PAC tells the workflow engine to stop running in the event of any failed or incomplete processing step.
Improvements
Freesurfer outputs ingress overhaul.
The process of ingressing Freesurfer recon-all outputs into the C-PAC pipeline has been streamlined. Freesurfer output directories are now linked in the C-PAC data configuration YAML files, rather than pipeline configurations, for each participant and session of data.
Preconfigured pipelines which employ Freesurfer-based surface processing, such as the abcd-options pipeline, now use the surface-derived T1w brain mask as the default, rather than redundantly computing separate masks.
Output directory BIDS-Derivatives compliance and naming improvement.
The output files in template space now feature the specific
space-*
tag, mapping to standardized names for the template entities, instead of the more genericspace-template
tag.Data that has been nuisance corrected now feature BIDS labels which name the user-provided regressor strategy name, instead of providing this information in the information-dense sidecar JSONs.
Corrected erroneous forking in ABCD-options pipeline.
While no errors were produced in the terminal outputs, redundant computation was previously taking place which led to a slowdown for this configuration, or others which may have used the post-freesurfer processing blocks. The source of this issue has been identified and corrected.
For Nilearn-generated correlation matrices, diagonals are now set to all 1s (were all 0s).
Distortion correction improvements.
Fixed an issue where the distortion correction un-warps were not being applied to the final template-space BOLD time series data, depending on pipeline configuration decisions.
Replaces
DwellTime
withEffectiveEchoSpacing
in the application of FSL FUGUE, consistent with the intention of the documentation and correcting inconsistent nomenclature.Added the ability to ingress TotalReadoutTime from epi field map meta-data from JSON sidecars.
Added the ability to use TotalReadoutTime of epi field maps in the calculation of FSL topup distortion correction.
Identified future directions for refining distortion correction further, including the modernization of some libraries to support the adoption of the sdcflows library.
Run directory and logging improvements.
Added a level of depth to working directories to match log and output directory structure.
Renamed participant-pipeline-level output directory prefix to
pipeline_
to match log and working paths.Added crash messages from during and before graph building to logs.
Added data-config-specific hash string to C-PAC-generated config files.
Error Fixes
Single-step resampling has been fixed such that motion-corrected BOLD time series data is blocked from being used as the input, as the motion correction transforms are factored into the transform application.
Fixed a bug in which generated pipeline configs were not representative of the input configurations being specified. The only affected configurable option discovered in testing was when seed-based correlation analysis was used, the engine was always reverting to the default configuration.
Fixed bug that was causing
cpac run
to fail when passing a manual random seed via--random_seed
rather than directly in the pipeline config file.Fixed an issue that was causing some epi field maps to not be ingressed if the BIDS tags were not in a specific (BIDS-compliant) order.
Fixed an issue where phase-difference GRE field map files were not properly being ingressed if the filenames were not expected, such as including an index for cases with multiple maps.
Fixed a bug where ALFF & f/ALFF would not run if frequency filtering was disabled earlier in the pipeline.
Fixed a bug where Freesurfer directories were not successfully ingressed at runtime.
Added public read access to some overly restricted packaged templates.
Fixed a bug where the notch filter was always assuming the sampling frequency was
2.0
.
Version 1.8.4 Beta (Dec 13, 2022)¶
Critical Alert for fMRIPrep-Options in C-PAC v1.8.1 - v1.8.3
Fixed a bug that was causing
single_step_resampling
, when combined with certain other configurations, to inadvertently cause unexpected forks in the pipeline past transform application.This bug caused any affected
fmriprep-options-based
pipeline configurations (includingfx-options
andrbc-options
) to produce BOLD time series write-outs to the output directory in template space which were not nuisance regressed or filtered, for C-PAC versions 1.8.1 through 1.8.3.Although these outputs were not expressly labeled as nuisance regressed or filtered, they were labeled as preprocessed with
desc-preproc
and were the only functional data transformed to template space and used for downstream processing, such as ROI-based timeseries extraction.If you are unsure if you have been affected, you can check the side-car JSON for your template-space BOLD data from these versions for those pipeline configurations, as the JSON will still accurately reflect what operations had been performed on the data.
Summary Here’s what’s new with C-PAC Version 1.8.4
RBC-options pipeline RBC-options pipeline was built and integrated in C-PAC based on the Reproducible Brain Charts initiative, which aims to aggregate and harmonize phenotypic and neuroimage data to delineate node mechanisms regarding developmental basis of psychopathology in youth and yield reproducible growth charts of brain development (Scopel Hoffman et. al., 2021)
Scopel Hoffmann, M., Salum, G., Moore, T. M., Milham, M., & Sattherwaite, T. (2021, December 13). Reproducible Brain Charts initiative - Reliability and Validity of Bifactor Models of Dimensional Psychopathology in Youth. doi:10.17605/OSF.IO/UWY5N
Surface outputs Previously in C-PAC, the main output for the surface pipeline was the CIFTI timeseries (.dtseries) file. Now we are also outputting CIFTI parcellations (.dlabel) in Desikan-Killiany and Destrieux spaces in 164K and 32K resolutions.
Relicense C-PAC was relicensed from BSD-3-Clause to LGPL-3.0-or-later. This license freely allows use, distribution, and modification under the conditions of disclosing the source, license and copyright notice, propagating the license in redistributions and when modified, stating what was changed. Any modifications to LGPL-covered components are required to be made available under the same version or newer of the LGPL or the more restrictive GPL.
Additional v1.8.4 improvements, changes, and fixes can be seen throughout the rest of this release note.
Pipeline Harmonization Updates
Updated the
rbc-options
configuration, based on the Reproducible Brain Charts (RBC) initiative.Updated XCP-QC files to better adhere to the PennLINC XCPEngine pipeline.
New Features
Surface pipeline now outputs 164k and 32k CIFTI parcellations in each of Desikan-Killiany and Destrieux spaces to output directory.
Added a log of expected outputs, generated at the beginning of each C-PAC run.
Improvements
Made ndmg correlation matrices a configurable option, as it used to automatically run for all pipelines before.
Made surface output filenames more BIDS-compliant.
Added the ability to follow symlinks for BIDS directories.
Updated templates used for rodent pipeline and added outputs that were missing.
Added the ability to disable the exception raised if the initial resource check estimates more memory is needed.
Added
--runtime_usage
and--runtime_buffer
flags and related pipeline config entries and functionality.Added additional error checks and a more informative message for node block connecting in the engine.
Expanded some surface post-processing workflows to be more flexible with other pipeline configurations.
Added list of preconfigured pipelines to the usage string.
Relicensed C-PAC from BSD-3-Clause to LGPL-3.0-or-later.
Bug Fixes
Fixed a bug that was causing
single_step_resampling
to crash with3dVolReg
.Fixed a bug that was causing datasets containing phase-difference field maps to crash.
Fixed a merge error preventing QC files and surface derivatives copying to output directory and renaming connectome→connectivity matrix files.
Fixed a bug where subsequent subjects’ logs were being appended to prior subjects’ logs.
Fixed a bug in which ITK header imprecision was causing N4 bias correction to crash.
Fixed a bug where a node with zero nanoseconds in timing information causes report generation to fail.
Fixed a bug in which
--tracking_opt-out
was not applied to calls to utils.
Developer Improvements
Updated CI to only rebuild software dependencies on change.
Added lint definition file.
Added smoke tests.
Version 1.8.3 Beta (Feb 11, 2022)¶
This version of C-PAC is deprecated due to a bug in single_step_resampling
. Unless you have a specific reason to use this version of C-PAC, we recommend upgrading to at least version 1.8.4. See https://fcp-indi.github.io/docs/latest/user/release_notes/v1.8.4 for more information about C-PAC v1.8.4. To use this version anyway, you can pull fcpindi/c-pac:release-v1.8.3-DEPRECATED
from Docker Hub.
Critical Alert for fMRIPrep-Options in C-PAC v1.8.1 - v1.8.3
Fixed a bug that was causing
single_step_resampling
, when combined with certain other configurations, to inadvertently cause unexpected forks in the pipeline past transform application.This bug caused any affected
fmriprep-options-based
pipeline configurations (includingfx-options
andrbc-options
) to produce BOLD time series write-outs to the output directory in template space which were not nuisance regressed or filtered, for C-PAC versions 1.8.1 through 1.8.3.Although these outputs were not expressly labeled as nuisance regressed or filtered, they were labeled as preprocessed with
desc-preproc
and were the only functional data transformed to template space and used for downstream processing, such as ROI-based timeseries extraction.If you are unsure if you have been affected, you can check the side-car JSON for your template-space BOLD data from these versions for those pipeline configurations, as the JSON will still accurately reflect what operations had been performed on the data.
New features
Added
engine.log
(when verbose debugging is on)Added ability to fix random seed for
antsAI
antsRegistration
Atropos
(fixed but not specified)fslmaths
mri_vol2vol
recon-all
Added ability to use lateral ventricles mask in place of cerebrospinal fluid mask when when segmentation is Off, specifically for the rodent pipeline, but works on any dataset when segmentation is off
Improvements
In a given pipeline configuration, segmentation probability maps and binary tissue masks are warped to template space, and those warped masks are included in the output directory
if
registration_workflows['functional_registration']['EPI_registration']['run segmentation']
isOn
andsegmentation['tissue_segmentation']['Template_Based']['template_for_segmentation']
includesEPI_Template
and/or
if
registration_workflows['anatomical_registration']['run']
isOn
andsegmentation['tissue_segmentation']['Template_Based']['template_for_segmentation']
includesT1_Template
Renamed connectivity matrices from
*_connectome.tsv
to*_correlations.tsv
Moved some ephemeral logging statements into
pypeline.log
Bug fixes
Fixed bug in which working connectivity matrix filepaths were generated incorrectly, preventing generating matrices depending on container bindings
Fixed broken links in README
Fixed bug in which anatomical-only configurations required functional data directories
Fixed bug in which nuisance regressors would crash when segmentation is off and no CSF mask is provided
Version 1.8.2 Beta (Dec 02, 2021)¶
This version of C-PAC is deprecated due to a bug in single_step_resampling
. Unless you have a specific reason to use this version of C-PAC, we recommend upgrading to at least version 1.8.4. See https://fcp-indi.github.io/docs/latest/user/release_notes/v1.8.4 for more information about C-PAC v1.8.4. To use this version anyway, you can pull fcpindi/c-pac:release-v1.8.2-DEPRECATED
from Docker Hub.
Critical Alert for fMRIPrep-Options in C-PAC v1.8.1 - v1.8.3
Fixed a bug that was causing
single_step_resampling
, when combined with certain other configurations, to inadvertently cause unexpected forks in the pipeline past transform application.This bug caused any affected
fmriprep-options-based
pipeline configurations (includingfx-options
andrbc-options
) to produce BOLD time series write-outs to the output directory in template space which were not nuisance regressed or filtered, for C-PAC versions 1.8.1 through 1.8.3.Although these outputs were not expressly labeled as nuisance regressed or filtered, they were labeled as preprocessed with
desc-preproc
and were the only functional data transformed to template space and used for downstream processing, such as ROI-based timeseries extraction.If you are unsure if you have been affected, you can check the side-car JSON for your template-space BOLD data from these versions for those pipeline configurations, as the JSON will still accurately reflect what operations had been performed on the data.
Usability testing and optimization for the following minimal processing pipelines employed in the Li et al., Milham manuscript (BioRxiv) is complete and they are available:
CPAC:CCS
CPAC:ABCD-BIDS
CPAC:fMRIPrep
CPAC:Default
The ABCD-BIDS surface-based postprocessing pipeline is implemented, though final usability testing and optimization is pending and will be in next release.
Added
Added FSL-TOPUP as an option for distortion correction.
Added changelog
Added CHD8 mouse template (
/cpac_templates/chd8_functional_template_noise_mask_ag.nii.gz
)Added commandline flags
--T1w_label
and--bold_label
Added the ability to ingress an entire FreeSurfer output directory to bypass surface analysis if already completed elsewhere
Added AFNI and Nilearn implementations of Pearson and partial correlation matrices
Changed
Expanded meta-data ingress for EPI field maps to include more fields when parsing BIDS sidecar JSONs.
Updated possible inputs for T2w processing and ACPC-alignment blocks to increase the modularity of these pipeline options.
master
branch renamedmain
Packaged templates in https://github.com/FCP-INDI/C-PAC_templates
Deprecated
master
branch name (renamedmain
)
Fixed
Fixed bug in which the preprocessed T2w data would not be found in the resource pool when expected.
Fixed bug in which distortion correction-related field map ingress would raise
IndexError: list index out of range
when ingressing the field maps.Fixed bug in which some nodes would raise
KeyError: 'in_file'
when estimating memory allocationImproved memory management for multi-core node allocation.
Fixed bug where
--participant_label [A B C]
would skip first and last labels (A
andC
).Stripped the ABI tag note (which was preventing the library from loading dynamically on some host operating systems) from
libQt5Core.so.5
in the ABCD-HCP variant image.Fixed an issue blocking non-C-PAC output data from being read in without sidecar meta-data.
Version 1.8.1 Beta (Sep 17, 2021)¶
This version of C-PAC is deprecated due to a bug in single_step_resampling
. Unless you have a specific reason to use this version of C-PAC, we recommend upgrading to at least version 1.8.4. See https://fcp-indi.github.io/docs/latest/user/release_notes/v1.8.4 for more information about C-PAC v1.8.4. To use this version anyway, you can pull fcpindi/c-pac:release-v1.8.1-DEPRECATED
from Docker Hub.
Critical Alert for fMRIPrep-Options in C-PAC v1.8.1 - v1.8.3
Fixed a bug that was causing
single_step_resampling
, when combined with certain other configurations, to inadvertently cause unexpected forks in the pipeline past transform application.This bug caused any affected
fmriprep-options-based
pipeline configurations (includingfx-options
andrbc-options
) to produce BOLD time series write-outs to the output directory in template space which were not nuisance regressed or filtered, for C-PAC versions 1.8.1 through 1.8.3.Although these outputs were not expressly labeled as nuisance regressed or filtered, they were labeled as preprocessed with
desc-preproc
and were the only functional data transformed to template space and used for downstream processing, such as ROI-based timeseries extraction.If you are unsure if you have been affected, you can check the side-car JSON for your template-space BOLD data from these versions for those pipeline configurations, as the JSON will still accurately reflect what operations had been performed on the data.
New Features & Pipeline Harmonization
ABCD-BIDS Pipeline Harmonization.
The ABCD-BIDS pipeline of the ABCD study can now be reproduced by running the
abcd-options
preconfig in C-PAC.
CCS Pipeline Harmonization.
A new BOLD masking option,
CCS_Anatomical_Refined
, has been added. This has been adapted from the BOLD mask method from the CCS pipeline.New T1 masking options using Freesurfer have been added to facilitate the harmonization with the CCS pipeline.
A preconfigured pipeline that reproduces the CCS pipeline is now available.
fmriprep Pipeline Harmonization Updated.
The fmriprep-options preconfigured pipeline, which reproduces the fmriprep pipeline, has been updated to reflect recent changes.
Improvements
NOTE: The C-PAC default pipeline has been updated to use the whole-head T1w image as the input (moving) image for ANTs T1w-to-template registration. Comparisons with previous versions of C-PAC will show this change.
Further improvements to memory management for less frequent hanging have been integrated, in an ongoing process.
Freesurfer’s Recon-All functionality in C-PAC has been opened to further configurability.
More options for selecting a reference for slice-timing correction have been added.
Description and other meta-data fields have been added to some output JSON sidecar files in an ongoing process to make output data descriptors clearer.
DVARS calculation is now performed using AFNI 3dTto1d, increasing computation speed.
Manually inserting input data to a C-PAC output directory for ingress is now easier. A sidecar JSON containing meta-data will be produced for the data automatically if one is not provided.
For developers: improvements to the codebase have streamlined the process of adding new output data types to C-PAC through a central table, in line with recent v1.8 changes and the move to BIDS-Derivatives compliance.
Bug Fixes
Choosing On/Off for nuisance regression once again correctly produces the non-cleaned BOLD outputs in addition to any nuisance regression strategies.
Forking T1 and EPI based registration while simultaneously forking ANTs and FSL registration options no longer crashes the pipeline.
An error where the DVARS calculation step would cause the pipeline to hang has been resolved.
All nuisance regression choices are now available for EPI-registration based pipelines.
The
mem_gb
input parameter for memory allocation no longer overrides other memory selections, when left unspecified.The
selected_volume
option for motion correction reference is now working again.
Version 1.8.0 Beta (Mar 13, 2021)¶
New Features
BIDS-Derivatives Compatibility. C-PAC can now both ingress data and write data out according to the BIDS-Derivatives standard, enhancing interoperability with other BIDS-compatible neuroimaging packages.
This allows users to inject already-processed data directly into key intermediate points of the C-PAC pipeline.
In addition, clearer information on provenance of pipeline steps for multiple C-PAC strategies are also provided in BIDS-compatible JSON files for all output data.
The implementation of BIDS-Derivatives compatibility and its use flow regarding interoperability with other neuroimaging packages will continue to grow and adapt throughout later releases; stay tuned for changes and upgrades.
[https://bids-specification.readthedocs.io/en/latest/05-derivatives/01-introduction.html]
Freesurfer Integration for Surface-Based Processing. The C-PAC pipeline can now run Freesurfer to generate surfaces, and to produce brain masks or tissue segmentation masks for use in the voxel-based pipeline, if the user desires.
Note: Due to the size of the Freesurfer installation, a separate, smaller C-PAC container without Freesurfer is also available if users wish to bypass surface-based analysis.
New Features - Pipeline Harmonization
New BOLD Masking Option. A new anatomical brain mask-based BOLD masking option has been adapted from the ABCD pipeline of DCAN Labs.
New Frequency Filtering Option. AFNI 3dBandpass has been integrated as another option for frequency filtering of BOLD data during nuisance correction.
Improvements
Memory Usage Optimization. C-PAC’s memory usage estimates have been improved - this should reduce the occurrence of pipeline crashes caused by exceeding the memory limits of shared computing resources.
Cleaner Pipeline Configuration. The pipeline configuration YAML format has been upgraded to a cleaner, easier-to-read nested format.
Pipeline Configuration Importing. If configuring your pipeline directly through a YAML file, C-PAC’s pre-configured pipelines can now be imported into a YAML file. This allows users to specify only small segments of the pipeline they wish to change, when basing off of a default or pre-configured pipeline.
Developer Improvements
Modularized Pipeline Blocks. C-PAC’s workflow segments have been modularized for easier development and methods integration, and for easier testing.
Bug Fixes
An error sometimes preventing users from supplying custom nuisance regressors to C-PAC has been resolved.
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Version 1.7.2 Beta (Nov 10, 2020)¶
New Features
Anatomical-Based BOLD Masking. Adapted from the DCAN Labs implementation, a new BOLD masking option is now available. Users can select this method to produce a BOLD mask that is produced by transforming the anatomical brain mask to BOLD space.
Improvements
The motion estimate filter can now be forked, where the user can run a pipeline both with and without this processing step.
Template-to-native space transformations within the pipeline have been made more robust to possible mis-transformations that would sometimes occur when the template-space images did not have much anatomical contrast.
Error Fixes
The time series despiking step (performed by AFNI 3dDespike) is now able to be forked again.
An error preventing EPI field maps for blip-up/down distortion correction from being parsed into the data configuration when labeled with unconventional
dir-
tags has been fixed.
Coming Soon
Pipeline Dashboard
Surface-Based Processing
BIDS-Derivatives Compatibility
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Version 1.7.1 Beta (Sep 30, 2020)¶
New Features
ACPC Alignment. Anterior and Posterior Commissure (ACPC) alignment for anatomical preprocessing is now available. This technique may be beneficial for registration quality, primarily in non-human primate data.
Low-pass Filter for Motion Estimates. The ability to run a low-pass filter instead of a notch filter for motion estimate filtering is now available. This filter is adapted from the DCAN Labs filter described in this publication.
Improvements
Speed Increase. The transformation of functional time series data to template space is now parallelizable. Assign multiple CPUs per participant to enable this speed-up.
Motion Estimate Filter Configurability. The filter design of the motion estimate notch and low-pass filters can now be directly configured, if the user wishes to design these filters manually.
Composite Transform. C-PAC now outputs the composite transform from functional (BOLD) space to template space as one warp file. Users can use this file to easily transform their native-space BOLD data to template as needed (if necessary beyond the transforms to template space C-PAC already automatically performs).
Error Fixes
An error that would prevent users from running frequency bandpass filtering without any other nuisance regression strategies has been resolved.
Coming Soon
Pipeline Dashboard
Surface-Based Processing
BIDS-Derivatives Compatibility
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Version 1.7.0 Beta (Jul 23, 2020)¶
New Features
New Command Line Interface. The cpac pip-installable package is now available. This CLI allows you to use C-PAC from the command line without interacting via container-based (Docker, Singularity) CLI commands.
Anatomical Longitudinal Pipeline. C-PAC can now explicitly handle longitudinal data. The dedicated anatomical pipeline generates robust participant-specific templates that improve the registration of longitudinal data and increase reliability.
Prior-Based Segmentation. DCAN Labs ANTS prior-based tissue segmentation is now available. This approach is thought to be advantageous in the segmentation of the non-human primate brain.
Physiological Noise Filtering for Motion Estimates. Adapted from DCAN Labs, C-PAC can now apply a notch filter to mitigate respiratory artifacts that may present issues in motion estimation.
Tissue Mask Ingress. In an increase of pipeline flexibility, C-PAC can now intake pre-existing anatomical tissue masks if desired, bypassing tissue segmentation. This is particularly important for researchers using manual or manually edited segmentations.
Improvements
Pipeline speed increase: Motion correction using AFNI 3dvolreg can now be completed faster by dedicating multiple CPUs to each participant. This can provide a major speed increase in data with many TRs, as motion correction is often one of the processing time bottlenecks in a pipeline.
C-PAC now writes out smoothed functional time series, when spatial smoothing is chosen (previously smoothing was only applied to derivatives).
Documentation Improvements
The C-PAC User Guide now features versioned access! You can now view the user guide for any current or previous supported version (1.5+) of C-PAC.
Error Fixes
A memory error triggered by aCompCor DetrendPC in nuisance regression has been resolved.
An error that sometimes prevented the pipeline from starting when censoring was enabled has been resolved.
An error that would prevent data configuration generation from finishing if hidden files were in the data directory has been resolved.
The “SameFileError” crash has been resolved. This error did not have any impact, but it would cause many crash files to be generated.
Coming Soon
Pipeline Dashboard
Surface-Based Processing
BIDS-Derivatives Compatibility
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Version 1.6.2a Beta (Jun 25, 2020)¶
Error Fixes
Brain extraction in Singularity container: an error in the Singularity container with running AFNI 3dSkullStrip in the C-PAC pipeline (RuntimeError: Xvfb did not start) has been resolved. (https://github.com/FCP-INDI/C-PAC/issues/541, https://github.com/FCP-INDI/C-PAC/issues/1277)
Censoring during nuisance regression: an error where a pipeline crash would result when the motion threshold was too high and no frames were marked for censoring has been resolved. (https://github.com/FCP-INDI/C-PAC/issues/1256)
C-PAC Warm Restart: an error that would result when running C-PAC a second time with the same working directory (_csv.Error) has been resolved. (https://github.com/FCP-INDI/C-PAC/issues/1300, https://github.com/FCP-INDI/C-PAC/pull/1302)
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Version 1.6.2 Beta (Apr 17, 2020)¶
New Features
ANTs registration transformation levels and parameters are now fully customizable in the pipeline configuration.
Expanded Registration Forking Capability. C-PAC can now fork and simultaneously run both T1-template-based and EPI-template-based registration.
Expanded Motion Correction Options. FSL MCFLIRT is now available as a tool selection for motion estimation and correction, alongside AFNI 3dvolreg.
Improvements & Upgrades
C-PAC now runs on Python 3. During this transition, some underlying software packages, such as AFNI and ANTs, have been upgraded. Based on our release testing, performance is mostly unchanged. However, small changes can occur due to improvements made to the tools.
Motion estimation configurability. More motion estimation and correction parameters have been opened for configurability.
Increased memory efficiency and speed: C-PAC’s new default behavior for preparing time-series extraction is to realign the ROI atlases to the functional time series, instead of the other way around. This can be toggled back if desired. This change aims to cut down on memory limit errors that occur during execution with the combination of larger datasets and pipeline parallelization.
Increased speed: Redundant realignments of ROI atlases and the time series have also been removed.
The ingress of phase-difference field maps for distortion correction has been streamlined.
Error Fixes
In the QC Interface, some of the template underlays would default to the MNI152 template, even if the pipeline was configured to use a custom template. This has been resolved.
Resolved an issue that would prevent the pipeline from starting if ICA-AROMA and blip-up/down distortion correction were both enabled, for ANTs registration-based pipelines.
Resolved an issue that was preventing Neurodata ndmg-f connectome graphs from being completed in some cases.
Resolved the “Range parameter must be finite” QC image generation crash.
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Version 1.6.1a Beta (Mar 14, 2020)¶
FIXES
A hotfix has been made to correct an issue where a refined/processed version of the white matter segmentation mask was being sent to boundary-based functional-to-anatomical coregistration, instead of the raw white matter mask as intended.
An issue where group-level analyses weren’t pulling the required input data from the output directories of individual-level preprocessing runs has been fixed.
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Version 1.6.1 Beta (Feb 11, 2020)¶
NEW FEATURES
Pre-configured Pipeline Library. C-PAC can now be easily run with a growing selection of pre-configured pipelines with the –preconfig flag. See the updated User Documentation for the pipelines available.
Time Series De-spiking. C-PAC can now run AFNI 3dDespike at the beginning of functional preprocessing, if enabled. https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dDespike.html
Smooth to a Specific FWHM. C-PAC can now run AFNI BlurToFWHM as an option, alongside the original FSL-based smoothing option. https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dBlurToFWHM.html
IMPROVEMENTS
Temporal Filtering Configurability. The order in which temporal filtering is performed in the pipeline can now be toggled either before or after nuisance regression. If set to before, nuisance regressors are also filtered.
tCompCor Configurability. Users can now choose polynomial regression of the time series, as well as configure the degree of brain mask erosion for tCompCor nuisance regression.
BOLD Masking Configurability. The FSL-BET option for BOLD masking now has full access to configurable parameters.
CSF Regressor Configurability. Ventricle mask refinement of CSF masks for CSF-based nuisance regression can now be toggled.
More informative messages for when someone provides an incorrect AWS S3 link for input data.
FIXES
Anatomical in template space QC images are now displayed properly in the QC Interface.
The ‘scan’ and ‘selector’ buttons now work properly again in the QC Interface.
Translation and rotation motion plots are now labeled correctly.
A bug where the input data configuration would be formatted incorrectly when no BIDS directory JSON was present has been fixed.
The “start_idx” pipeline field, which allows users to select the first time point in the time series, now works properly again.
Fixed an error that would report a duplicate node name when running a FNIRT-based pipeline and ICA-AROMA at the same time.
In addition, the C-PAC Docker and Singularity images, as well as the AWS AMI, have all been updated. These provide a quick way to get started.
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
C-PAC v1.6.0 (Jan 3, 2020)¶
NEW FEATURES
Anatomical-Refined BOLD Mask Generation. A new method for creating the BOLD mask is available, which uses the T1 brain mask to refine the boundaries of the generated BOLD mask.
Carpet plots. The Quality Control interface now includes carpet plots, which are useful for rapid visual inspection for motion and other artifacts.
NEW FEATURES - Options that enhance reproducibility with fMRIPrep
Cosine Filtering for CompCor. Users can now configure nuisance correction to perform cosine filtering on the time series data prior to CompCor calculation.
Motion Estimation Before Slice Timing Correction. Users now have the option to calculate motion parameter estimation before slice timing correction, with actual motion correction still occurring after slice timing correction. The motion parameters go on to be used in nuisance regression and statistics reporting.
N4 Correction for EPI. Users can now apply N4 Bias correction to the mean EPI image. This may help enhance coregistration quality.
NEW FEATURES - Options that facilitate nonhuman data processing
EPI-Based Registration. Users can now register their BOLD data directly to an EPI template, foregoing structural-to-template registration, if desired.
Template-Based Segmentation. Optimal for use with functional-only pipelines commonly used for rodent data, users can now employ a template-based tissue segmentation approach that applies inverse registration transforms to template-space tissue priors.
Rodent Data compatibility. The pipeline now has an option to size-scale rodent brains to a larger size as an initial preprocessing step to prepare rodent data for processing tools.
U-Net Brain Extraction Model. U-Net is a Fully Convolutional Network (FCN) that does image segmentation. Users can now select this option for brain extraction, especially optimal for non-human primate data.
IMPROVEMENTS
Dramatically reducing working directory size. When running aCompCor: the space requirements of the working directory has been reduced to a sustainable size. A change in the previous version resulted in too-large intermediate files for aCompCor calculation.
Some redundancies in the pipeline during time series extraction have been removed, and the pipeline now consumes less memory and disk space during processing.
BUG FIXES - Quality Control Interface
The Quality Control interface is fully functional once again. We apologize for the instability in recent versions, in which QC images and metrics would be generated, but the HTML portal would not generate properly.
Version v1.5.0 Beta - 2019.10.09¶
NEW FEATURES - GENERAL
Phase-Encoding Polarity Distortion Correction (Blip-Up / Blip-Down). A new option for distortion correction is available! Phase-Encoding Polarity (commonly known as blip-up/blip-down) employs phase-encoding direction-specific EPI field maps to correct for distortion in the direction of the phase-encoding.
N4 Bias Field Correction. The ability to run N4 Bias Field Correction in the anatomical preprocessing pipeline has been added, via ANTs’ N4BiasFieldCorrection.
[http://stnava.github.io/ANTs/]
[http://manpages.ubuntu.com/manpages/trusty/man1/N4BiasFieldCorrection.1.html]
Non-Local Means (NLM) filtering. NLM has been integrated into the anatomical preprocessing pipeline, via ANTs DenoiseImage.
[http://stnava.github.io/ANTs/]
[https://manpages.debian.org/experimental/ants/DenoiseImage.1.en.html]
Increased Configurability of Output Resolution. Users can now select write-out resolutions with a finer granularity of values, also allowing for native voxel dimension write-outs.
Increased Interpolation Configurability. Introduced the ability to select a full range of interpolation options for transform application and resampling. LanczosWindowedSinc has been set as the new default for ANTs operations and Sinc for FSL operations.
PyPEER Integration. C-PAC can now prepare your pipeline results directly for Predictive Eye Estimation. PEER is a previously developed support vector regression-based method for retrospectively estimating eye gaze from the fMRI signal in the eye’s orbit.
[https://github.com/ChildMindInstitute/PyPEER]
Evaluating fMRI-Based Estimation of Eye Gaze during Naturalistic Viewing. Jake Son, Lei Ai, Ryan Lim, Ting Xu, Stanley Colcombe, Alexandre Rosa Franco, Jessica Cloud, Stephen LaConte, Jonathan Lisinski, Arno Klein, R. Cameron Craddock, Michael Milham. https://doi.org/10.1101/347765
[https://www.biorxiv.org/content/10.1101/347765v5]
NEW FEATURES - CROSS-PIPELINE REPRODUCIBILITY
Several new preprocessing features have been added to C-PAC’s pipeline choices, in an ongoing effort to incrementally expand C-PAC’s configurability. These methods have been adapted from the niworkflows and fmriprep packages (see appropriate links below).
New BOLD Masking option. A BOLD masking strategy designed by the fmriprep team is now available. The method employs both BET and 3dAutomask for refined BOLD masks. See the User Guide for more information.
[https://fmriprep.readthedocs.io/en/stable/]
[https://fmriprep.readthedocs.io/en/stable/workflows.html#bold-preprocessing]
ANTs Brain Extraction. ANTs Brain extraction has now been integrated as an option for brain extraction. Implementation by the fmriprep team. See the User Guide for more information.
[http://stnava.github.io/ANTs/]
[https://github.com/ANTsX/ANTs/blob/master/Scripts/antsBrainExtraction.sh]
[https://fmriprep.readthedocs.io/en/stable/]
[https://fmriprep.readthedocs.io/en/stable/workflows.html#bold-preprocessing]
Increased Segmentation Configurability. Thresholding options have returned, and new erosion options for anatomical segmentation have been introduced. The erosion implementation was adapted from fmriprep.
[https://fmriprep.readthedocs.io/en/stable/]
IMPROVEMENTS
Added a selection of Neurodata’s Neuroparc atlases to the C-PAC container, and C-PAC now also performs time-series extraction on these atlases by default (in addition to the original defaults).
[https://github.com/neurodata/neuroparc]
Improved parallelization for ISC and ISFC runs.
Users can now employ the -monkey option for AFNI 3dSkullStrip for brain extraction, for non-human primate data.
BUG FIXES
Fixed an issue where BIDS-format slice timing information was not being read into 3dTshift properly in some cases.
Fixed an error preventing Seed-Based Correlation Analysis from running to completion.
Fixed an error that would cause the pipeline to crash at the smoothing stage if the write-out resolution for functional preprocessed data and the resolution for functional-derived data were different.
Fixed an issue that would prevent output files from being written to the output directory if nuisance regression was disabled.
Fixed an issue where ISC and ISFC would not write out the results to the output directory.
Version 1.4.3 Beta - 2019.05.24¶
NEW FEATURES
Quasi-Periodic Pattern (QPP) template generation. QPPs are spatial patterns of dynamic connectivity that may be useful in illustrating differences present in neurological or psychiatric disorders. C-PAC can now easily calculate a QPP template derived from a set of functional data.
Spatiotemporal dynamics of low frequency BOLD fluctuations in rats and humans. Majeed W, Magnuson M, Hasenkamp W, Schwarb H, Schumacher EH, Barsalou L, Keilholz SD. Neuroimage. 2011 Jan 15;54(2):1140-50.
Quasi-periodic patterns (QPP): large-scale dynamics in resting state fMRI that correlate with local infraslow electrical activity. Thompson GJ, Pan WJ, Magnuson ME, Jaeger D, Keilholz SD. Neuroimage. 2014 Jan 1;84:1018-31.
Quasi-periodic patterns of intrinsic brain activity in individuals and their relationship to global signal. Yousefi B, Shin J, Schumacher EH, Keilholz SD. Neuroimage. 2018 Feb 15;167:297-308.
Custom regressors for nuisance regression. Users can now provide custom regressors to C-PAC’s nuisance regression suite. This could allow a user to regress out any time series from the data, such as physiological noise regressors, task regressors, or QPP time series prior to individual-level analysis. Refer to the updated User Guide for more information.
Lesion masking for anatomical registration. For ANTs registration pipelines, users can now provide a lesion mask to improve anatomical registration quality in participant data containing lesions. Refer to the updated User Guide for more information. [http://stnava.github.io/ANTs/]
ERROR FIXES
Fixed a bug where the working directory would not be deleted (when configured to do so) if the pipeline did not complete successfully.
Fixed a bug where, in some cases, working directory settings in a custom pipeline would be over-ridden by defaults.
COMING SOON (v1.4.4/v1.5.0 - Summer 2019)
New Group-Level Model Builder GUI
Predictive Eye Estimation Regression (PEER)
Non-human primate pipeline optimization
Easy integration & analysis of other preprocessing pipeline results
Version 1.4.2 Beta - 2019.04.29¶
ERROR FIXES
Fixed a bug where ICA AROMA was not being forked correctly, possibly overriding previous preprocessing.
Version 1.4.1 Beta - 2019.03.13¶
NEW FEATURES
36-Parameter Confound Regression Model. A new nuisance regression option has been introduced into C-PAC for confound regression using whole-brain motion parameters.
Satterthwaite TD, Elliott MA, Gerraty RT, et al. An improved framework for confound regression and filtering for control of motion artifact in the preprocessing of resting-state functional connectivity data. Neuroimage. 2012;64:240-56. (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3811142/)
tCompCor: Temporal Standard Deviation Noise ROI Component-Based Noise Correction. tCompCor has also been introduced into C-PAC as a nuisance regression option, for the removal of physiological noise from the functional time series.
Yashar Behzadi, Khaled Restom, Joy Liau, Thomas T. Liu. A component based noise correction method (CompCor) for BOLD and perfusion based fMRI. Neuroimage. 2007;37(1):90-101. (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2214855/)
Linear anatomical registration. You can now run linear-only registration-to-template using FSL FLIRT. This allows a much faster processing time for when very high-quality nonlinear anatomical registration is not as important for your analysis.
(https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FLIRT/UserGuide)
ndmg Mode. With ndmg-mode enabled, C-PAC runs a leaner preprocessing pipeline and produces connectome graphs using the pipeline configuration originally selected by the ndmg team and Neurodata’s pre-selected collection of atlases.
(https://neurodata.io/mri-cloud/)
IMPROVEMENTS
Nuisance Regression Expansion. Along with the new addition of the 36-parameter motion model and tCompCor, the already-existing nuisance regression options have been expanded to include greater degrees of configurability. Refer to our updated User Guide for more details.
ERROR FIXES
Fixed an error where C-PAC would not write outputs to an AWS S3 bucket when configured to do so.
Fixed the “thresh_and_sum” error in the Singularity container that would cause the workflow run to fail.
COMING SOON (v1.4.2 & v1.5.0 - Spring 2019)
Quasi-Periodic Patterns (QPP) template generation and regression
New Group-Level Model Builder GUI
Predictive Eye Estimation Regression (PEER)
Non-human primate pipeline optimization
Easy integration & analysis of other preprocessing pipeline results
Version 1.4.0 Beta - 2019.02.04¶
Ease of Use
Quick Start Guide. By pulling our Docker or Singularity container, you can kick off C-PAC with your dataset in minutes, without any prior package or library installations other than Docker or Singularity. More info available on our User Guide.
New Features
TURNKEY MODE. For users who prefer not to make decisions regarding their pipeline, C-PAC now includes a pre-configured default pipeline that includes the most commonly used decisions. The pre-configured pipeline selections are described in the Quick-start guide under “Running Turnkey Mode”.
Nonparametric Permutation Inference. FMRIB’s FSL Randomise has been integrated into C-PAC’s suite of group-level analyses. You can use the already-existing FSL group-level presets or the group model builder to specify your model.
Improvements
Early Access to the new C-PAC GUI. The first part of C-PAC’s new graphical user interface (GUI) for generating and editing custom pipelines is available! All are encouraged to take a quick test-drive of the pipeline builder and let us know your thoughts. All feedback welcome on our forum.
Group Model-Building Modularity. As part of an ongoing process of improving usability, C-PAC’s group-level analysis model builder now offers more control over your model design. It is now easier to review changes to your design matrix before specifying contrasts.
Error Fixes
An error preventing users from running only anatomical preprocessing has been fixed.
An error in the Unpaired Two-Group Difference preset of the FSL Group Model Presets, which was causing certain covariate labels to occasionally be formatted improperly, has been fixed.
Coming Soon (Release 1.5 early 2019)
More denoising options
Quasi-periodic pattern (QPP) identification
New Graphical User Interface (GUI) Upgrade
Further modularity & usability improvements
Version 1.3.0.post2 Beta (May 14, 2024)¶
C-PAC v1.3.0 with the following updates:
#844 resolved (666040a, d8ce36d644a43c5a4a23565ce26a152e461eb21c)
bids-validator
installation repaired (bcabb154f8ab995ce30072f94237472c4505ce9b)
Version 1.3.0 Beta - 2018.10.08¶
New Features
Bootstrap Analysis for Stable Clusters (BASC)
Inter-subject Correlation (ISC)
Independent Components Analysis (ICA)-based Denoising
More FSL Group-Level Analysis presets
Connectome matrix computation
Version 1.2.0 Beta - 2018.08.10¶
New Features
Multivariate Distance Matrix Regression (MDMR). Exploratory, connectome-wide group-level analysis that allows researchers to explore relationships between patterns of functional connectivity and phenotypic variables. Compared to traditional univariate techniques which require rigorous correction for multiple comparisons, this multivariate approach significantly reduces the number of connectivity-phenotype comparisons needed for connectome-wide associations studies. See: A multivariate distance-based analytic framework for connectome-wide association studies.
Improvements
Improved Command-Line Interface. C-PAC is now much easier to use through the command-line interface using the “cpac” CLI tool. Users can kick off individual and group-level analyses using a nested menu, generate new pipeline and data configuration files, and set up FSL FEAT model presets, all without using the Graphical User Interface. More details available here.
Increased Skull-Stripping Configurability. You can now modify the full range of parameters for both AFNI’s 3dSkullStrip and FSL’s BET for anatomical skull-stripping during preprocessing.
Default pipeline configuration. For those who don’t want the options, C-PAC can run as a turnkey system using parameter selections recommended by our team. More details available here.
Group-level Analysis Usability. Group-level analyses now also accept tab-separated (.tsv) files for phenotypic information. This allows users to seamlessly pull in the participants.tsv files which often accompany BIDS datasets.
Error Fixes
An error in v1.1.0 that was causing the QC pages to crash on SNR image generation in some pipeline runs has been fixed.
Coming Soon (Release 1.3 early Fall)
Bootstrap Analysis for Stable Clusters (BASC)
Inter-subject Correlation (ISC)
Independent Components Analysis (ICA)-based Denoising
More FSL Group-Level Analysis presets
Supervised learning
Version 1.1.0 Beta - 2018.05.15¶
New Features
The Visual Data Quality Control Interface is back! The QC interface provides HTML pages for each participant, scan, and preprocessing strategy featuring montage images of various preprocessing, analysis, and head motion images, graphs, and histograms. You can use these for a quick glance of your results.
FSL FEAT Group-Level Analysis Presets. A new addition to C-PAC’s group-level analysis model builder that allows you to setup group-level models specified in the FSL User Guide with little effort. The preset generator allows you to select from a few commonly-used FEAT model configurations. The first six model types are in and more to come! More details here.
Automated Anatomical Scan Selection (for Multisession datasets). If using a dataset that features multiple anatomical/structural scans per participant, you can now configure the data configuration builder to automatically select which anatomical file to use in your pre-processing run. More details here.
Improvements
Leaner and Cleaner Output Directories. The layout of the output directory has been made cleaner and easier to navigate. Many of the usual outputs written to the output directory by default are now optional, saving disk space as well. There are new options in the pipeline configuration enabling you to select which additional outputs should be included in the output directory. Again, see the User Guide for more information on this change.
General Remarks
The data configuration YAML file format has been modified to feature deeper nesting of functional-related files (such as scan parameter files or field map files). Note, data configuration files from versions prior to v1.1.0 will not work with C-PAC v1.1.0 or later - you can use any already-existing data settings YAML files to regenerate these. See the User Guide for more information, or feel free to contact us if any assistance is needed. More details here.
Error Fixes
The z-stat output files of group-level analysis are now labeled after the contrast names provided by the user during the group model creation process.
Coming Soon (Releases 1.2 and 1.3 this summer)
Multivariate Distance Matrix Regression (MDMR)
Bootstrap Analysis for Stable Cluster (BASC)
More FSL Group-Level Analysis presets
Expanded range of skull stripping options
Expanded nuisance regression options
Version 1.0.3 Beta - 2018.01.26¶
General Remarks
The Subject/Participant list YAML file has been renamed the “Data Configuration” file. What used to be named the “data config”, which contains the presets used to generate the participant list, has been renamed the “Data Settings” file. This also makes the main CPAC interface consistent with the CPAC BIDS-App. See the User Guide section about building a data configuration file for more information.
New Features
Field map distortion correction via FSL FUGUE has been introduced as a pre-processing option. Users can provide the phase difference and magnitude files required to generate the field map (if applicable) through the data configuration (participant list) builder. See the User Guide section about distortion correction for more information.
A new script called cpac_data_config_setup.py has been introduced, which allows users to quickly and easily create a data settings template for modification, and then use this data settings file to generate their data configuration. This script does the same thing that the data configuration builder GUI does, except without needing to be able to open the GUI (for example, when SSHing into a server). Information on its usage is available here.
When building your data configuration (participant list), input data can now be filtered by site, session, and series.
For building your data configuration (participant list), support for BIDS-protocol scan parameter reading from JSON files has been introduced.
Logging can now be disabled by entering “run_logging: False” in your pipeline configuration YAML file.
Improvements
The layout and naming of fields in the data configuration builder GUI are now clearer.
More informative status messages have been introduced detailing the data configuration building process (progress, amount of input data found, etc.).
Data configuration files (participant lists) are now ordered by site, and then participant ID, for easier searching and navigation when manually viewing or editing the YAML file.
Error Fixes
The bug in the group-level analysis model builder GUI reported earlier, where the ordering of the contrasts in the contrast matrix provided to FSL FLAME did not always match the order in which they were specified in the group model builder GUI, has been fixed.
An error introduced in v1.0.2 that was causing the CompCor nuisance regression strategy to not run even if it was selected in some cases, has been fixed.
When generating a data configuration file (participant list), a bug sometimes causing some scans to not be included in a participant entry has been fixed.
Fixed a bug where sometimes de-spiking could cause a crash if no volumes are marked for excessive motion.
The formatting of the motion parameters CSV file has been fixed.
Version 1.0.2 Beta - 2017.11.03¶
CPAC now offers De-Spiking as an option in nuisance regression, which regresses out the impact of motion-induced artifacts from the functional timeseries from volumes exhibiting motion greater than a specified threshold, without removing those volumes.
Users can now select which Framewise Displacement (FD) calculation to use (Jenkinson’s or Power’s) when applying the motion threshold for either Scrubbing or De-Spiking.
Scrubbing has been moved to the Nuisance Regression tab in the GUI’s pipeline configuration editor. The pipeline configuration YAML keys have changed for scrubbing settings. See the User Guide Nuisance Regression page and the sample pipeline configuration file for more details.
Re-introduced the ability to stop pipeline runs easily from the GUI.
Fixed a bug in the data configuration (subject list) builder that would cause non-NIfTI files to be included if the user did not explicitly define the file extension in the file template.
Fixed a bug in the data configuration (subject list) builder where some fields would not get populated when re-loading the settings in the GUI.
Added better error-catching and messages in nuisance regression which warn the user if nuisance parameters are too stringent for the regression to complete properly.
Version 1.0.1b Beta - 2017.09.07¶
CPAC is now compatible with Nipype version 0.13.
AWS S3 bucket support for BIDS data format participant list builder.
The pipeline configuration editor’s “Test Configuration” feature now works with participant lists that contain AWS S3 paths.
The cpac_install.sh and cpac_setup.py scripts have been fixed to be compatible with recent changes.
Fixed a bug in the group-level analysis model builder that would prevent the user from running group analysis on outputs from Seed-Based Correlation Analysis.
Fixed a bug in the group-level analysis pipeline where AFNI 3ddot would fail when performing a check on the merged 4D derivative file.
Fixed an issue where crash files would be generated at the beginning of the pipeline for the ‘check_for_s3’ nodes even when not pulling data from an S3 bucket.
Added more checks for file permissions and scan names at the beginning of the pipeline run.
Version 1.0.1 Beta (Dec 5, 2016)¶
The updates to CPAC in this new version include:
Nipype and CPAC have been updated to use a resource aware scheduler that incorporates information about the amount of memory and cores currently available when choosing a pipeline step to run. This should maximize running different pipeline steps in parallel while reducing the occurrence of out-of-memory errors and system lock-ups.
CPAC now calculates network centrality derivatives using the new 3dDegreeCentrality, 3dECM, and 3dLFCD AFNI tools implemented by our developers. These implementations are optimized to minimize the memory requirements while speeding up computation time. If you have an already-existing installation of AFNI that does not have these newer tools, you can update your installation by running “@update.afni.binaries” from your AFNI installation directory.
Group-level analysis has been over-hauled to make it run more quickly, handle repeated measures, make entering contrasts more intuitive, and improve transparency in to the model generation process.
The BIDS data format is now supported and the participant list builder can generate a participant list given a BIDS base directory.
CPAC inputs can now be directly downloaded from (and outputs can be directly uploaded to) AWS S3 cloud storage.
For the subject list generated, we replaced the confusing “%s” identifiers in file path templates with {participant}, {site}, {session} to make generating these templates more user friendly. These identifiers are also more flexible, allowing you to combine them with substrings or include multiples, allowing for greater freedom in custom input data directory formats.
The GUI has been reorganized to simplify pipeline configuration, and specifically to improve handling of nuisance correction strategies and specifying ROIs for time series extraction and seed correlation analysis.
SLURM cluster resource scheduler compatibility added.
The output resolution in MNI space for statistical derivatives (e.g., ReHo, DC, etc) and 4D preprocessed functional data can be specified separately. The user can now also decide not to write the 4D preprocessed data into MNI space. Both of these steps can significantly reduce memory and disk space requirements.
Functional nuisance regressors data now included in the output.
Updated user documentation for this release can be found here: http://fcp-indi.github.io/docs/user/index.html
And as always, you can contact us here for user support and discussion: https://groups.google.com/forum/#!forum/cpax_forum
Regards, The CPAC development team.
Version 1.0.1 Beta - 2016.12.09¶
Participant list builder fixes:
The {participant}, {session}, etc. tags once again work properly, and are now more flexible for custom filepath formats. For example, multiple tags on one directory level, combinations of tags and custom string prefixes/suffixes, and multiple instances of the same tag in one path template are now all supported.
When providing a participant inclusion list (under Subjects to Include) and a site inclusion list (under Sites to Include) at the same time, the builder used to ignore the Sites to Include input. This is no longer the case and will generate an intersection of the Sites and Participant inclusion lists provided.
Including a scan parameters CSV containing information for multiple sites during participant list generation will no longer include scan parameters for sites not included in your data.
Addition of informative messages while constructing the participant list- will warn the user when a participant included in Subjects to Include does not exist or could not be found in the data, and will list these missing participant IDs.
When the input data does not have a session level, the participant list builder will now provide the default session “ses-1” instead of requiring a session level to be included. This is the case for both BIDS and custom data formats.
Installation script updates:
Now more robust to package name differences between different versions of Ubuntu.
Now uses the Neurodebian ants package for all versions of Ubuntu except for 14.04.
Compiles libxp for Ubuntu >= 16.04 for AFNI.
Other updates:
The nuisance regressors are now written out to a 1D file found under “functional_nuisance_regressors” in the output directory.
Fixed a bug where locally-stored input files would potentially deleted if the user would use the “Test Configuration” feature with a participant list that contained both S3 links and local filepath file templates.
A few redundant and unnecessary directories in the individual-level analysis output directory have been removed. These were re-writes of the ANTS-based anatomical registration warp files.
The pipeline configuration file editor now includes the CPAC version number in the configuration YAML file.
More informative error messages for when there is a problem in the pipeline configuration, such as the presence of unreferenced variable names in file paths.
Version 1.0.0 Beta - 2016.11.03¶
CPAC now calculates network centrality derivatives using the new 3dDegreeCentrality, 3dEigenvectorCentrality, and 3dLFCD AFNI tools implemented by our developers. These implementations are optimized to minimize the memory requirements while speeding up computation time. If you have an already#.existing installation of AFNI that does not have these newer tools, you can update your installation by running “@update.afni.binaries” from your AFNI installation directory.
CPAC inputs can now be directly downloaded from and outputs can be directly uploaded to AWS S3 cloud storage.
SLURM cluster resource scheduler compatibility added.
We removed user specified segmentation thresholds from the segmentation workflow and instead rely on the default thresholds used by FSL’s FAST tool. This removes the issue of choosing an appropriate threshold, which would previously result in no WM or CSF signals for nuisance correction.
The GUI has been reorganized to simplify pipeline configuration, and specifically to improve handling of nuisance correction strategies and specifying ROIs for time series extraction and seed correlation analysis.
Group-level analysis has been over-hauled to make it run more quickly, handle repeated measures, make entering contrasts more intuitive, and improve transparency in to the model generation process.
Nipype and CPAC have been updated to use a resource aware scheduler that incorporates information about the amount of memory and cores currently available when choosing a pipeline step to run. This should maximize running different pipeline steps in parallel while reducing the occurrence of out-of-memory errors and system lock-ups.
The output resolution in MNI space for statistical derivatives (e.g., ReHo, DC, etc) and 4D preprocessed functional data can be specified separately. The user can now also decide not to write the 4D preprocessed data into MNI space. Both of these steps can significantly reduce memory and disk space requirements.
Improved logging.
Column names of ROI time series files and file names for SCA outputs are now based on the unique identifier used for the ROI in the corresponding atlas, making it easier to relate the files back to the ROIs.
For the subject list generated, we replaced the confusing “%s” identifiers in file path templates with {participant}, {site}, {session} to make generating these templates more user friendly.
Added support for BIDS file structure.
Version 0.3.9 Alpha (Apr 02, 2015)¶
Please consult the User Guide for a full description of the new features and changes.
Major group analysis model builder upgrades:
F-tests are now fully integrated into the new model builder GUI.
Users can now provide their own custom, hand-coded contrasts matrix if they do not wish to use the model builder’s contrast dialog.
The “mean of measure” regressor option can now be calculated using a specified mask, in addition to the option of using an automatically created mask for each individual.
A custom ROI mask file can now be provided with one or more ROIs - the mean of these ROIs will then be calculated and included as regressors in the model. This will enable for example, including seperate regressors for white matter and CSF.
The statistical derivatives to be analyzed can now be specified for each group model, allowing the user more flexibility for using different group models (i.e. include different nuisance regressors) for different derivatives.
Better error checking and more informative error and warning messages have been added.
For a tutorial presentation on how to use CPAC’s group-level analysis model builder, click here.
New AWS functionality, which contain utilities for interacting with Amazon Web Services’ S3 storage service, including upload, download, renaming files. Additionally, it provides some tools for local file MD5 sums and AWS credentials fetching.
Scrubbing now works properly.
Pipeline speed-ups gained by ensuring ANTS-based symmetric anatomical registration only runs when necessary.
Moved to Jenkinson’s Mean Framewise Displacement (Mean FD) calculation for MeanFD-related measures.
Made the output file structure for SCA outputs more clear.
Changed the working directory structure for group analysis so that it is more clear.
Fixed a bug where the skull-stripped brain was actually being used when the user selected to calculate the ANTS anatomical-to-template registration with the skull on.
Fixed a bug in group analysis where not all of the selected derivatives would run in some cases.
Fixed a bug where the pipeline would crash if the segmentation thresholds were set too high. This will now result in a easy to understand error message.
Fixed a bug where the cluster size for ReHo would not be properly saved in the pipeline configuration file.
Updated the ANTS registration workflow to work with newer versions of ANTs and ITK.
Fixed a bug where CPAC group-level analysis would not run on a single cluster node, even with “Run CPAC on a Cluster/Grid” turned off.
Introduced more checks and error messages for improper subject-list formatting and inputs.
Introduced checks to determine whether the user has the required software packages installed before starting a pipeline run.
Fixed some bugs where users would run into obstacles when trying to run CPAC on certain installations.
Fixed a bug where AFNI outputs would be written out in the wrong format resulting in a CPAC crash.
Along with the updates to the code, we have made many much needed updates to the user and developer documentation. We have also updated the cpac_resources.tar.gz file to include the missing templates for 1mm registration.
Version 0.3.9 Alpha - 2015.04.02¶
Major group analysis model builder upgrades:
F-tests are now fully integrated into the new model builder GUI.
Users can now provide their own custom, hand-coded contrasts matrix if they do not wish to use the model builder’s contrast dialog.
The “mean of measure” regressor option can now be calculated using a specified mask, in addition to the option of using an automatically created mask for each individual.
A custom ROI mask file can now be provided with one or more ROIs - the mean of these ROIs will then be calculated and included as regressors in the model. This will enable for example, including seperate regressors for white matter and CSF.
The statistical derivatives to be analyzed can now be specified for each group model, allowing the user more flexibility for using different group models (i.e. include different nuisance regressors) for different derivatives.
Better error checking and more informative error and warning messages have been added.
New AWS functionality, which contain utilities for interacting with Amazon Web Services’ S3 storage service, including upload, download, renaming files. Additionally, it provides some tools for local file MD5 sums and AWS credentials fetching.
Scrubbing now works properly.
Pipeline speed-ups gained by ensuring ANTS-based symmetric anatomical registration only runs when necessary.
Moved to Jenkinson’s Mean Framewise Displacement (Mean FD) calculation for MeanFD-related measures.
Made the output file structure for SCA outputs more clear.
Changed the working directory structure for group analysis so that it is more clear.
Fixed a bug where the skull-stripped brain was actually being used when the user selected to calculate the ANTS anatomical-to-template registration with the skull on.
Fixed a bug in group analysis where not all of the selected derivatives would run in some cases.
Fixed a bug where the pipeline would crash if the segmentation thresholds were set too high. This will now result in a easy to understand error message.
Fixed a bug where the cluster size for ReHo would not be properly saved in the pipeline configuration file.
Updated the ANTS registration workflow to work with newer versions of ANTs and ITK.
Fixed a bug where CPAC group-level analysis would not run on a single cluster node, even with “Run CPAC on a Cluster/Grid” turned off.
Introduced more checks and error messages for improper subject-list formatting and inputs.
Introduced checks to determine whether the user has the required software packages installed before starting a pipeline run.
Fixed some bugs where users would run into obstacles when trying to run CPAC on certain installations.
Fixed a bug where AFNI outputs would be written out in the wrong format resulting in a CPAC crash.
Version 0.3.8.1 Alpha (Jan 24, 2015)¶
Release for archiving.
Version 0.3.8 Alpha - 2014.12.10¶
Fixed a bug in which ANTS registration transforms were applied in the wrong order.
“Treatment” coding has been enabled as an option in the Group Analysis Model Builder.
Resolved several errors effecting warping Dual Regression outputs to standard space.
SCA correlation maps now written out into 4D file instead of being stored into a 5D file (with the 4-dimension being a singleton).
Fixed a bug in compCor nuisance regression in which WM and CSF time-series were not variance normalized, as implemented by the original paper.
Updated the cpac_run.py script available in the scripts directory in order to reflect changes in how CPAC is run, update documentation, and enable users to invoke custom installs of Nipype and CPAC.
- Several GUI error fixes and improvements:
Introduced more descriptive error messages if the subject list is formatted or entered incorrectly.
Fixed an issue with input checking in the pipeline configuration editor.
Fixed an issue where saving an edited pipeline configuration file would require the user to re-load the file onto the pipeline list.
Developer tools: Created a unit test created for the Network Centrality workflow.
Instructions for Updating to 0.3.8¶
Download and install the Nipype version 0.10.0, tested to work with CPAC 0.3.8, from Github.
Download the new version from Github or the CPAC homepage.
Replace the old CPAC directory with the new files and then run
sudo python setup.py install
.
Version 0.3.7 Alpha - 2014.10.29¶
CPAC 0.3.7 has been migrated to a newer version of Nipype, version 0.10.0. Upgrade instructions are found below.
ANTS anatomical registration now calculates and applies an additional transform which makes registration more robust to certain input images that may have had registration difficulties otherwise.
Users can now set a custom number of cores to dedicate to anatomical registration when using ANTS, enabling faster registration speeds (just be careful not to assign more than you have!).
Group analysis no longer requires symbolic links to be generated in order to run.
Fixed the Network Centrality RAM shortage bug and improved stability of the Network Centrality code.
Network Centrality now produces smoothed non-z-score-standardized outputs.
Bug fixes concerning the GUI and pipeline configuration editor, including an issue where input file paths were checked in the pipeline configuration editor even when the associated workflows were turned off.
Instructions for Updating to 0.3.7¶
Download and install the Nipype version 0.10.0, tested to work with CPAC 0.3.7, from Github.
Download the new version from Github or the CPAC homepage.
Replace the old CPAC directory with the new files and then run
sudo python setup.py install
.
Version 0.3.6 Alpha - 2014.10.08¶
Including EV interactions in group analysis model design is now possible in the CPAC group analysis model builder. Refer to the Patsy documentation for more information on interactions and how to encode them: https://patsy.readthedocs.org/en/latest/formulas.html#the-formula-language
Introduced the option to run ANTS anatomical registration using an input image with the skull on.
Users can now provide CPAC with input anatomical images that have already been skull-stripped.
More flexible slice-timing correction configuration.
z-score standardization and Fisher z-score standardization now take place after registration to template and smoothing, and naming conventions for z-score standardized outputs in the output directory are now more clear.
Dual regression now also outputs anatomically registered and smoothed outputs as files in addition to the regular “stack” (one file with each map included as a volume).
Assorted improvements to error messages and reporting.
Instructions for Updating to 0.3.6¶
Download the new version from Github or the CPAC homepage.
Replace the old CPAC directory with the new files and then run
sudo python setup.py install
.
Version 0.3.5 Alpha - 2014.09.22¶
Upgraded to the newer version of ANTS for anatomical and functional registration, introducing the new tools available and making the installation process more straightforward.
- New group analysis model builder:
New user-friendly GUI for setting up your group-level analysis model, with an easier interface for configuring your EVs.
Design matrices are now generated using the Patsy software package; you can specify your model with a design formula.
The ability to include the mean of your output as a regressor has been introduced (mean regression).
New interface for specifying contrasts using simple operators (EV1a > EV1b, etc.).
Users can now specify a separate output directory for group analysis, so several runs can be completed without having to move previous group-level analysis runs into backup folders.
Improved memory usage during network centrality with sparsity thresholding.
Allowed users to provide their own lateral ventricles mask for CSF nuisance regression and corrected a source of inflexibility regarding how CPAC extracts signal from the ventricles.
Resolved an issue where functional images and derivatives would be written into a resolution other than what the user specified, an issue where f/ALFF outputs would be written into data types more space-consuming than necessary, an issue with an incorrect registration in nuisance correction, and assorted other bug fixes and improved error messages.
Several GUI improvements to user-friendliness in the pipeline configuration editor.
View a complete guide to the new model builder at the Group Analysis page of our User Guide.
Instructions for Updating to 0.3.5¶
Download and install the new custom version of Nipype designed to work with CPAC 0.3.5 from Github.
Upgrade your ANTS installation to the newest version - instructions available on the installation page of the CPAC User Guide.
Re-download the CPAC Image Resources to ensure you have the new binarized lateral ventricle masks required for CSF nuisance regression, available here, and follow the instructions available in the User Guide under the section called “Install CPAC Image Resources”.
Version 0.3.4 Alpha - 2014.04.08¶
Added local Functional Connectivity Density (lFCD) measure to the Network Centrality options.
Added the ability to specify different centrality parameters for each of the measures (degree, eigenvector, lFCD).
Group-level analysis is now able to be run in parallel - simply set the amount of processors you wish to dedicate in the Group
Analysis tab in the pipeline editor window under ‘Number of Models to Run Simultaneously’.
The processing run timing feature is now more polished- look for a cpac_individual_timing_{pipeline name}.csv or cpac_group_timing_{pipeline name}.csv file in your output directory for a breakdown and comparison of information and run times from separate runs.
Introduced the option to turn on/off Z-score standardization of outputs - this can be found within the ‘Derivatives Settings’ tab in the pipeline editor.
GUI fixes and improvements, including errors involving naming the pipeline yaml file and the removal of redundant options.
Group level analysis models no longer overwrite each other within the working directory - all subcategories, ROIs, etc. retain their intermediary files for re-runs.
The ‘Test Configuration’ feature in the pipeline editor is now more robust.
ANTS anatomical registration no longer takes up more processors than has been assigned by the user.
Speed improvements for centrality functions, including new C-based code.
Setting the memory limit for centrality will now work appropriately. Number of voxels to compute connectivity maps for at once will be set to be equal to the memory limit.
Improved unit testing for dual regression, TSE and SCA
TSE can now handle masks and ROIs with floating point values
Pipeline config files with a leading number in their CPAC pipeline name will now load into the GUI properly
Instructions for Updating to 0.3.4¶
Download the new version from Github or the CPAC homepage.
If you do not have Cython installed already, follow the instructions here.
Replace the old CPAC directory with the new files and then run
sudo python setup.py install
.
Version 0.3.3 Alpha - 2013.12.31¶
CPAC is now compatible with Nipy’s Nipype 0.9.
A major group-level analysis error was resolved.
Forking of strategies is now possible through the GUI (for example, running two different registration methods at the same time).
Significant useability improvements to the GUI.
You can now specify separate seeds for timeseries extraction only or timeseries extraction intended for seed correlation analysis (SCA).
A new “Test Configuration” option has been included in the pipeline editor in the GUI which enables users to test their setup before running the pipeline.
An issue where the network centrality workflow would use more cores than assigned has been resolved.
An issue where VMHC maps would only be generated in 2mm resolution despite what was assigned has been resolved.
An issue where the raw correlation map for SCA was only being generated for one seed has been resolved.
An issue where timeseries extraction and seed correlation analysis would not run for new seeds defined in the pipeline editor was resolved.
Version 0.3.2 Alpha - 2013.11.04¶
The option to use the ANTS registration tool for anatomical registration has been introduced.
The option to toggle Boundary Based Registration on and off for functional to anatomical registration has been introduced.
Automatic QC page creation enabled.
Pipeline configuration files created by older versions of CPAC are now automatically checked for missing parameters.
There have been several assorted GUI fixes and improvements.
Version 0.3.1 Alpha - 2013.09.13¶
A range of improvements to the GUI and its operation.
Extended improvements to group analysis operation.
Error fix: custom FSL-FNIRT configuration files can now successfully be provided to CPAC.
Error fix: CPAC setup.py would not fully overwrite old files - setup.py now works correctly and also creates a backup folder with the old CPAC install directory.
Addition of some more informative and user-friendly error messages and user warnings.
CPAC pipeline configuration file renamed from config.yml to pipeline_config.yml.
Group analysis function update: the ability to classify EVs as either categorical or continuous has been temporarily removed as we continue our ongoing process of refining CPAC’s group analysis model builder. The user must now provide a phenotypic file (.csv format) with categorical EVs broken out into dummy variables.
Version 0.1.9 Alpha - 2013.03.18¶
feature: Dual Regression for Spatial Maps and ROIs
feature/issue120: Flexibility with multiple models and model-specific subject list
feature/issue157: Condor cluster job submission support
fix/issue108: (re)check output directory when pipeline is run again
fix/issue147: Split up covariates if create_fsl_model.py when modeling group variances seperately
fix/issue139: Rename “sink” directory to “output” directory
Version 0.1.8 Alpha - 2013.2.20¶
Modification- replaced all configuration files(config.py, CPAC_subject_list.py, config_fsl.py, data_config.py) to YAML formats
Fix- Ignore empty lines and commented lines in all txt files used as input by CPAC
Fix - Configuration files import issue.
Removed confusing directories with numbers for sca roi outputs and centrality outputs. Now all the ROI outputs go into a single directory per subject and same holds centrality outputs
Version 0.1.7 Alpha - 2013.02.05¶
Improved Error message for Removing Working Directory
New Centrality Workflow
Fixed underscore problem when no session in the data
FSL model file generator tool : one run, improved error reporting, multicollinearity detection
ROI , mask and template spefications are now files instead of directories
Anatomical and Functional Data can now be registered to different standard resolution templates
Subject processed fully notification after the subject pipeline finishes
Version 0.1.6 Alpha - 2013.01.21¶
Fix logger in extract_data.py tool
Nuisance code Refactoring
Fixed ROI names in SCA
Added Import for create_fsl_model in local __init__.py
Added New Pipeline names
Fixed Pipeline Naming bug when package is installed
Centrality fix to handle NAN correlation values
Generate ROI nifti files using user co-ordinates
Fix output directory structure to handle multiple model run with single subject list
Fix in Group Analysis, to get 4D EPI as per input subject list
Boundary Based Registration becomes the default registration
New Alff/fAlff workflow
Updates in config file to accomodate new features
Fix to append unit of time(in TR) in slice timing correction: get_scan_parameters
Minor changes in create_fsl_model : replace ‘#’ in output csv name with ‘__’
Feature addition to clear subject level working directory
Added Exception to handle missing dependancy for pygraphviz
Added extract_parameters.py script to consolidate motion parameters