fsLR 32k - combining surfaces and subcortical data

393 views
Skip to first unread message

Ellyn Butler

unread,
Apr 2, 2024, 4:30:00 PM4/2/24
to hcp-...@humanconnectome.org
Hi HCP users,

I have some surface data in the fsLR 32k space, and am looking to combine it with subcortical data that is in MNI152NLin6Asym. I tried the following command as a first step: 

```
wb_command -cifti-create-dense-scalar \ ~/Documents/Northwestern/studies/mwmh/data/processed/neuroimaging/surf/sub-MWMH317/ses-1/func/sub-MWMH317_ses-1_task-rest_space-fsLR_desc-subcort_bold.dscalar.nii \
-volume ~/Documents/Northwestern/studies/mwmh/data/processed/neuroimaging/postproc/sub-MWMH317/ses-1/sub-MWMH317_ses-1_task-rest_space-MNI152NLin6Asym_desc-postproc_bold.nii.gz \
~/Documents/Northwestern/templates/Q1-Q6_RelatedValidation210.CorticalAreas_dil_Final_Final_Areas_Group_Colors_with_Atlas_ROIs2.32k_fs_LR.dlabel.nii
```

but got the following error:

"ERROR: NAME OF FILE: Q1-Q6_RelatedValidation210.CorticalAreas_dil_Final_Final_Areas_Group_Colors_with_Atlas_ROIs2.32k_fs_LR.dlabel.nii
PATH TO FILE: /Users/flutist4129/Documents/Northwestern/templates

Cifti files cannot be used as volume files"

What subcortical atlas should I be using? Or, is there a better way for me to be approaching this problem?

Best,
Ellyn


Tim Coalson

unread,
Apr 2, 2024, 6:47:48 PM4/2/24
to hcp-...@humanconnectome.org
-cifti-create-dense-from-template is the easier command for this.  If you specifically want the 91k grayordinates space, I would recommend using the standard definition file as the template, the dscalar file here:


However, cortical data needs to have already been mapped to the surface in order to put it into 91k grayordinates.  -volume-to-surface-mapping is the key step there.  The fMRIVolume and fMRISurface pipelines implement our recommended approach for preprocessing BOLD data and mapping it to the surface (and MR FIX to identify and remove motion-related and other artifacts).

Tim


--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/CAH2OiufKEEOsY%3DPdLhQT%2BXTUa55pkEx%2BLBN0F9CXBxrR-8qW_A%40mail.gmail.com.

Ellyn Butler

unread,
Apr 3, 2024, 11:00:54 AM4/3/24
to hcp-...@humanconnectome.org
Hi Tim,

Thank you! I tried running the following command:

```

wb_command -cifti-create-dense-from-template ~/Documents/Northwestern/templates/91282_Greyordinates/91282_Greyordinates.dscalar.nii \ ~/Documents/Northwestern/studies/mwmh/data/processed/neuroimaging/surf/sub-MWMH317/ses-1/func/sub-MWMH317_ses-1_task-rest_space-fsLR_desc-subcort_bold.dscalar.nii \

-volume-all ~/Documents/Northwestern/studies/mwmh/data/processed/neuroimaging/postproc/sub-MWMH317/ses-1/sub-MWMH317_ses-1_task-rest_space-MNI152NLin6Asym_desc-postproc_bold.nii.gz

```

And got the following error: "ERROR: -volume-all specifies a volume file that doesn't match the volume space of the template cifti file"

I am guessing that I have my MNI data in the wrong MNI space. Is that correct? If so, what is the correct MNI space (fMRIPrep parlance)?

Also, is there a way to use this command that would allow me to combine the subcortical volume data and the cortical surface data in one step?

Best,
Ellyn


Glasser, Matt

unread,
Apr 3, 2024, 11:02:00 AM4/3/24
to hcp-...@humanconnectome.org

We use FSL’s MNI space.

 

Matt.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Tim Coalson

unread,
Apr 3, 2024, 4:23:53 PM4/3/24
to hcp-...@humanconnectome.org
More precisely, our volume templates are here:


Resample to the 2mm version.  All the resolutions are aligned, including at a specific FoV corner, such that you can use FSL-convention transforms and tools to resample to the 2mm grid, using a warpfield derived from registering to the 0.7mm template (or any other combination).

Tim


Reply all
Reply to author
Forward
0 new messages