Multiqc sep logo (#2028)

* Separate MultiQC config from logo input channel

* Update meta.yml

* Update main.nf

* Add test for new check

* md5sum -> contains

* Remove logo input channel from MultiQC
This commit is contained in:
James A. Fellows Yates 2022-09-08 10:47:08 +02:00 committed by GitHub
parent 73e062cf5e
commit 8d2fedadff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 8 deletions

View file

@ -9,7 +9,6 @@ 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

View file

@ -12,6 +12,7 @@ tools:
homepage: https://multiqc.info/ homepage: https://multiqc.info/
documentation: https://multiqc.info/docs/ documentation: https://multiqc.info/docs/
licence: ["GPL-3.0-or-later"] licence: ["GPL-3.0-or-later"]
input: input:
- multiqc_files: - multiqc_files:
type: file type: file
@ -21,10 +22,7 @@ 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:
type: file type: file
@ -46,3 +44,4 @@ authors:
- "@abhi18av" - "@abhi18av"
- "@bunop" - "@bunop"
- "@drpatelh" - "@drpatelh"
- "@jfy133"

View file

@ -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 )
} }