help > CC200.1D from ABIDE I
Showing 1-2 of 2 posts
Display:
Results per page:
Aug 20, 2024  06:08 AM | cherry ye
CC200.1D from ABIDE I

Hi,


I want to know if cc200.1D in abide can be processed from the raw data of NII, and what the process is. I tried using functions such as NiftiBabelsMasker in Nilearn to process cpac/filt_global/func_reproc/Saltech_0051458_func_preproc.ni.gz, but the time series results obtained were inconsistent with the downloaded 1d file data. If you could answer, I would be very grateful.

Sep 16, 2024  04:09 PM | Tamsin Rogers
RE: CC200.1D from ABIDE I

Hi Cherry,


Based on the publication dates, it looks like the ABIDE I preprocessed C-PAC pipeline was run with a C-PAC version around 0.3.9.1. In that version of C-PAC, there are two steps from the preprocessed functional image to the 1D ROI timeseries output:


  1. resample the preprocessed file into the space of the atlas (flirt -in Caltech_0051458_func_preproc.nii.gz -ref cc200_roi_atlas.nii.gz -out Caltech_0051458_func_preproc_flirt.nii.gz -omat Caltech_0051458_func_preproc_flirt.mat -applyxfm -init ident.mat -interp trilinear)
  2. run this Python function to extract mean of voxel across all timepoints for each node in the ROI mask. That code is pretty old and in Python 2, but by bringing it up to Python 3 as shown in the attached file:

 


The 1D file generated from that function (with the output from step 1 as data_file and cc200_roi_atlas.nii.gz from s3://fcp-indi/data/Projects/ABIDE/Resources/cc200_roi_atlas.nii.gz as template) is identical to s3://fcp-indi/data/Projects/ABIDE/Outputs/cpac/filt_global/rois_cc200/Caltech_0051458_rois_cc200.1D


Our team can continue looking into other reasons why a current C-PAC image wouldn't generate the same 1D file - let me know if this helps in the meantime!

Attachment: code.py