Hi Estrid, See inline replies below.
Donna On May 12, 2015, at 4:34 AM, Estrid Jakobsen <ejakob...@cbs.mpg.de> wrote: > Dear all, > > I've just downloaded the newly released corrected 468 group average > connectome file, HCP_S500_R468_MIGPd4500ROW.dconn.nii, and I have two > questions: > > 1. I would like to convert this file to a binary gifti (header file + the > binary matrix) to be loaded into in-house software. I've tried using the > wb_command -cifti-convert -to-gifti-ext but this seems to produce some > strange results. What type of file is dconn.nii (i.e. is this a cifti file?), > and what would be the correct command to convert it? I typically use -cifti-separate for this sort of thing (see example below), but I haven't worked much with dconn.nii files. If it works for dconn also, then -metric (func.gii) out seems like a better fit than -label (label.gii), but "I don't know" is the honest answer. > 2. I would also like to separate the left and righ > t hemispheres and save them as two separate binary matrices. For this I've > tried to use wb_command -cifti-separate with COLUMN -metric CORTEX_LEFT, > followed by -cifti-convert -to-gifti-ext, but the latter command returns the > error "Unrecognized Nifti Version" I think you just need -cifti-separate, e.g.: InputCifti=MyData.32k_fs_LR.dscalar.nii OutputLH=MyData.L.32k_fs_LR.func.gii OutputRH= MyData.R.32k_fs_LR.func.gii wb_command -cifti-separate $InputCifti COLUMN -metric CORTEX_LEFT $OutputLH -metric CORTEX_RIGHT $OutputRH Could be your actual command line didn't have input or output extensions wb_command expected. > Any tips would be much appreciated. Many thanks in advance! > > Estrid > > **************** > Estrid Jakobsen > PhD Student, IMPRS NeuroCom > Department of Neurophysics > Max Planck Research Group Neuroanatomy and Connectivity > Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig > +49 341 9940-2423 > _______________________________________________ > HCP-Users mailing list > HCP-Users@humanconnectome.org > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users