Skip to content

Release 1.6.0 - #574

Merged
ypriverol merged 59 commits into
masterfrom
dev
Aug 14, 2025
Merged

ypriverol merged 59 commits into
masterfrom
dev

Conversation

@ypriverol

@ypriverol ypriverol commented Aug 13, 2025 •

Copy link
Copy Markdown
Contributor

User description

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the bigbio/quantms branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

PR Type

Enhancement


Description

  • Release version 1.6.0 with major improvements

  • Updated nf-core template to 3.3.2

  • Enhanced MS2 rescoring with AlphaPeptDeep support

  • Fixed multiple bugs in pmultiqc library


Diagram Walkthrough

flowchart LR
  A["Version 1.5.0"] --> B["Template Update 3.3.2"]
  B --> C["MS2 Rescoring Enhancement"]
  C --> D["Bug Fixes"]
  D --> E["Version 1.6.0 Release"]
  C --> F["AlphaPeptDeep Integration"]
  D --> G["pMultiQC Updates"]
Loading

File Walkthrough

Relevant files
Configuration changes
8 files
ro-crate-metadata.json
Update metadata for version 1.6.0 release                               
+70/-62 
nextflow.config
Update version and MS2 rescoring parameters                           
+23/-12 
linting.yml
Update Python version and workflow configuration                 
+7/-10   
nextflow_schema.json
Update MS2 rescoring parameter schema                                       
+15/-3   
meta.yml
Update module metadata structure                                                 
+28/-14 
base.config
Add GPU support and error handling                                             
+5/-4     
multiqc_config.yml
Update MultiQC configuration for pmultiqc                               
+12/-9   
.nf-core.yml
Update nf-core version configuration                                         
+3/-2     
Documentation
5 files
README.md
Update documentation and citation information                       
+22/-28 
main.nf
Add comprehensive tool citations and bibliography               
+21/-14 
output.md
Minor documentation improvements                                                 
+2/-5     
meta.yml
Add metadata for DDA identification subworkflow                   
+55/-0   
CHANGELOG.md
Add version 1.6.0 changelog entries                                           
+21/-0   
Tests
2 files
action.yml
Add new nf-test GitHub action                                                       
+109/-0 
action.yml
Add shard management for test execution                                   
+69/-0   
Enhancement
1 files
main.nf
Update container and add new parameters                                   
+17/-4   
Dependencies
3 files
modules.json
Update module versions and dependencies                                   
+4/-14   
linting_comment.yml
Update action versions                                                                     
+2/-2     
main.nf
Update pmultiqc container version                                               
+2/-3     
Miscellaneous
1 files
main.nf
Add deprecation warning and update container                         
+11/-2   
Additional files
44 files
.editorconfig +0/-4     
CONTRIBUTING.md +1/-1     
ci.yml +1/-1     
clean-up.yml +1/-1     
fix_linting.yml +2/-2     
template-version-comment.yml +1/-1     
.pre-commit-config.yaml +20/-6   
.prettierrc.yml +5/-0     
msstats_utils.R +0/-8     
modules.config +1/-1     
main.nf [link]   
meta.yml +29/-0   
main.nf [link]   
meta.yml +36/-0   
environment.yml +3/-2     
dumpsoftwareversions.py +1/-4     
tags.yml +0/-2     
main.nf [link]   
meta.yml [link]   
main.nf.test [link]   
environment.yml +0/-5     
main.nf +0/-63   
meta.yml +0/-78   
main.nf.test +0/-92   
nextflow.config +0/-5     
tags.yml +0/-2     
nf-test.config +24/-0   
meta.yml +44/-0   
meta.yml +29/-0   
meta.yml +37/-0   
meta.yml +36/-0   
meta.yml +32/-0   
meta.yml +35/-0   
meta.yml +29/-0   
meta.yml +30/-0   
meta.yml +30/-0   
meta.yml +28/-0   
meta.yml +34/-0   
nextflow.config +1/-1     
.nftignore +11/-0   
default.nf.test +35/-0   
nextflow.config +14/-0   
dia.nf +7/-6     
quantms.nf +1/-1     

Summary by CodeRabbit

  • New Features

    • GPU profile added; DiANN Parquet output exposed; optional ms2rescore step with new flags to tune model selection.
  • Changes

    • Default m/z ranges set; pMultiQC data keys renamed and plot exports disabled; multiple container/tool versions and manifest/DOI/schema bumped.
  • Documentation

    • README, citations, badges, CHANGELOG and docs updated.
  • Chores

    • CI/test tooling expanded (sharding, nf-test, pinned actions, Python 3.13), many module/subworkflow manifests added, and formatting/prettier/editorconfig adjustments.

ypriverol and others added 30 commits May 30, 2025 19:37
increase dev version 1.6.0dev
Small patch with DIA precursor and fragment masses limits.
Template update 3.3.2 of nf-core an other minor updates

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

ypriverol and others added 3 commits August 13, 2025 22:20

This comment was marked as outdated.

@ypriverol
ypriverol marked this pull request as ready for review August 14, 2025 09:06
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 4 🔵🔵🔵🔵⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Possible Issue

The CLI flags and parameter names for ms2 rescore changed (e.g., ms2_model_dir, find_best_model, consider_modloss), but ensure the underlying container (quantms-rescoring:0.0.12) actually supports these exact options; otherwise the process will fail at runtime. Cross-check tool version/args compatibility.

"""
rescoring msrescore2feature \\
    --idxml $idxml \\
    --mzml $mzml \\
    --ms2_tolerance $ms2_tolerance \\
    --output ${idxml.baseName}_ms2rescore.idXML \\
    --ms2_model_dir ${params.ms2_model_dir} \\
    --processes $task.cpus \\
    ${find_best_model} \\
    ${force_model} \\
    ${consider_modloss} \\
    $args \\
    2>&1 | tee ${idxml.baseName}_ms2rescore.log
Behavior Change

export_plots is switched to false which stops embedding plot images in MultiQC output by default. Verify this is intentional for release and doesn’t break expected reports or downstream docs/tests that rely on exported plots.

export_plots: false
custom_logo: "./nf-core-quantms_logo_light.png"
Content Accuracy

Newly added tool citations/bibliography will render in MultiQC. Please verify references (titles, years, DOIs, and pMultiQC authorship) and that the in-text list formatting doesn’t duplicate trailing punctuation after the replaceAll sanitization.

    def citation_text = [
            "Tools used in the workflow included:",
            "OpenMS (Röst et al. 2016),",
            "DIA-NN (Demichev et al. 2020),",
            "MSstats (Choi et al. 2014),",
            "Comet (Eng et al. 2013),",
            "MS-GF+ (Kim & Pevzner 2014),",
            "ThermoRawFileParser (Hulstaert et al. 2020),",
            "Percolator (Käll et al. 2007),",
            "Luciphor (Fermin et al. 2017),",
            "pMultiQC (Perez-Riverol et al. 2024)",
            "."
        ].join(' ').trim()

    return citation_text
}

def toolBibliographyText() {
    def reference_text = [
            "<li>Röst HL, Sachsenberg T, Aiche S, Bielow C, Weisser H, Aicheler F, Andreotti S, Ehrlich HC, Gutenbrunner P, Kenar E, Liang X, Nahnsen S, Nilse L, Pfeuffer J, Rosenberger G, Rurik M, Schmitt U, Veit J, Walzer M, Wojnar D, Wolski WE, Schilling O, Choudhary JS, Malmström L, Aebersold R, Reinert K, Kohlbacher O. (2016). OpenMS: a flexible open-source software platform for mass spectrometry data analysis. Nature Methods, 13(9), 741–748. doi: 10.1038/nmeth.3959</li>",
            "<li>Demichev V, Messner CB, Vernardis SI, Lilley KS, Ralser M. (2020). DIA-NN: neural networks and interference correction enable deep proteome coverage in high throughput. Nature Methods, 17(1), 41-44. doi: 10.1038/s41592-019-0638-x</li>",
            "<li>Choi M, Chang CY, Clough T, Broudy D, Killeen T, MacLean B, Vitek O. (2014). MSstats: an R package for statistical analysis of quantitative mass spectrometry-based proteomic experiments. Bioinformatics, 30(17), 2524–2526. doi: 10.1093/bioinformatics/btu305</li>",
            "<li>Eng JK, Jahan TA, Hoopmann MR. (2013). Comet: an open-source MS/MS sequence database search tool. Proteomics, 13(1), 22–24. doi: 10.1002/pmic.201200439</li>",
            "<li>Kim S, Pevzner PA. (2014). MS-GF+ makes progress towards a universal database search tool for proteomics. Nature Communications, 5, 5277. doi: 10.1038/ncomms6277</li>",
            "<li>Hulstaert N, Shofstahl J, Sachsenberg T, Walzer M, Barsnes H, Martens L, Perez-Riverol Y. (2020). ThermoRawFileParser: Modular, Scalable, and Cross-Platform RAW File Conversion. Journal of Proteome Research, 19(1), 537-542. doi: 10.1021/acs.jproteome.9b00328</li>",
            "<li>Käll L, Canterbury JD, Weston J, Noble WS, MacCoss MJ. (2007). Semi-supervised learning for peptide identification from shotgun proteomics datasets. Nature Methods, 4(11), 923-925. doi: 10.1038/nmeth1113</li>",
            "<li>Fermin D, Walmsley SJ, Gingras AC, Choi H, Nesvizhskii AI. (2017). LuciPHOr2: site prediction of generic post-translational modifications from tandem mass spectrometry data. Bioinformatics, 33(19), 2926-2933. doi: 10.1093/bioinformatics/btx401</li>",
            "<li>Perez-Riverol Y, Moreno P, da Veiga Leprevost F, Csordas A, Bai J, Carver J, Hewapathirana S, Kundu DJ, Inuganti A, Griss J, Mayer G, Eisenacher M, Pérez E, Uszkoreit J, Pfeuffer J, Sachsenberg T, Yilmaz S, Tiwary S, Cox J, Audain E, Walzer M, Jarnuczak AF, Ternent T, Brazma A, Vizcaíno JA. (2024). pMultiQC: a comprehensive tool for quality control of proteomics data. Nature Methods, 21(1), 1-2. doi: 10.1038/s41592-023-02125-1</li>"
        ].join(' ').trim()

@qodo-code-review

qodo-code-review Bot commented Aug 14, 2025 •

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
Possible issue
Enforce mutually exclusive flags

--find_best_model and --force_model are mutually exclusive; running both can
cause undefined behavior. Enforce mutual exclusivity at runtime and fail fast if
both are set.

modules/local/utils/msrescore_features/main.nf [43-73]

+if (params.find_best_model && params.force_model) {
+    throw new IllegalArgumentException("Parameters 'find_best_model' and 'force_model' are mutually exclusive. Please set only one.")
+}
 if (params.find_best_model) {
     find_best_model = "--find_best_model"
 } else {
     find_best_model = ""
 }
-
 if (params.force_model) {
     force_model = "--force_model"
 } else {
     force_model = ""
 }
-
 if (params.consider_modloss) {
     consider_modloss = "--consider_modloss"
 } else {
     consider_modloss = ""
 }
 
 """
 rescoring msrescore2feature \\
     --idxml $idxml \\
     --mzml $mzml \\
     --ms2_tolerance $ms2_tolerance \\
     --output ${idxml.baseName}_ms2rescore.idXML \\
     --ms2_model_dir ${params.ms2_model_dir} \\
     --processes $task.cpus \\
     ${find_best_model} \\
     ${force_model} \\
     ${consider_modloss} \\
     $args \\
     2>&1 | tee ${idxml.baseName}_ms2rescore.log
  • Apply / Chat
Suggestion importance[1-10]: 8

__

Why: The suggestion correctly identifies that find_best_model and force_model are mutually exclusive parameters and adds a check to prevent them from being used together, which avoids potential runtime errors and improves the process's reliability.

Medium
Harden shard parsing and outputs

The parsing relies on a specific nf-test message and unquoted variables, which
can break and produce invalid JSON. Use strict bash settings, quote variables,
and fall back safely when parsing fails to ensure valid outputs.

.github/actions/get-shards/action.yml [27-69]

 - name: Get number of shards
   id: shards
   shell: bash
   run: |
+    set -euo pipefail
     # Run nf-test with dynamic parameter
-    nftest_output=$(nf-test test \
+    if ! nftest_output="$(nf-test test \
       --profile +docker \
       $(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
       --dry-run \
       --ci \
-      --changed-since HEAD^) || {
-        echo "nf-test command failed with exit code $?"
-        echo "Full output: $nftest_output"
-        exit 1
-    }
+      --changed-since HEAD^ 2>&1)"; then
+      echo "nf-test command failed"
+      echo "$nftest_output"
+      echo "shard=[]" >> "$GITHUB_OUTPUT"
+      echo "total_shards=0" >> "$GITHUB_OUTPUT"
+      exit 0
+    fi
     echo "nf-test dry-run output: $nftest_output"
 
-    # Default values for shard and total_shards
     shard="[]"
     total_shards=0
 
-    # Check if there are related tests
     if echo "$nftest_output" | grep -q 'No tests to execute'; then
       echo "No related tests found."
     else
-      # Extract the number of related tests
-      number_of_shards=$(echo "$nftest_output" | sed -n 's|.*Executed \([0-9]*\) tests.*|\1|p')
-      if [[ -n "$number_of_shards" && "$number_of_shards" -gt 0 ]]; then
-        shards_to_run=$(( $number_of_shards < ${{ inputs.max_shards }} ? $number_of_shards : ${{ inputs.max_shards }} ))
-        shard=$(seq 1 "$shards_to_run" | jq -R . | jq -c -s .)
+      number_of_shards="$(printf "%s" "$nftest_output" | sed -n 's|.*Executed \([0-9][0-9]*\) tests.*|\1|p' | head -n1)"
+      if [[ -n "${number_of_shards:-}" ]] && [[ "$number_of_shards" -gt 0 ]]; then
+        max_shards="${{ inputs.max_shards }}"
+        shards_to_run=$(( number_of_shards < max_shards ? number_of_shards : max_shards ))
+        shard="$(seq 1 "$shards_to_run" | jq -R . | jq -c -s .)"
         total_shards="$shards_to_run"
       else
         echo "Unexpected output format. Falling back to default values."
       fi
     fi
 
-    # Write to GitHub Actions outputs
-    echo "shard=$shard" >> $GITHUB_OUTPUT
-    echo "total_shards=$total_shards" >> $GITHUB_OUTPUT
-
-    # Debugging output
+    echo "shard=$shard" >> "$GITHUB_OUTPUT"
+    echo "total_shards=$total_shards" >> "$GITHUB_OUTPUT"
     echo "Final shard array: $shard"
     echo "Total number of shards: $total_shards"
  • Apply / Chat
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly improves the robustness of the shell script by adding set -euo pipefail, quoting variables, and handling the nf-test failure case more gracefully, which makes the action more reliable.

Medium
Add step id and safe output write

The step writes to $GITHUB_OUTPUT without declaring an id on the step, so
downstream steps cannot reference that output. Add an id and explicitly set the
output to avoid silent failures. Also ensure the echo runs only after successful
nf-test execution.

.github/actions/nf-test/action.yml [57-72]

 - name: Run nf-test
+  id: run_nftest
   shell: bash
   env:
     NFT_WORKDIR: ${{ env.NFT_WORKDIR }}
   run: |
+    set -euo pipefail
     nf-test test \
       --profile=+${{ inputs.profile }} \
       $(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
       --ci \
       --changed-since HEAD^ \
       --verbose \
       --tap=test.tap \
       --shard ${{ inputs.shard }}/${{ inputs.total_shards }}
+    echo "tap_file_path=$(realpath test.tap)" >> "$GITHUB_OUTPUT"
 
-      # Save the absolute path of the test.tap file to the output
-      echo "tap_file_path=$(realpath test.tap)" >> $GITHUB_OUTPUT
-
  • Apply / Chat
Suggestion importance[1-10]: 6

__

Why: The suggestion correctly identifies that adding set -euo pipefail improves script robustness, which is a valuable best practice for GitHub Actions.

Low
  • More

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🔭 Outside diff range comments (2)
nextflow.config (2)

259-267: Duplicate param key: config_profile_description set twice

config_profile_description appears twice in params (Lines 259–261 and 264–265). Redundant duplicates hurt readability.

     config_profile_name        = null
-    config_profile_description = null
+    config_profile_description = null
     ...
-    config_profile_description = null
     config_profile_contact     = null
     config_profile_url         = null

451-510: Duplicate manifest.homePage key and finalize version/doi

  • homePage is defined twice (Lines 453 and 503). Drop the duplicate to avoid confusion.
  • version is set to 1.6.0, doi updated — good.
 manifest {
     name            = 'bigbio/quantms'
-    homePage        = 'https://github.com/bigbio/quantms'
+    homePage        = 'https://github.com/bigbio/quantms'
     contributors    = [
       ...
     ]
-    homePage        = 'https://github.com/bigbio/quantms'
     description     = """Quantitative Mass Spectrometry nf-core workflow"""
♻️ Duplicate comments (2)
nextflow.config (1)

114-123: ms2rescore parameter rename defaulting looks good; check for lingering old names

The rename to ms2_model_dir/ms2_model and addition of find_best_model/consider_modloss are correctly represented here.

Run this to catch any remaining references to the old names across the repo:

#!/bin/bash
set -euo pipefail
echo "Searching for old ms2pip_* parameter names..."
rg -n "ms2pip_model(_dir)?"
echo
echo "Confirm new names are used consistently near their consumers:"
rg -n "ms2_model(_dir)?|find_best_model|consider_modloss" -A2 -B2
ro-crate-metadata.json (1)

189-189: Invalid Nextflow version string in ComputerLanguage.version

The “!>=24.10.5” value is not a valid semver constraint in RO-Crate context and can break downstream tooling.

-            "version": "!>=24.10.5"
+            "version": ">=24.10.5"
🧹 Nitpick comments (6)
CHANGELOG.md (2)

14-17: Grammar: “masses limits” → “mass limits”

Change “DIA precursor and fragment masses limits” to “DIA precursor and fragment mass limits.”

- Small patch with DIA precursor and fragment masses limits
+ Small patch with DIA precursor and fragment mass limits

20-25: Brevity and consistency in “Fixed”/“Dependencies”

  • Remove repeated “version” (“updated to version 0.0.33”).
  • Keep imperative style consistent.
- Multiple bugs fixed for pmultiqc library, multiple PRs, final version updated to version 0.0.33
+ Multiple bugs fixed for pmultiqc; final version updated to 0.0.33
nextflow.config (1)

363-367: GPU profile baseline is fine; consider documenting and tagging GPU processes

The profile enables GPU passthrough for Docker/Apptainer/Singularity.

  • Add a brief note in docs/usage.md about enabling GPUs (-profile gpu) and required drivers/toolkits.
  • Ensure GPU-requiring processes (e.g., AlphaPeptDeep, if any) are labeled so users can combine “-profile docker,gpu” without surprises (e.g., label 'gpu' with resource overrides if needed). I can propose label/resource stanzas if you list the GPU-capable processes.
ro-crate-metadata.json (3)

7-9: Release status and description link target

  • creativeWorkStatus: For a release, consider “Published” instead of “Stable” if you follow Schema.org-like semantics.
  • The “Launch on Seqera Platform” badge points to nf-core/quantms. Confirm if this is intentional for bigbio/quantms.

If you intended to link bigbio/quantms instead, update the URL accordingly.


9-9: Fix typos in description: “allows uses”, “Data dependant”

Two minor typos in the long description string:

  • “allows uses to perform analyses” → “allows users to perform analyses”
  • “Data dependant” → “Data dependent”

Given the single-line JSON string, here’s a minimal diff:

-**bigbio/quantms** allows uses to perform analyses of three main types
+**bigbio/quantms** allows users to perform analyses of three main types
-### DDA-LFQ (data-dependent label-free quantification)
+### DDA-LFQ (data-dependent label-free quantification)
-### DDA-ISO (data-dependent quantification via isobaric labelling)
+### DDA-ISO (data-dependent quantification via isobaric labelling)

Note: Please also correct the “Data dependant” occurrence near the DDA-LFQ/DDA-ISO headings if present in the string; the snippet above shows one canonical place for replacement.


312-341: Person capitalization and IDs

  • “chengxin Dai” should be capitalized as “Chengxin Dai”.
  • The local Person node with “@id": "#[email protected]" is acceptable for an internal identifier; ensure consistency across references.
  • Optional: add ORCID for Paez if available.
         {
             "@id": "https://orcid.org/0000-0001-6943-5211",
             "@type": "Person",
             "email": "[email protected]",
-            "name": "chengxin Dai"
+            "name": "Chengxin Dai"
         }
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these settings in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between fa2710f and df49f93.

📒 Files selected for processing (5)
  • .nf-core.yml (3 hunks)
  • CHANGELOG.md (1 hunks)
  • modules/local/pmultiqc/main.nf (1 hunks)
  • nextflow.config (4 hunks)
  • ro-crate-metadata.json (8 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • .nf-core.yml
  • modules/local/pmultiqc/main.nf
🧰 Additional context used
🪛 LanguageTool
CHANGELOG.md

[grammar] ~14-~14: There might be a mistake here.
Context: ...DIA precursor and fragment masses limits - [567](https://github.com/bigbio/quantms/p...

(QB_NEW_EN)


[grammar] ~15-~15: There might be a mistake here.
Context: ...ll/567) Update nf-core template to 3.3.2 - [560](https://github.com/bigbio/quantms/p...

(QB_NEW_EN)


[grammar] ~24-~24: There might be a mistake here.
Context: ...es` - Updated quantms-rescoring==0.0.12 - Updated pmultiqc==0.0.33 ## [1.5.0] big...

(QB_NEW_EN)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Singularity Tests (latest-everything, test_dda_id)
  • GitHub Check: Singularity Tests (latest-everything, test_dda_id)
  • GitHub Check: Run pipeline with test data (24.10.5, test_dda_id, docker)
🔇 Additional comments (6)
nextflow.config (4)

107-110: Confirm DIA mass limits default change is intended

You set concrete defaults for DIA mass ranges (was null before). This alters behavior for users not specifying them.

  • Ensure these defaults align with DIA-NN expectations and are documented in nextflow_schema.json and docs/parameters.
  • If these were previously null to let the tool auto-detect, consider adding a note in the changelog (migration/behavior change).

I can scan the schema and docs for mismatches if you want a quick verification script.


390-400: Offline-safe include guard LGTM

The conditional include for custom configs with NXF_OFFLINE check is robust.


507-508: Note on “!>=” constraint

The nf-core style nextflowVersion string uses a leading “!”: '!>=24.10.5'. This is intentional in nf-core templates and OK here. Ensure external metadata (e.g., ro-crate) doesn’t carry the “!” where consumers expect a plain semver constraint.


514-515: nf-schema plugin bump LGTM

Upgrading to [email protected] matches the template 3.3.2.

ro-crate-metadata.json (2)

171-177: Versions in main.nf entry are consistent

name/url/version align with release 1.6.0 and nf-co.re URL.


1-3: RO-Crate context simplification LGTM

Using the single URL context is standard and fine.

Comment thread CHANGELOG.md Resolved
Comment thread ro-crate-metadata.json Resolved

@enryH enryH left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see a lot of code rabbit suggestion on configuration files. Did you see these? I am not sure if all are relevant, but some sound valid to me.

Comment thread .github/actions/get-shards/action.yml Resolved
Comment thread nextflow.config Resolved
Comment thread nextflow_schema.json Resolved
Comment thread nextflow_schema.json Resolved
@ypriverol

Copy link
Copy Markdown
Contributor Author

I see a lot of code rabbit suggestion on configuration files. Did you see these? I am not sure if all are relevant, but some sound valid to me.

Most of the suggestions are related to nf-core Templates. I hesitate to take action on that because merging in the future, other templates will be a nightmare.

@ypriverol
ypriverol requested review from Copilot and enryH August 14, 2025 11:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR releases version 1.6.0 of the quantms pipeline with major improvements including updated nf-core template to 3.3.2, enhanced MS2 rescoring with AlphaPeptDeep support, and multiple bug fixes in the pmultiqc library.

  • Updated nf-core template to version 3.3.2 for improved infrastructure
  • Enhanced MS2 rescoring with AlphaPeptDeep integration and new configuration options
  • Fixed multiple bugs in pmultiqc library and updated to version 0.0.33

Reviewed Changes

Copilot reviewed 61 out of 71 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
nextflow.config Update version to 1.6.0 and add new MS2 rescoring parameters
nextflow_schema.json Add schema definitions for new MS2 rescoring parameters
workflows/quantms.nf Update DIA workflow to output parquet files instead of final result
workflows/dia.nf Add new diann_report_parquet output channel
modules/local/utils/msrescore_features/main.nf Update container and add new model parameters
subworkflows/local/utils_nfcore_quantms_pipeline/main.nf Add comprehensive tool citations and bibliography
ro-crate-metadata.json Update metadata for version 1.6.0 release
conf/base.config Add GPU support and improve error handling
assets/multiqc_config.yml Update MultiQC configuration for pmultiqc

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@enryH enryH left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. just note that the command line argument is not the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants