update mqc inputs

This commit is contained in:
Matthias De Smet 2022-06-08 13:48:27 +02:00
parent d196552e06
commit 439d2a9e67
3 changed files with 12 additions and 3 deletions

View file

@ -7,7 +7,8 @@ process MULTIQC {
'quay.io/biocontainers/multiqc:1.12--pyhdfd78af_0' }" 'quay.io/biocontainers/multiqc:1.12--pyhdfd78af_0' }"
input: input:
path "*/*" path multiqc_files, stageAs: "?/*"
tuple path(mqc_config), path(mqc_logo)
output: output:
path "*multiqc_report.html", emit: report path "*multiqc_report.html", emit: report

View file

@ -17,6 +17,14 @@ input:
type: file type: file
description: | description: |
List of reports / files recognised by MultiQC, for example the html and zip output of FastQC List of reports / files recognised by MultiQC, for example the html and zip output of FastQC
- multiqc_config:
type: file
description: Config yml for MultiQC
pattern: "*.{yml,yaml}"
- multiqc_logo:
type: file
description: Logo file for MultiQC
pattern: "*.{png}"
output: output:
- report: - report:
type: file type: file

View file

@ -12,7 +12,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 {
@ -27,5 +27,5 @@ 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, [[],[]] )
} }