mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 19:48:16 +00:00
31 lines
627 B
Text
31 lines
627 B
Text
nextflow.preview.dsl=2
|
|
|
|
process MULTIQC {
|
|
|
|
// tag "FastQC - $sample_id"
|
|
|
|
publishDir "${outdir}/multiqc",
|
|
mode: "copy", overwrite: true
|
|
|
|
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
|
|
|
|
script:
|
|
|
|
if (verbose){
|
|
println ("[MODULE] MULTIQC ARGS: " + multiqc_args)
|
|
}
|
|
|
|
"""
|
|
multiqc $multiqc_args -x work .
|
|
"""
|
|
|
|
}
|