The tools of the Human Connectome Project (HCP) adapted for working with non-HCP datasets
Project description
ciftify
The tools of the Human Connectome Project (HCP) adapted for working with non-HCP datasets
ciftify is a set of three types of command line tools:
**conversion tools** : command line tools adapted from HCP Minimal processing pipeline to put preprocessed T1 and fMRI data into an HCP like folder structure
**ciftify tools** : Command line tools for making working with cifty format a little easier
**cifti_vis tools** : Visualization tools, these use connectome-workbench tools to create pngs of standard views the present theme together in fRML pages.
Check out our wiki for more details on individual tools!
Download and Install
Install latest release python package
First, install the python package and all of its bundled data and scripts. You can do this with a single command with pip.
Note the newest release of ciftify requires python 3 (python 2 no longer supported).
To install with pip, type the following in a terminal.
pip install ciftify
For other installation options see this installation documentation.
ciftify workflows
Scripts adapted from HCP Minimal processing pipeline to put preprocessed T1 and fMRI data into an HCP like folder structure
ciftify_recon_all
Will convert any freeserfer output directory into an HCP (cifti space) output directory
ciftify_subject_fmri
Will project a nifti functional scan to a cifti .dtseries.nii in that subjects hcp analysis directory
The subject’s hcp analysis directory is created by runnning ciftify_recon_all on that participants freesurfer output
will do fancy outlier removal to optimize the mapping in the process and then smooth the data in cifti space
ciftify Tools
ciftify_meants:
extracts mean timeseries(es) (similar to FSL’ fslmeants) that can take nifti, cifti or gifti inputs
ciftify_seed_corr:
builds seed-based correlation maps using cifti, gifti or nifti inputs
ciftify_peaktable:
similar to FSL’s clusterize, outputs a csv table of peak locations from a cifti statisical map
ciftify_surface_rois:
a tool for building circular rois on the cortical surface. Multiple roi locations can be read at once from a csv table.
ciftify_groupmask:
a tools for building a group mask for statiscal analyses using multiple .dtseries.nii files as the input
cifity_vol_result
Will project a nifti scan to cifti space (4D nifti -> .dtseries.nii or 3D nifti -> .dsclar.nii) with no fancy steps or smoothing
intended for conversion of 3D statistical maps (or 3D regions of interest) for visualization with wb_view
cifti_vis Tools
citfi_vis_recon_all:
builds visual qc pages for verification of ciftify_recon_all conversion
Note: these pages can also be used for qc of freesurfer’s recon-all pipeline
(they easier to generate (i.e. no display needed) than freesurfer QAtools, and a little prettier too)
cifti_vis_fmri:
builds visual qc pages for verification of ciftify_subject_fmri volume to surface mapping
also show surface smoothed images of seed based connectivity to give an impression of preprocessed fmri data quality
cifti_vis_map:
generates picture of standard views from any cifti map (combined into on .html page)
One can loop over multiple files (i.e. maps from multiple subjects) and combine all outputs so that all subjects can viewed together in one index page.
can also take a nifti input which is internally converted to cifti using ciftify_vol_result
cifti_vis_RSN:
From a functional file input, Will run seed-based correlations from 4 ROIS of interest then generate pics of standard views
One can loop over multiple files (i.e. maps from multiple subjects) and combine all outputs so that all subjects can viewed together in one index page.
can also take a nifti input which is internally converted to cifti using ciftify_vol_result
And also in the bin there is
These two are part of a work in progress (something I need to validate first) ciftify_PINT_vertices cifti_vis_PINT epi_hcpexport
References / Citing ciftify
The workflows and template files employed in ciftify were adapted from those of the Human Connectome Project’s minimal proprocessing pipeline. As such, any work employing ciftify’s conversion of visualization tools should cite:
Glasser MF, Sotiropoulos SN, Wilson JA, Coalson TS, Fischl B, Andersson JL, Xu J, Jbabdi S, Webster M, Polimeni JR, Van Essen DC, Jenkinson M, WU-Minn HCP Consortium. The minimal preprocessing pipelines for the Human Connectome Project. Neuroimage. 2013 Oct 15;80:105-24. PubMed PMID: 23668970; PubMed Central PMCID: PMC3720813.
Additionally, any work employing the parcellation files included here should cite their original sources. They are:
Yeo 7 or (17) Network Parcellation: Yeo, B. T. Thomas, Fenna M. Krienen, Jorge Sepulcre, Mert R. Sabuncu, Danial Lashkari, Marisa Hollinshead, Joshua L. Roffman, et al. 2011. “The Organization of the Human Cerebral Cortex Estimated by Intrinsic Functional Connectivity.” Journal of Neurophysiology 106 (3): 1125–65.
The freesurfer DK atlas (i.e. ‘aparc’ segmentation): Desikan, Rahul S., Florent Ségonne, Bruce Fischl, Brian T. Quinn, Bradford C. Dickerson, Deborah Blacker, Randy L. Buckner, et al. 2006. “An Automated Labeling System for Subdividing the Human Cerebral Cortex on MRI Scans into Gyral Based Regions of Interest.” NeuroImage 31 (3): 968–80.
The Glasser MMP1.0 Parcellation: Glasser, Matthew F., Timothy S. Coalson, Emma C. Robinson, Carl D. Hacker, John Harwell, Essa Yacoub, Kamil Ugurbil, et al. 2016. “A Multi-Modal Parcellation of Human Cerebral Cortex.” Nature 536 (7615): 171–78.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ciftify-2.3.3.tar.gz
.
File metadata
- Download URL: ciftify-2.3.3.tar.gz
- Upload date:
- Size: 31.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c80c410aebcdd8653406f166608a2bd4d6b2f2b7bdc1640bd7ed6c15df45815a |
|
MD5 | f92ce5b861a6dc65917bcf921789e610 |
|
BLAKE2b-256 | 3975bcde3f733820071153e914584522c32d42bfb70c9b8dfed137cea08149e5 |
File details
Details for the file ciftify-2.3.3-py3-none-any.whl
.
File metadata
- Download URL: ciftify-2.3.3-py3-none-any.whl
- Upload date:
- Size: 31.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13de9ad870a3d8ba4ded8d4a95c85b8b6160e71b5dae53333d2aa1e824e9d2ae |
|
MD5 | d5b7c7c329a685aa67c8d46c4f627407 |
|
BLAKE2b-256 | 16facdfabd62edc38394b32ad457364c9b47bc8afa7fa315b2286fbef1c170df |