-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nifti files to be used with HCP Workbench #2031
Comments
Add |
Alright. Thank you. |
Hi, Is --cifti-output different from fsLR? |
hi @shilpitju - However, I would strongly recommend waiting to produce CIFTI output until a new release (which will be 20.0.3) - the current implementation is producing incorrect data. |
Thanks. When do we expect the new release? |
We should have one out later today |
That's fantastic. Thanks |
Please have a look on my command below: fmriprep-docker .\inputdir .\outputdir participant --participant-label sub-0001 --fs-lic Will it serve my purpose of obtaining output in nifti as well as cifti formats? |
Do you actually want all of these outputs? What spaces would you like to do analysis in? |
For nii, I want my outputs in MNInonlinearv6 space. However, I think SDC only works when MNI152NLin2009cAsym is chosen as an output space (M I wrong here?). Plus, for Cifti fsLR and --cifti-output have to be used. |
In 20.0.x, you should not have to adjust output spaces for particular processing options. You can drop the 2009cAsym; it will be used internally but won't be placed in your outputs. Similarly, according to @mgxd, you don't need fsLR, just
|
Thanks a ton !!! |
One more question plz, in order to run SDC, do we need to choose --output-spaces MNI152NLin6Asym (even if we don't want output in nifti)? |
No. |
Thanks again. |
When is 20.0.x release expected? |
Pending #2032. Hopefully today. Possibly tomorrow. |
All the best. |
fmriprep-docker inputdir outputdir participant In the above command since I have not given any option for '--output-spaces', will the output be only in Cifti or MNI as well? |
That command line will only generate CIFTI2 grayordinates files. |
Do we not still default to 2009c if output spaces is empty? |
We do, 2009c outputs should be there if |
Sorry, @shilpitju, as @effigies points out, I'm wrong. With such a command line, fMRIPrep should give you both types of outputs: one CIFTI2 grayordinates file and one NIfTI volume one the default MNI152NLin2009cAsym space. If you don't want the volumetric outputs to be written, you can add the
|
Thanks |
Hi, I tried to use -cifti-parcellate command to parcellate my input cifti functional file using 'The Cole-Anticevic Brain-wide Network Partition'. I used the fillowing command: eval(['!wb_command -cifti-parcellate ' inputFile ' ' parcelCIFTIFile ' COLUMN ' parcelTSFilename ' -method MEAN']) The output obtained is as: While running: ERROR: input cifti files must have the same volume space My input dtseries was obtained after processing using fmriprep 20.0.3 Regards, Shilpi Modi |
In continuation to above are volume-based subcortical voxels included in fmriprep preprocessing? Intuitively they should be, but just wanted to confirm. Thanks |
hi @shilpitju - yes, volumes are present in the files. I took a deeper look into this, here's what I found:
|
Thanks. I will look into nipreps/niworkflows#477 . However, can ciftify tools sort out these issues? |
paging @edickie |
It sounds like the volumn output is in the cifti file, but it may not be the same volume space as teh fsLR outputs from HCPPipelines (or ciftify)? How are you resampling the volume output before creating the cifti files? @shilpitju A fast workaround for is to use "wb_command -cifti-separate" to separate the Antecivic-Cole Atlas into separate Left-cortex (gifti), right-cortex (gifti) and subcortical atlas files. The subcortical atlas ROIs would be in MNI space (nifti mask)... so you could easily use them to extract timeseries from the MNI space nifti fmriprep outputs... |
@edickie I have not yet used ciftify tools (have just pre-processed the data using fmriprep) . I was thinking that since freesurfer has already been run on my structural data, so now ciftify can be used to get everything into cifti. However, as suggested by you if I separate the cole atlas into left-right-cortex and subcortex atlas files, will it sort the issue of LAS, RAS mismatch between fmriprep cifti output and HCP cifti? |
@shilpitju it won't, but you can reorient the volume and then recombine the files to generate the CIFTI. Alternatively, you can rerun using the new release that will be out later today (20.0.4) which should allow you to parcellate without raising an error. |
Alright. Thanks |
|
Hi, I ran a dataset today morning using the latest version, unfortunately while trying to parcellate I m getting the same error. Shall I share the dataset and the code I m using with you? |
@shilpitju is it possible you are reusing the same working directory? You may need to clear it. |
No, I made a new one. I copied the newly generated cifti files to the workbench folder. That folder also contained the Cole-Atlas files used in the code. |
Hi, What are your suggestions to me now based on the reply in Shall I use wb_command -cifti-resample or wait for an update in fmriprep? |
Hi,
I have preprocessed my fMRI data using fMRIPrep with fs-no-reconall. My output functional and structural files are in nii format. However, later I realized I want to use 'The Cole-Anticevic Brain-wide Network Partition (CAB-NP)' (that is in Cifti format), for further ROI based analysis. This atlas can be accessed using HCP Workbench.
Can you please suggest me a way out to solve this issue?
Thanks,
Shilpi Modi
The text was updated successfully, but these errors were encountered: