nf-core_modules/tools/multiqc/main.nf
2020-03-17 21:46:21 +00:00

32 lines
No EOL
587 B
Text

nextflow.preview.dsl=2
process MULTIQC {
// tag "FastQC - $sample_id"
input:
path (file)
val (outdir)
val (multiqc_args)
// multiqc_args are best passed into the workflow in the following manner:
// --multiqc_args="--exlude STAR --title custom_report_title"
val (verbose)
output:
path "*html", emit: html
publishDir "${outdir}/multiqc",
mode: "copy", overwrite: true
script:
if (verbose){
println ("[MODULE] MULTIQC ARGS: " + multiqc_args)
}
"""
module load multiqc
multiqc $multiqc_args -x work .
"""
}