Uri David Akavia
05/03/2026, 10:02 AMtuple val(meta), path("*.rmats"), emit: rmats
And I want to feed multiple rmats files to one rmats/post process. I guess I can use path and channels, but do I need a meta? The rmats/post needs to run on ALL input files in one process.
Sorry - it feels like this should be obvious, but I've looked at the docs, and nothing seems to clickUri David Akavia
05/03/2026, 10:08 AMUri David Akavia
05/03/2026, 10:30 AMpiplus2
05/03/2026, 10:40 AM.collect() would be a list of tuples [[meta1, file1.rmats], [meta2, file2.rmats], ...]
or you can group by meta:
ch_rmats = RMATS_PREP.out.rmats
.map { meta, rmats -> [ meta.contrast, rmats ] }
.groupTuple()
where meta.contrast defines the grouping you want to apply for the RMATS_POST processThomas Danhorn
05/03/2026, 10:46 PM