Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/nf-core/multiqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ process MULTIQC {
path "*.html" , emit: report
path "*_data" , emit: data
path "*_plots" , optional:true, emit: plots
tuple val("${task.process}"), val('multiqc'), eval('multiqc --version | sed "s/.* //g"'), topic: versions, emit: versions_multiqc
tuple val("${task.process}"), val('multiqc'), eval('multiqc --version | sed "s/.* //g"'), emit: versions
// MultiQC should not push its versions to the `versions` topic. Its input depends on the versions topic to be resolved thus outputting to the topic will let the pipeline hang forever

when:
task.ext.when == null || task.ext.when
Expand Down Expand Up @@ -50,6 +51,5 @@ process MULTIQC {
touch multiqc_data/.stub
mkdir multiqc_plots
touch multiqc_report.html

"""
}
20 changes: 4 additions & 16 deletions modules/nf-core/multiqc/meta.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: multiqc
description: Aggregate results from bioinformatics analyses across many samples
into a single report
description: Aggregate results from bioinformatics analyses across many samples into
a single report
keywords:
- QC
- bioinformatics tools
Expand Down Expand Up @@ -28,8 +28,8 @@ input:
- edam: http://edamontology.org/format_3750 # YAML
- extra_multiqc_config:
type: file
description: Second optional config yml for MultiQC. Will override common
sections in multiqc_config.
description: Second optional config yml for MultiQC. Will override common sections
in multiqc_config.
pattern: "*.{yml,yaml}"
ontologies:
- edam: http://edamontology.org/format_3750 # YAML
Expand Down Expand Up @@ -73,18 +73,6 @@ output:
description: Plots created by MultiQC
pattern: "*_data"
ontologies: []
versions_multiqc:
- - ${task.process}:
type: string
description: The process the versions were collected from
- multiqc:
type: string
description: The tool name
- multiqc --version | sed "s/.* //g":
type: eval
description: The expression to obtain the version of the tool

topics:
versions:
- - ${task.process}:
type: string
Expand Down
12 changes: 6 additions & 6 deletions modules/nf-core/multiqc/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sarscov2 single-end [fastqc]": {
"content": [
{
"versions_multiqc": [
"versions": [
[
"MULTIQC",
"multiqc",
Expand All @@ -15,7 +15,7 @@
"nf-test": "0.9.2",
"nextflow": "25.04.6"
},
"timestamp": "2025-10-28T15:27:59.813370216"
"timestamp": "2025-12-09T10:10:43.020315838"
},
"sarscov2 single-end [fastqc] - stub": {
"content": [
Expand All @@ -24,7 +24,7 @@
"multiqc_data",
"multiqc_plots",
{
"versions_multiqc": [
"versions": [
[
"MULTIQC",
"multiqc",
Expand All @@ -38,12 +38,12 @@
"nf-test": "0.9.2",
"nextflow": "25.04.6"
},
"timestamp": "2025-10-28T15:30:48.963962021"
"timestamp": "2025-12-09T10:11:14.131950776"
},
"sarscov2 single-end [fastqc] [config]": {
"content": [
{
"versions_multiqc": [
"versions": [
[
"MULTIQC",
"multiqc",
Expand All @@ -56,6 +56,6 @@
"nf-test": "0.9.2",
"nextflow": "25.04.6"
},
"timestamp": "2025-10-28T15:29:30.664969334"
"timestamp": "2025-12-09T10:11:07.15692209"
}
}
Loading