This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Gather sorting by parameter in the metadata of input file

In our processing, we'd like to gather the results of one CommandLineTool that is running in parallel, making groups of a predefined size (say: group every 6 files) and grouped by a meta data value from the data (say: frequency).

What would be the most CWLy way to achieve this? Does the language support (part of this) workflow or should we define it in an inline python/bash script?

cwl gather

1 answer

  1. Expose the frequency as a separate output.
  2. Write an ExpressionTool to batch and sort the arrays of files and frequencies

Log in to answer this question.