use same output in two processes in nextflow dsl2
I have solved this problem in the past by duplicating the output channel of the desired process in order to feed the same output into multiple downstream processes.