Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
CONVERT A .DOT FILE FROM PROBTRACKX TO CIFTI wb_command -probtrackx-dot-convert <dot-file> - input .dot file <cifti-out> - output - output cifti file [-row-voxels] - the output mapping along a row will be voxels <voxel-list-file> - a text file containing IJK indices for the voxels used <label-vol> - a label volume with the dimensions and sform used, with structure labels [-row-surface] - the output mapping along a row will be surface vertices <roi-metric> - a metric file with positive values on all vertices used [-row-cifti] - take the mapping along a row from a cifti file <cifti> - the cifti file to take the mapping from <direction> - which dimension to take the mapping along, ROW or COLUMN [-col-voxels] - the output mapping along a column will be voxels <voxel-list-file> - a text file containing IJK indices for the voxels used <label-vol> - a label volume with the dimensions and sform used, with structure labels [-col-surface] - the output mapping along a column will be surface vertices <roi-metric> - a metric file with positive values on all vertices used [-col-cifti] - take the mapping along a column from a cifti file <cifti> - the cifti file to take the mapping from <direction> - which dimension to take the mapping along, ROW or COLUMN [-transpose] - transpose the input matrix [-make-symmetric] - transform half-square input into full matrix output NOTE: exactly one -row option and one -col option must be used. If the input file does not have its indexes sorted in the correct ordering, this command may take longer than expected. Specifying -transpose will transpose the input matrix before trying to put its values into the cifti file, which is currently needed for at least matrix2 in order to display it as intended. How the cifti file is displayed is based on which -row option is specified: if -row-voxels is specified, then it will display data on volume slices. The label names in the label volume(s) must have the following names, other names are 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