fix hsmetrics input

This commit is contained in:
Matthias De Smet 2022-04-28 13:43:59 +02:00
parent e0a8af8693
commit 55dfe1d8ab

View file

@ -25,7 +25,7 @@ workflow BAM_QC_PICARD {
if (ch_target_interval.isEmpty()) {
log.error("Target interval channel is empty")
}
PICARD_COLLECTHSMETRICS( ch_bam, ch_fasta, ch_bait_interval, ch_target_interval )
PICARD_COLLECTHSMETRICS( ch_bam, ch_fasta, [], ch_bait_interval, ch_target_interval )
ch_versions = ch_versions.mix(PICARD_COLLECTHSMETRICS.out.versions.first())
} else {
PICARD_COLLECTWGSMETRICS( ch_bam, ch_fasta )