2020-12-01 06:49:52 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams(options: [publish_dir: 'test_multiqc'])
|
2020-12-04 06:55:16 +00:00
|
|
|
include { test_paired_end } from '../fastqc/main.nf' addParams(options: [publish_dir: 'test_paired_end'])
|
|
|
|
|
2020-12-04 17:01:35 +00:00
|
|
|
ch_multiqc_config = file("$launchDir/tests/software/multiqc/multiqc_config.yml", checkIfExists: true)
|
2020-12-01 06:49:52 +00:00
|
|
|
|
|
|
|
workflow test_multiqc {
|
2020-12-03 04:12:34 +00:00
|
|
|
test_paired_end()
|
2020-12-01 06:49:52 +00:00
|
|
|
|
2020-12-03 04:12:34 +00:00
|
|
|
input = [
|
2020-12-08 13:27:14 +00:00
|
|
|
ch_multiqc_config
|
|
|
|
.mix(test_paired_end.out.zip.collect { it[1] }.ifEmpty([]))
|
2020-12-03 04:12:34 +00:00
|
|
|
]
|
2020-12-01 06:49:52 +00:00
|
|
|
|
2020-12-04 06:55:16 +00:00
|
|
|
MULTIQC(*input)
|
2020-12-01 06:49:52 +00:00
|
|
|
}
|