help > RE: CONN compatibility with BIDS and fmriprep output
Jul 12, 2021  07:07 PM | omaomae - Georgetown University
RE: CONN compatibility with BIDS and fmriprep output
Dear Conn community,

I would like to add a plus one to this inquiry. Through the GUI, Conn can "automatically import the resulting preprocessed MNI-space functional and anatomical volumes, as well as Grey/White/CSF tissue masks, a full list of potential confound regressor variables, and an associated CONN-formatted first-level realignment, scrubbing, and QC_timeseries covariates." However, as far as I am aware, there doesn't seem to be a function for batch scripting that imports all fmriprep output; not like conn_importspm for SPM imports. Is this true? Or am I missing something?

Best,
Lillian

Originally posted by padma:
Dear Karolina,

I am new to CONN and I am also trying to import fmriprep output to CONN through scripts. I tried scripting but I am unable to succeed in it. If it's possible can you guide me on how to lead the confounds to the conn???

Sorry for the inconvenience and thank you  
Originally posted by Karolina Finc:
Dear Alfonso,

Thank you very much for the detailed answer. I'm very excited to hear about new BIDS-compatible functionalities in CONN!
In case of fmriprep, it is possible to load fmriprep output into CONN (after small modifications). One of the fmriprep output is confounds.tsv table including 6 motion parameters, values extracted from 5 aCompCor components, Framewise Displacement, DVARS, and many others.

The way how to load fmriprep output data into CONN depends if someone wants to obtain some confounds via CONN, or only use the confounds file from fmriprep. So far I did it in a way, that I've selected 6 motion parameters from confounds.tsv file, saved them as .txt file and load them in using CONN batch together with anatomical and functional data. I've also taken DVARS and Framewise Displacement variables to calculate outlier scans outside CONN (in the same way it's done with ART outlier detection). In case of aCompCor, it should also work (but I didn't try this myself yet) to load aCompCor values from fmriprep and skip loading WM and CSF masks, which are later used by CONN for calculation of aCompCor components. Am I right?

I think that for future releases of CONN it would be great to load whole confounds.tsv with the option to select only confounds we want to include in the denoising step. Column names of the selected variables from .tsv output would be automatically extracted as names of confounds in CONN. I think this could be a very useful functionality.

Hope this help in future releases! I'm also happy to provide some further advice if that may be useful. I'm also sure that Oscar Esteban (oesteban@stanford.edu) and other fmriprep developers will be open to cooperate on making fmriprep available for a broader audience of researchers.

Best,
Karolina

Threaded View

TitleAuthorDate
Karolina Finc Feb 9, 2019
Alfonso Nieto-Castanon Feb 14, 2019
Karolina Finc Feb 14, 2019
padma Jul 12, 2021
RE: CONN compatibility with BIDS and fmriprep output
omaomae Jul 12, 2021
padma Jul 13, 2021
omaomae Jul 14, 2021
padma Jul 9, 2021
Harrison Fisher Mar 13, 2019
Karolina Finc Mar 19, 2019
David Pagliaccio Mar 18, 2021
Kylie Isenburg Jun 11, 2021