nf-core_modules/software/multiqc/test/main.nf
Paolo Cozzi 835ac48565 Fixing MULTIQC module and adding tests (#1)
* fix multiqc process

* fix multiqc tests

* move multiqc test input data into tests/data/fastqc/ folder

Move input tests data into tests/data/fastqc/ and linking those files into software/multiqc/test/input/ as stated from the project documentation

* add multiqc github workflow

* remove unused file

* generalize multiqc input data

User must collect all desidered files in a channel (as described in https://seqera.io/training/#_multiqc_report

* update meta information
2020-12-01 12:03:37 +05:30

25 lines
588 B
Text
Executable file

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { MULTIQC } from '../main.nf' addParams( options: [ publish_dir:'test_multi' ] )
/*
* Test with single-end data
*/
workflow test_multi {
def input = []
input = [
file("${baseDir}/input/test_1_fastqc.html", checkIfExists: true),
file("${baseDir}/input/test_2_fastqc.html", checkIfExists: true),
file("${baseDir}/input/test_1_fastqc.zip", checkIfExists: true),
file("${baseDir}/input/test_2_fastqc.zip", checkIfExists: true)
]
MULTIQC ( input )
}
workflow {
test_multi()
}