mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Update MultiQC to re-add staging logos as a separate input channel (#2032)
* Update main.nf * Update meta.yml * Re-add logos as not staged in a way that works with MultiQC config files
This commit is contained in:
parent
8d2fedadff
commit
16eee433b8
3 changed files with 8 additions and 3 deletions
|
@ -9,6 +9,7 @@ process MULTIQC {
|
||||||
input:
|
input:
|
||||||
path multiqc_files, stageAs: "?/*"
|
path multiqc_files, stageAs: "?/*"
|
||||||
path(multiqc_config)
|
path(multiqc_config)
|
||||||
|
path(multiqc_logo)
|
||||||
|
|
||||||
output:
|
output:
|
||||||
path "*multiqc_report.html", emit: report
|
path "*multiqc_report.html", emit: report
|
||||||
|
|
|
@ -22,6 +22,10 @@ input:
|
||||||
type: file
|
type: file
|
||||||
description: Optional config yml for MultiQC
|
description: Optional config yml for MultiQC
|
||||||
pattern: "*.{yml,yaml}"
|
pattern: "*.{yml,yaml}"
|
||||||
|
- multiqc_logo:
|
||||||
|
type: file
|
||||||
|
description: Optional logo file for MultiQC
|
||||||
|
pattern: "*.{png}"
|
||||||
|
|
||||||
output:
|
output:
|
||||||
- report:
|
- report:
|
||||||
|
|
|
@ -13,7 +13,7 @@ workflow test_multiqc {
|
||||||
]
|
]
|
||||||
|
|
||||||
FASTQC ( input )
|
FASTQC ( input )
|
||||||
MULTIQC ( FASTQC.out.zip.collect { it[1] }, [] )
|
MULTIQC ( FASTQC.out.zip.collect { it[1] }, [], [] )
|
||||||
}
|
}
|
||||||
|
|
||||||
workflow test_multiqc_fn_collision {
|
workflow test_multiqc_fn_collision {
|
||||||
|
@ -29,7 +29,7 @@ workflow test_multiqc_fn_collision {
|
||||||
FASTQC2 ( fqc_input )
|
FASTQC2 ( fqc_input )
|
||||||
mqc_input = mqc_input.mix(FASTQC2.out.zip.collect { it[1] })
|
mqc_input = mqc_input.mix(FASTQC2.out.zip.collect { it[1] })
|
||||||
|
|
||||||
MULTIQC ( mqc_input, [] )
|
MULTIQC ( mqc_input, [], [] )
|
||||||
}
|
}
|
||||||
|
|
||||||
workflow test_multiqc_config {
|
workflow test_multiqc_config {
|
||||||
|
@ -41,5 +41,5 @@ workflow test_multiqc_config {
|
||||||
mqc_input = Channel.empty()
|
mqc_input = Channel.empty()
|
||||||
|
|
||||||
FASTQC ( input )
|
FASTQC ( input )
|
||||||
MULTIQC ( FASTQC.out.zip.collect { it[1] }, mqc_config )
|
MULTIQC ( FASTQC.out.zip.collect { it[1] }, mqc_config, [] )
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue