Using Workbench Command

Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.

Full Documentation:

Documentation Home
CREATE A CIFTI LABEL FILE
   wb_command -cifti-create-label
      <cifti-out> - output - the output cifti file

      [-volume] - volume component
         <label-volume> - label volume file containing the data to be copied
         <structure-label-volume> - label volume file that defines which voxels
            to use

      [-left-label] - label file for left surface
         <label> - the label file

         [-roi-left] - roi of vertices to use from left surface
            <roi-metric> - the ROI as a metric file

      [-right-label] - label for left surface
         <label> - the label file

         [-roi-right] - roi of vertices to use from right surface
            <roi-metric> - the ROI as a metric file

      [-cerebellum-label] - label for the cerebellum
         <label> - the label file

         [-roi-cerebellum] - roi of vertices to use from right surface
            <roi-metric> - the ROI as a metric file

      All input files must have the same number of columns/subvolumes.  Only
      the specified components will be in the output cifti.  At least one
      component must be specified.

      The -volume option requires two volume arguments, the label-volume
      argument contains all labels you want to display (e.g. nuclei of the
      thalamus), whereas the structure-label-volume argument contains all CIFTI
      voxel-based structures you want to include data within (e.g.
      THALAMUS_LEFT, THALAMUS_RIGHT, etc).  See -volume-label-import and
      -volume-help for format details of label volume files.  If you just want
      the labels in voxels to be the structure names, you may use the same file
      for both arguments.  The structure-label-volume must use some of the
      label names from this list, all other label names in the
      structure-label-volume will be ignored:

      CORTEX_LEFT
      CORTEX_RIGHT
      CEREBELLUM
      ACCUMBENS_LEFT
      ACCUMBENS_RIGHT
      ALL_GREY_MATTER
      ALL_WHITE_MATTER
      AMYGDALA_LEFT
      AMYGDALA_RIGHT
      BRAIN_STEM
      CAUDATE_LEFT
      CAUDATE_RIGHT
      CEREBELLAR_WHITE_MATTER_LEFT
      CEREBELLAR_WHITE_MATTER_RIGHT
      CEREBELLUM_LEFT
      CEREBELLUM_RIGHT
      CEREBRAL_WHITE_MATTER_LEFT
      CEREBRAL_WHITE_MATTER_RIGHT
      CORTEX
      DIENCEPHALON_VENTRAL_LEFT
      DIENCEPHALON_VENTRAL_RIGHT
      HIPPOCAMPUS_LEFT
      HIPPOCAMPUS_RIGHT
      INVALID
      OTHER
      OTHER_GREY_MATTER
      OTHER_WHITE_MATTER
      PALLIDUM_LEFT
      PALLIDUM_RIGHT
      PUTAMEN_LEFT
      PUTAMEN_RIGHT
      THALAMUS_LEFT
      THALAMUS_RIGHT