Update subworkflows/nf-core/bam_qc_picard/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
This commit is contained in:
Matthias De Smet 2022-04-28 10:09:25 +02:00 committed by GitHub
parent 433aaece46
commit 3cbf5c63e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ workflow BAM_QC_PICARD {
PICARD_COLLECTMULTIPLEMETRICS( ch_bam_bai, ch_fasta] ) PICARD_COLLECTMULTIPLEMETRICS( ch_bam_bai, ch_fasta] )
ch_versions = ch_versions.mix(PICARD_COLLECTMULTIPLEMETRICS.out.versions.first()) ch_versions = ch_versions.mix(PICARD_COLLECTMULTIPLEMETRICS.out.versions.first())
if (!ch_bait_interval.isEmpty() || !ch_target_interval.isEmpty()) { if (ch_bait_interval || ch_target_interval) {
if (ch_bait_interval.isEmpty()) { if (ch_bait_interval.isEmpty()) {
log.error("Bait interval channel is empty") log.error("Bait interval channel is empty")
} }