Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
CONVERT A 3-FILE MATRIX4 TO A WORKBENCH SPARSE FILE
wb_command -convert-matrix4-to-workbench-sparse
<matrix4_1> - the first matrix4 file
<matrix4_2> - the second matrix4 file
<matrix4_3> - the third matrix4 file
<orientation-file> - the .fiberTEMP.nii file this trajectory file applies
to
<voxel-list> - list of white matter voxel index triplets as used in the
trajectory matrix
<wb-sparse-out> - output - the output workbench sparse file
[-surface-seeds] - specify the surface seed space
<seed-roi> - metric roi file of all vertices used in the seed space
[-volume-seeds] - specify the volume seed space
<cifti-template> - cifti file to use the volume mappings from
<direction> - dimension along the cifti file to take the mapping from,
ROW or COLUMN
Converts the matrix 4 output of probtrackx to workbench sparse file
format. Exactly one of -surface-seeds and -volume-seeds must be
specified.