Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
cb7bbb6
topic channel migration local modules
jonasscheid Jan 8, 2026
3ceb970
migrate nf-core modules,subworkflows to topic channels
jonasscheid Jan 8, 2026
57c3e08
Add changelog entry for version 3.2.0
jonasscheid Jan 8, 2026
5702f5e
Initial plan
Copilot Jan 9, 2026
ecd9f94
Remove all cache buster comments from local modules
Copilot Jan 9, 2026
9b7245a
Merge pull request #433 from nf-core/copilot/sub-pr-431
jonasscheid Jan 9, 2026
f859ec4
update snapshots with correct versions
jonasscheid Jan 9, 2026
6ea4f5f
Merge branch 'dev' into topics
jonasscheid Jan 23, 2026
81d9698
sync nf-core modules and bump openms version
jonasscheid Jan 24, 2026
8867477
merge origin
jonasscheid Jan 24, 2026
6defe0a
port back nf-core to local: idmassaccuracy since module has been depr…
jonasscheid Jan 28, 2026
a8ed2fa
update nf-core modules (with version topics)
jonasscheid Jan 28, 2026
20e9a0b
rm idmassaccuracy from modules.json
jonasscheid Jan 28, 2026
04e7c58
Apply suggestions from code review
jonasscheid Jan 28, 2026
bd3903e
fix typo
jonasscheid Jan 28, 2026
87ecb8b
fix precommit
jonasscheid Jan 28, 2026
9e27576
Fix escaped backslash in idmassaccuracy version extraction
jonasscheid Jan 29, 2026
eb4b251
Add OPENMS_IDMASSACCURACY to test snapshots
jonasscheid Jan 29, 2026
859ae64
Update test_single_quant snapshot to 3.5.0 versions
jonasscheid Jan 29, 2026
6e8bd6e
Apply suggestion from @jonasscheid
jonasscheid Jan 29, 2026
3b35783
Fix OpenMS tool formatting to use multi-line style
jonasscheid Jan 29, 2026
91bb0f6
Update CHANGELOG.md
jonasscheid Jan 29, 2026
ae96114
Update subworkflows/local/rescore/main.nf
jonasscheid Jan 29, 2026
8ba585a
Update subworkflows/local/rescore/main.nf
jonasscheid Jan 29, 2026
98fd653
Update modules/local/openms/featurefinderidentification/main.nf
jonasscheid Jan 29, 2026
17e6397
Update subworkflows/local/rescore/main.nf
jonasscheid Jan 29, 2026
c767225
Update subworkflows/local/prepare_spectra/main.nf
jonasscheid Jan 29, 2026
d7a9324
Apply suggestion from @jonasscheid
jonasscheid Jan 29, 2026
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fixed an issue where stripping the sequence in `SUMMARIZE_RESULTS` did not work for complex modifications [#436](https://github.com/nf-core/mhcquant/pull/436)

### `Changed`

- Migrate to topic channels [#431](https://github.com/nf-core/mhcquant/pull/431)

### `Dependencies`

| Dependency | Old version | New version |
| ---------- | ----------- | ----------- |
| `MultiQC` | 1.31.0 | 1.33.0 |
| `Nf-core` | 3.4.1 | 3.5.1 |
| `openms` | 3.4.1 | 3.5.0 |

## 3.1.0 - BlüBa - 07/01/26

### `Added`
Expand Down
29 changes: 12 additions & 17 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,67 +7,62 @@
"nf-core": {
"gunzip": {
"branch": "master",
"git_sha": "41dfa3f7c0ffabb96a6a813fe321c6d1cc5b6e46",
"git_sha": "96c57dfd98a0641886a67bd449fe33ee2ec0e374",
"installed_by": ["modules"]
},
"multiqc": {
"branch": "master",
"git_sha": "af27af1be706e6a2bb8fe454175b0cdf77f47b49",
"git_sha": "5bdb098216aaf5df9c3b6343e6204cd932503c16",
"installed_by": ["modules"]
},
"openms/decoydatabase": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openms/filefilter": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openms/idfilter": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"installed_by": ["modules"]
},
"openms/idmassaccuracy": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openms/idmerger": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openms/idripper": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openms/idscoreswitcher": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openms/peakpickerhires": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openms/peptideindexer": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"openmsthirdparty/cometadapter": {
"branch": "master",
"git_sha": "0c47e4193ddde2c5edbc206b5420cbcbee5c9797",
"git_sha": "ca1cd2456f36c913fb3cfb6bdfbf9d1794fd493b",
"installed_by": ["modules"]
},
"thermorawfileparser": {
"branch": "master",
"git_sha": "41dfa3f7c0ffabb96a6a813fe321c6d1cc5b6e46",
"git_sha": "daaecc3478d6f6ad9cb8f48ec7d657ab6c67877f",
"installed_by": ["modules"]
}
}
Expand Down
12 changes: 1 addition & 11 deletions modules/local/easypqp/convert/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ process EASYPQP_CONVERT {
output:
tuple val(meta), path("*.psmpkl") , emit: psmpkl
tuple val(meta), path("*.peakpkl"), emit: peakpkl
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('easypqp'), eval("easypqp --version 2>&1 | grep -oP '(?<=easypqp, version )\\d+\\.\\d+\\.\\d+'"), emit: versions, topic: versions

when:
task.ext.when == null || task.ext.when
Expand All @@ -32,11 +32,6 @@ process EASYPQP_CONVERT {
--spectra $spectra \\
--unimod $unimod \\
$args

cat <<-END_VERSIONS > versions.yml
"${task.process}":
easypqp: \$(easypqp --version 2>&1 | grep -oP '(?<=easypqp, version )\\d+\\.\\d+\\.\\d+')
END_VERSIONS
"""

stub:
Expand All @@ -49,10 +44,5 @@ process EASYPQP_CONVERT {

touch "${prefix}.psmpkl"
touch "${prefix}.peakpkl"

cat <<-END_VERSIONS > versions.yml
"${task.process}":
easypqp: \$(easypqp --version 2>&1 | grep -oP '(?<=easypqp, version )\\d+\\.\\d+\\.\\d+')
END_VERSIONS
"""
}
12 changes: 1 addition & 11 deletions modules/local/easypqp/library/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process EASYPQP_LIBRARY {

output:
tuple val(meta), path("*.tsv") , emit: tsv
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('easypqp'), eval("easypqp --version 2>&1 | grep -oP '(?<=easypqp, version )\\d+\\.\\d+\\.\\d+'"), emit: versions, topic: versions

when:
task.ext.when == null || task.ext.when
Expand All @@ -30,11 +30,6 @@ process EASYPQP_LIBRARY {
--out ${prefix}_speclib.tsv \
$args \
$psmpkl $peakpkl

cat <<-END_VERSIONS > versions.yml
"${task.process}":
easypqp: \$(easypqp --version 2>&1 | grep -oP '(?<=easypqp, version )\\d+\\.\\d+\\.\\d+')
END_VERSIONS
"""

stub:
Expand All @@ -46,10 +41,5 @@ process EASYPQP_LIBRARY {
mkdir -p \$MPLCONFIGDIR \$XDG_CACHE_HOME

touch "${prefix}_speclib.tsv"

cat <<-END_VERSIONS > versions.yml
"${task.process}":
easypqp: \$(easypqp --version 2>&1 | grep -oP '(?<=easypqp, version )\\d+\\.\\d+\\.\\d+')
END_VERSIONS
"""
}
12 changes: 1 addition & 11 deletions modules/local/epicore/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ process EPICORE {
path "${result_tsv}", emit: final_epicore_tsv
path "epicore_length_distribution.html", emit: length_dist
path "epicore_intensity_histogram.html", emit: intensity_hist
path "versions.yml", emit: versions
tuple val("${task.process}"), val('epicore'), eval("echo \$(epicore --version) | grep 'epicore' | cut -d ' ' -f3 | cut -c2-"), emit: versions, topic: versions

script:
def args = task.ext.args ?: ''
Expand All @@ -32,11 +32,6 @@ process EPICORE {
# Add epicore statistics to MultiQC general stats table
wc -l < epitopes.csv | awk '{print \$1 - 1}' > epicores.txt
awk 'NR==1 {print \$0 ",# Epicores"; next} NR==2 {getline extra < "epicores.txt"; print \$0 "," extra}' $general_stats > _modified_$general_stats

cat <<-END_VERSIONS > versions.yml
"${task.process}":
epicore: \$(echo \$(epicore --version) | grep 'epicore' | cut -d ' ' -f3 | cut -c2-)
END_VERSIONS
"""

stub:
Expand All @@ -47,10 +42,5 @@ process EPICORE {
touch ${prefix}.tsv
touch epicore_length_distribution.html
touch epicore_intensity_hist.html

cat <<-END_VERSIONS > versions.yml
"${task.process}":
epicore: \$(echo \$(epicore --version) | grep 'epicore' | cut -d ' ' -f3 | cut -c2-)
END_VERSIONS
"""
}
12 changes: 1 addition & 11 deletions modules/local/ms2rescore/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ process MS2RESCORE {
tuple val(meta), path("*ms2rescore.idXML") , emit: idxml
tuple val(meta), path("*feature_names.tsv"), emit: feature_names
tuple val(meta), path("*.html" ) , optional:true, emit: html
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('MS2Rescore'), eval("echo \"\$(ms2rescore --version 2>&1)\" | grep -oP 'MS²Rescore \\(v\\K[^\\)]+'"), emit: versions, topic: versions

when:
task.ext.when == null || task.ext.when
Expand All @@ -33,11 +33,6 @@ process MS2RESCORE {
--output_path ${prefix}.idXML \\
--processes $task.cpus \\
$args

cat <<-END_VERSIONS > versions.yml
"${task.process}":
MS²Rescore: \$(echo \$(ms2rescore --version 2>&1) | grep -oP 'MS²Rescore \\(v\\K[^\\)]+' ))
END_VERSIONS
"""

stub:
Expand All @@ -47,10 +42,5 @@ process MS2RESCORE {
touch ${prefix}.idXML
touch ${meta.id}_feature_names.tsv
touch ${meta.id}.html

cat <<-END_VERSIONS > versions.yml
"${task.process}":
MS²Rescore: \$(echo \$(ms2rescore --version 2>&1) | grep -oP 'MS²Rescore \\(v\\K[^\\)]+' ))
END_VERSIONS
"""
}
19 changes: 5 additions & 14 deletions modules/local/openms/featurefinderidentification/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,29 @@ process OPENMS_FEATUREFINDERIDENTIFICATION {

output:
tuple val(meta), path("*.featureXML"), emit: featurexml
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('openms'), eval("FileInfo --help 2>&1 | grep -E '^Version' | sed 's/^.*Version: //; s/-.*\$//' | sed 's/ -*//; s/ .*\$//'"), emit: versions_featurefinderidentification, topic: versions

when:
task.ext.when == null || task.ext.when

script:
def prefix = task.ext.prefix ?: "${meta.id}_${meta.sample}_${meta.condition}"
def args = task.ext.args ?: ''
def quant_fdr = params.quantification_fdr ? "-id $id_int -id_ext $id_ext -svm:min_prob ${params.quantification_min_prob}" : "-id $id_ext"
args = args + " $quant_fdr"
def args = quant_fdr
args = args + (task.ext.args ? " ${task.ext.args}" : '')

"""
FeatureFinderIdentification -in $mzml \\
FeatureFinderIdentification \\
-in $mzml \\
-out ${prefix}.featureXML \\
-threads $task.cpus \\
$args

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

stub:
def prefix = task.ext.prefix ?: "${meta.id}_${meta.sample}_${meta.condition}"

"""
touch ${prefix}.featureXML

cat <<-END_VERSIONS > versions.yml
"${task.process}":
openms: \$(echo \$(FileInfo --help 2>&1) | sed 's/^.*Version: //; s/-.*\$//' | sed 's/ -*//; s/ .*\$//')
END_VERSIONS
"""
}
12 changes: 1 addition & 11 deletions modules/local/openms/idconflictresolver/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process OPENMS_IDCONFLICTRESOLVER {

output:
tuple val(meta), path("*.consensusXML"), emit: consensusxml
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('openms'), eval("FileInfo --help 2>&1 | grep -E '^Version' | sed 's/^.*Version: //; s/-.*\$//' | sed 's/ -*//; s/ .*\$//'"), emit: versions, topic: versions

when:
task.ext.when == null || task.ext.when
Expand All @@ -25,22 +25,12 @@ process OPENMS_IDCONFLICTRESOLVER {
-in $consensus \\
-out ${prefix}.consensusXML \\
-threads $task.cpus

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

stub:
def prefix = task.ext.prefix ?: "${meta.id}_resolved"

"""
touch ${prefix}.consensusXML

cat <<-END_VERSIONS > versions.yml
"${task.process}":
openms: \$(echo \$(FileInfo --help 2>&1) | sed 's/^.*Version: //; s/-.*\$//' | sed 's/ -*//; s/ .*\$//')
END_VERSIONS
"""
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process OPENMS_IDMASSACCURACY {
output:
tuple val(meta), path("*frag_mass_err.tsv") , emit: frag_err
tuple val(meta), path("*prec_mass_err.tsv") , emit: prec_err, optional: true
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('openms'), eval("FileInfo --help 2>&1 | sed -nE 's/^Version: ([0-9.]+).*/\\1/p'"), emit: versions_openms, topic: versions

when:
task.ext.when == null || task.ext.when
Expand All @@ -29,11 +29,6 @@ process OPENMS_IDMASSACCURACY {
-out_fragment ${prefix}_frag_mass_err.tsv \\
-threads $task.cpus \\
$args

cat <<-END_VERSIONS > versions.yml
"${task.process}":
OpenMS: \$(FileInfo 2>&1 | grep -E '^Version(.*)' | cut -d ' ' -f 2 | cut -d '-' -f 1)
END_VERSIONS
"""

stub:
Expand All @@ -43,10 +38,5 @@ process OPENMS_IDMASSACCURACY {
"""
touch ${prefix}_frag_mass_err.tsv
touch ${prefix}_prec_mass_err.tsv

cat <<-END_VERSIONS > versions.yml
"${task.process}":
OpenMS: \$(FileInfo 2>&1 | grep -E '^Version(.*)' | cut -d ' ' -f 2 | cut -d '-' -f 1)
END_VERSIONS
"""
}
Loading