Create .mgz or .label from HCP cifti/gifti pair


I would like to convert the preprocessed HCP level 2 surface stat maps (cifti / gifti) to a file format supported by FreeSurfer (.mgz, .label). Does anyone know of a tool that does this? I imagine the Connectome Workbench might have some functionality for this, but I haven’t found a command yet that does this.


mris_surf2surf should be able to convert GIFTI files to .mgz. I don’t think anybody but Connectome workbench handles CIFTI-2 well.