Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
MATCH PARCELS TO TEMPLATE BY NAME wb_command -cifti-create-parcellated-from-template <cifti-template> - a cifti file with the template parcel mapping along column <modify-direction> - which dimension of the output file should match the template (integer, 'ROW', or 'COLUMN') <cifti-out> - output - the output cifti file [-fill-value] - specify value to be used in parcels that don't match <value> - value to use (default 0) [-cifti] - repeatable - specify an input cifti file <cifti-in> - the input parcellated cifti file For each parcel name in the template mapping, find that name in an input cifti file and use its data in the output file. All input cifti files must have a parcels mapping along <modify-direction> and matching mappings along other dimensions. The direction can be either an integer starting from 1, or the strings 'ROW' or 'COLUMN'.