nf-core_modules/tests/software/multiqc/main.nf
Abhinav Sharma b56a0322ab
Apply suggestions from code review by @drpatelh
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2020-12-08 18:57:14 +05:30

19 lines
559 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams(options: [publish_dir: 'test_multiqc'])
include { test_paired_end } from '../fastqc/main.nf' addParams(options: [publish_dir: 'test_paired_end'])
ch_multiqc_config = file("$launchDir/tests/software/multiqc/multiqc_config.yml", checkIfExists: true)
workflow test_multiqc {
test_paired_end()
input = [
ch_multiqc_config
.mix(test_paired_end.out.zip.collect { it[1] }.ifEmpty([]))
]
MULTIQC(*input)
}