Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3f71d52
topics bismark/align (#9272)
nvnieuwk Oct 29, 2025
b9bd099
Converts FASTQ to use topics for version (#9266)
mribeirodantas Oct 29, 2025
e628e4a
Multiqc2topics (#9271)
kobelavaerts Oct 29, 2025
996ac29
Add Topic-based tool version capture to Trinity Module (#9273)
eit-maxlcummins Oct 29, 2025
f206239
adding topics channel to tabix_tabix (#9267)
mapo9 Oct 29, 2025
7a63b2b
Topics/samtools view (#9301)
nvnieuwk Oct 29, 2025
ca0d724
feat: update samtools sort module with version topic support (#9275)
wangdepin Oct 29, 2025
ff9db75
feat: update samtools stats module with version topic support (#9330)
mribeirodantas Nov 4, 2025
237f951
[automated] Update gpu snapshot
nf-core-bot Nov 5, 2025
b9002a9
update snapshot
mashehu Nov 20, 2025
035be88
Merge branch 'master' into topics-adoption
mashehu Nov 24, 2025
271beb7
fix new topics structure
mashehu Nov 24, 2025
51c4828
Merge branch 'master' into topics-adoption
mashehu Nov 25, 2025
ebb65d1
fix pre-commit
mashehu Nov 25, 2025
44bba6f
Merge branch 'master' into topics-adoption
mashehu Nov 25, 2025
71eb9bd
fix bam_split_by_region linting
mashehu Nov 25, 2025
f19f177
Merge branch 'master' into topics-adoption
mashehu Nov 26, 2025
c583507
fix fastq_align snapshots
mashehu Nov 26, 2025
2d4c7ac
Merge branch 'topics-adoption' of github.com:nf-core/modules into top…
mashehu Nov 26, 2025
65ffe9a
Merge branch 'master' of github.com:nf-core/modules into topics-adoption
mashehu Nov 26, 2025
a159646
update snapshots
mashehu Nov 26, 2025
d0270a8
remove references for FASTQC.out.versions
mashehu Nov 26, 2025
d7fbf74
fix linting for fastq_align_chromap
mashehu Nov 26, 2025
2db338c
Merge branch 'master' of github.com:nf-core/modules into topics-adoption
mashehu Nov 27, 2025
d351fe5
Merge branch 'master' into topics-adoption
mashehu Nov 27, 2025
151203d
update snapshots
mashehu Nov 27, 2025
3405dae
remove old version channel for samtools/sort
mashehu Nov 27, 2025
a8b3709
Merge branch 'topics-adoption' of github.com:nf-core/modules into top…
mashehu Nov 27, 2025
be0c972
fix fastq_create_umi_consensus_fgbio snapshot
mashehu Nov 27, 2025
b206fc9
fix fastq_align_star snapshots
mashehu Nov 27, 2025
fb15e77
fix id in snapshot
mashehu Nov 27, 2025
d054d41
Merge branch 'master' of github.com:nf-core/modules into topics-adoption
mashehu Nov 27, 2025
79a73ee
update vcf_gather_bcftools snapshot
mashehu Nov 27, 2025
0731a6f
Merge branch 'master' into topics-adoption
mashehu Nov 28, 2025
0a3838e
update vcf_annotate_ensemblvep snapshot
mashehu Nov 28, 2025
0f71f5d
fix snapshot
mashehu Nov 28, 2025
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: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ repos:
hooks:
- id: prettier
entry: prettier --experimental-cli --write --ignore-unknown --no-cache
exclude: |
(?x)^(
.*\.snap$
)$
additional_dependencies:
- [email protected]

Expand Down
12 changes: 1 addition & 11 deletions modules/nf-core/bismark/align/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ process BISMARK_ALIGN {
tuple val(meta), path("*bam") , emit: bam
tuple val(meta), path("*report.txt"), emit: report
tuple val(meta), path("*fq.gz") , emit: unmapped, optional: true
path "versions.yml" , emit: versions
tuple val("${task.process}"), val("bismark"), eval('bismark --version | grep Version | sed -e "s/Bismark Version: v//" | xargs'), topic: versions, emit: versions_bismark

when:
task.ext.when == null || task.ext.when
Expand Down Expand Up @@ -61,11 +61,6 @@ process BISMARK_ALIGN {
--genome ${index} \\
--bam \\
${args}

cat <<-END_VERSIONS > versions.yml
"${task.process}":
bismark: \$(echo \$(bismark -v 2>&1) | sed 's/^.*Bismark Version: v//; s/Copyright.*\$//')
END_VERSIONS
"""

stub:
Expand All @@ -74,10 +69,5 @@ process BISMARK_ALIGN {
"""
touch ${prefix}.bam
touch ${prefix}.report.txt

cat <<-END_VERSIONS > versions.yml
"${task.process}":
bismark: \$(echo \$(bismark -v 2>&1) | sed 's/^.*Bismark Version: v//; s/Copyright.*\$//')
END_VERSIONS
"""
}
26 changes: 20 additions & 6 deletions modules/nf-core/bismark/align/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,27 @@ output:
description: Output FastQ file(s) containing unmapped reads
pattern: "*.{fq.gz}"
ontologies: []
versions_bismark:
- - ${task.process}:
type: string
description: The process the versions were collected from
- bismark:
type: string
description: The tool name
- 'bismark --version | grep Version | sed -e "s/Bismark Version: v//" | xargs':
type: string
description: The version of the tool
topics:
versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
ontologies:
- edam: http://edamontology.org/format_3750 # YAML
- - ${task.process}:
type: string
description: The process the versions were collected from
- bismark:
type: string
description: The tool name
- 'bismark --version | grep Version | sed -e "s/Bismark Version: v//" | xargs':
type: string
description: The version of the tool
authors:
- "@phue"
maintainers:
Expand Down
15 changes: 5 additions & 10 deletions modules/nf-core/bismark/align/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ nextflow_process {
bam(process.out.bam[0][1]).getReadsMD5(),
file(process.out.report[0][1]).readLines().contains("Number of alignments with a unique best hit from the different alignments:\t5009"),
process.out.unmapped,
process.out.versions,
path(process.out.versions[0]).yaml
process.out.findAll { key, val -> key.startsWith('versions') },
).match()
}
)
Expand Down Expand Up @@ -92,8 +91,7 @@ nextflow_process {
bam(process.out.bam[0][1]).getReadsMD5(),
file(process.out.report[0][1]).readLines().contains("Number of alignments with a unique best hit from the different alignments:\t5009"),
process.out.unmapped,
process.out.versions,
path(process.out.versions[0]).yaml
process.out.findAll { key, val -> key.startsWith('versions') },
).match()
}
)
Expand Down Expand Up @@ -128,8 +126,7 @@ nextflow_process {
bam(process.out.bam[0][1]).getReadsMD5(),
file(process.out.report[0][1]).readLines().contains("Number of alignments with a unique best hit from the different alignments:\t5009"),
process.out.unmapped,
process.out.versions,
path(process.out.versions[0]).yaml
process.out.findAll { key, val -> key.startsWith('versions') },
).match()
}
)
Expand Down Expand Up @@ -167,8 +164,7 @@ nextflow_process {
bam(process.out.bam[0][1]).getReadsMD5(),
file(process.out.report[0][1]).readLines().contains("Number of alignments with a unique best hit from the different alignments:\t5009"),
process.out.unmapped,
process.out.versions,
path(process.out.versions[0]).yaml
process.out.findAll { key, val -> key.startsWith('versions') },
).match()
}
)
Expand Down Expand Up @@ -203,8 +199,7 @@ nextflow_process {
bam(process.out.bam[0][1]).getReadsMD5(),
file(process.out.report[0][1]).readLines().contains("Number of alignments with a unique best hit from the different alignments:\t5047"),
process.out.unmapped,
process.out.versions,
path(process.out.versions[0]).yaml
process.out.findAll { key, val -> key.startsWith('versions') },
).match()
}
)
Expand Down
85 changes: 45 additions & 40 deletions modules/nf-core/bismark/align/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,108 +5,113 @@
true,
[

],
[
"versions.yml:md5,72777174718c419301be78c0840f1931"
],
{
"BISMARK_ALIGN": {
"bismark": "0.25.1"
}
"versions_bismark": [
[
"BISMARK_ALIGN",
"bismark",
"0.25.1"
]
]
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "25.04.6"
"nextflow": "25.10.0"
},
"timestamp": "2025-09-26T12:09:08.59445088"
"timestamp": "2025-10-28T15:31:46.994204006"
},
"hisat2 | paired-end | sarscov2 genome [fasta]": {
"content": [
"fb9d284aec4b2c727af3c5ffd77c6381",
false,
[

],
[
"versions.yml:md5,72777174718c419301be78c0840f1931"
],
{
"BISMARK_ALIGN": {
"bismark": "0.25.1"
}
"versions_bismark": [
[
"BISMARK_ALIGN",
"bismark",
"0.25.1"
]
]
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "25.04.6"
"nextflow": "25.10.0"
},
"timestamp": "2025-09-26T12:08:47.207193467"
"timestamp": "2025-10-28T15:31:21.888003798"
},
"bowtie2 | paired-end | sarscov2 genome [fasta]": {
"content": [
"458c5350c3f96a8dde710985bfb62827",
false,
[

],
[
"versions.yml:md5,72777174718c419301be78c0840f1931"
],
{
"BISMARK_ALIGN": {
"bismark": "0.25.1"
}
"versions_bismark": [
[
"BISMARK_ALIGN",
"bismark",
"0.25.1"
]
]
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "25.04.6"
"nextflow": "25.10.0"
},
"timestamp": "2025-09-26T12:08:02.040747075"
"timestamp": "2025-10-28T15:30:37.313541027"
},
"bowtie2 | single-end | sarscov2 genome [fasta]": {
"content": [
"936c0d5ce713130113e99e09a5b53afd",
true,
[

],
[
"versions.yml:md5,72777174718c419301be78c0840f1931"
],
{
"BISMARK_ALIGN": {
"bismark": "0.25.1"
}
"versions_bismark": [
[
"BISMARK_ALIGN",
"bismark",
"0.25.1"
]
]
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "25.04.6"
"nextflow": "25.10.0"
},
"timestamp": "2025-09-26T12:07:37.985126432"
"timestamp": "2025-10-28T15:30:15.340678938"
},
"hisat2 | single-end | sarscov2 genome [fasta]": {
"content": [
"936c0d5ce713130113e99e09a5b53afd",
true,
[

],
[
"versions.yml:md5,72777174718c419301be78c0840f1931"
],
{
"BISMARK_ALIGN": {
"bismark": "0.25.1"
}
"versions_bismark": [
[
"BISMARK_ALIGN",
"bismark",
"0.25.1"
]
]
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "25.04.6"
"nextflow": "25.10.0"
},
"timestamp": "2025-09-26T12:08:24.007957857"
"timestamp": "2025-10-28T15:30:58.182901875"
}
}
16 changes: 3 additions & 13 deletions modules/nf-core/fastqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ process FASTQC {
tuple val(meta), path(reads)

output:
tuple val(meta), path("*.html"), emit: html
tuple val(meta), path("*.zip") , emit: zip
path "versions.yml" , emit: versions
tuple val(meta) , path("*.html") , emit: html
tuple val(meta) , path("*.zip") , emit: zip
tuple val("${task.process}"), val('fastqc'), eval('fastqc --version | sed "/FastQC v/!d; s/.*v//"'), emit: versions_fastqc, topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down Expand Up @@ -43,22 +43,12 @@ process FASTQC {
--threads ${task.cpus} \\
--memory ${fastqc_memory} \\
${renamed_files}

cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqc: \$( fastqc --version | sed '/FastQC v/!d; s/.*v//' )
END_VERSIONS
"""

stub:
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch ${prefix}.html
touch ${prefix}.zip

cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqc: \$( fastqc --version | sed '/FastQC v/!d; s/.*v//' )
END_VERSIONS
"""
}
26 changes: 20 additions & 6 deletions modules/nf-core/fastqc/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,27 @@ output:
description: FastQC report archive
pattern: "*_{fastqc.zip}"
ontologies: []
versions_fastqc:
- - ${task.process}:
type: string
description: The process the versions were collected from
- fastqc:
type: string
description: The tool name
- fastqc --version | sed "/FastQC v/!d; s/.*v//:
type: string
description: The command used to generate the version of the tool
topics:
versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
ontologies:
- edam: http://edamontology.org/format_3750 # YAML
- - ${task.process}:
type: string
description: The process the versions were collected from
- fastqc:
type: string
description: The tool name
- fastqc --version | sed "/FastQC v/!d; s/.*v//:
type: string
description: The command used to generate the version of the tool
authors:
- "@drpatelh"
- "@grst"
Expand Down
Loading
Loading