Skip to content

Trouble Creating .annot Files for Extracting Freesurfer Data #9

@RobertJirsaraie

Description

@RobertJirsaraie

Hello @yetianmed,

Thank you for making this atlas available in volumetric space and in cifti format. I believe in order to extract freesurfer data, I need the surface files to be in .annot format, which I have done before using the following two commands as an example:

#Separate the CIFTI file into GIFTI files
wb_command -cifti-separate ${NII} COLUMN -label CORTEX_LEFT ${GII}

#Convert GIFTI files to FreeSurfer annotation files
mris_convert --annot ${GII} ${HCP} $PROJECT_DIR/freesurf_extract/lh.HCP-MMP1.annot

The issue I am running into is when creating the GIFTI file, I have to specify which hemisphere or subcortical region to extract from the .dlabel.nii files. It is clear how to do this for the cortical hemispheres, but not for the subcortical regions in this atlas. Ideally, I can extract all subcortical parcels into a single .annot file, but I am not sure if this is possible. Please let me know if you have done this before and whether you can have .annot files that you would be willing to share. Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions