.collect()
to be sure to catch multiple executions of said process
groupKey -> transpose -> groupTuple
; e.g.Channel.from(['a', [1, 2, 3]], ['b', [4, 5]], ['c', [6, 7, 8]])
.map { tag, stuff -> tuple( groupKey(tag, stuff.size()), stuff ) }
.view()
.transpose()
.map { tag, num -> [tag, num*num+1 ] }
.view()
.groupTuple()
.view()
nextflow -resume
? I’m running nextflow on plenty of available resources (192 CPUs, 10T ram), but I’ll try submitting nextflow command as a job. This way SGE will kill it if CPU usage is too high.