Description of the bug
When running with multiple samples there's a risk of mixups of VCF and ROH files between samples in:
|
RHOCALL_VIZ(BCFTOOLS_VIEW_UNCOMPRESS.out.vcf, BCFTOOLS_ROH.out.roh) |
Should be solved with a join+multiMap e.g:
BCFTOOLS_VIEW_UNCOMPRESS.out.vcf
.join(BCFTOOLS_ROH.out.roh)
.multiMap { meta, vcf, roh ->
vcf: [meta, vcf]
roh: [meta, roh]
}
.set { ch_rhocall_viz_input }
RHOCALL_VIZ(
ch_rhocall_viz_input.vcf,
ch_rhocall_viz_input.roh,
)
Command used and terminal output
Relevant files
No response
System information
No response