Joining multiple files

If you want to join multiple files, you can do that by first using the StreamToSubstream component in combination with an in-port command pattern where the join pattern is used.

A concrete usage of this can be seen in the DNA Cancer analysis workflow. In this example, we see that the bams inport is defined like so: {i:bams|join: }. This means that it will receive IPs on the bams inport, and join their filenames, with a space between each. On the next row, we connect this in-port to the OutSubStream of the StreamToSubstream component (in this example, the StreamToSubstream component was stored in a map, but that is specific to the example code, and not for using it in general).

More info

See the Concatenator component.

Also see the page about Scatter/Gather.