Skip to content

Feat/pmultiqc 0.0.46 rescoring 0.0.22 - #721

Merged
ypriverol merged 1 commit into
devfrom
feat/pmultiqc-0.0.46-rescoring-0.0.22
Jul 28, 2026
Merged

ypriverol merged 1 commit into
devfrom
feat/pmultiqc-0.0.46-rescoring-0.0.22

Conversation

@ypriverol

@ypriverol ypriverol commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

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).

Summary by CodeRabbit

  • New Features

    • Added the best_per_spectrum_only option to retain only the highest-scoring PSM per spectrum.
    • Added configurable resource handling for isobaric analysis and MSstats conversion.
    • Updated modification-localization settings with a simplified enable/disable option.
  • Bug Fixes

    • Updated MultiQC command options and container versions for improved compatibility.
    • Refreshed OpenMS and rescoring tool environments.
  • Chores

    • Advanced the pipeline version to 1.9.0dev.
    • Improved automated pull-request validation and reporting.

0.0.24 adds the get_default_scores None-guard (#93) that fixes
test_dda_id_fine_tuning (float(None) crash on a Comet PSM lacking MS:1002252,
seen with ms2rescore phospho/ETD data) plus the _worst_observed_score
object-dtype hardening (#95). 0.0.23 fixed the multi-engine numpy-truthiness
crash; 0.0.24 clears the last CI failure.
@qodo-code-review

Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@github-actions

Copy link
Copy Markdown

This PR is against the master branch ❌

  • Do not close this PR
  • Click Edit and change the base to dev
  • This CI test will remain failed until you push a new commit

Hi @ypriverol,

It looks like this pull-request is has been made against the bigbio/quantms master branch.
The master branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to master are only allowed if they come from the bigbio/quantms dev branch.

You do not need to close this PR, you can change the target branch to dev by clicking the "Edit" button at the top of this page.
Note that even after this, the test will continue to show as failing until you push a new commit.

Thanks again for your contribution!

@ypriverol
ypriverol changed the base branch from master to dev July 28, 2026 06:43
@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3e9cb41f-f9e6-4a91-897c-6bc3ddf81b2b

📥 Commits

Reviewing files that changed from the base of the PR and between 149493c and a34fe86.

📒 Files selected for processing (32)
  • .github/workflows/branch.yml
  • .github/workflows/linting.yml
  • .github/workflows/pr-comment.yml
  • .nf-core.yml
  • CHANGELOG.md
  • conf/dev.config
  • conf/modules/shared.config
  • conf/modules/verbose_modules.config
  • conf/pride_codon_slurm.config
  • modules/local/openms/comet/main.nf
  • modules/local/openms/file_merge/main.nf
  • modules/local/openms/file_merge/meta.yml
  • modules/local/openms/generate_decoy_database/main.nf
  • modules/local/openms/id_merger/main.nf
  • modules/local/openms/id_merger/meta.yml
  • modules/local/openms/isobaric_workflow/main.nf
  • modules/local/openms/msgf/main.nf
  • modules/local/openms/msstats_converter/main.nf
  • modules/local/openms/mzml_indexing/main.nf
  • modules/local/openms/openms_peak_picker/main.nf
  • modules/local/openms/percolator/main.nf
  • modules/local/openms/proteomicslfq/main.nf
  • modules/local/openms/sage/main.nf
  • modules/local/pmultiqc/main.nf
  • modules/local/utils/msrescore_features/main.nf
  • modules/local/utils/msrescore_fine_tuning/main.nf
  • modules/local/utils/psm_clean/main.nf
  • modules/local/utils/spectrum_features/main.nf
  • nextflow.config
  • nextflow_schema.json
  • nf-test.config
  • ro-crate-metadata.json

📝 Walkthrough

Walkthrough

The PR adds shared pull-request comment publishing, updates pipeline parameters and process behavior, refreshes execution containers and resource rules, and advances workflow, test, changelog, and RO-Crate metadata.

Changes

PR comment automation

Layer / File(s) Summary
Producer workflow checks and artifacts
.github/workflows/branch.yml, .github/workflows/linting.yml
Branch protection and linting workflows now create and upload standardized pr-comment artifacts.
Shared comment publisher
.github/workflows/pr-comment.yml
A workflow-run consumer validates downloaded artifacts and posts sticky PR comments when content is available.

Pipeline execution updates

Layer / File(s) Summary
Pipeline parameter and schema contracts
nextflow.config, nextflow_schema.json
Debug, localization, consensus, feature-mapping, and percolator parameters are revised, including best_per_spectrum_only.
Process command behavior
modules/local/openms/percolator/main.nf, modules/local/openms/msgf/main.nf, modules/local/pmultiqc/main.nf
Percolator, MSGF, and MultiQC command construction is updated.
Runtime container updates
conf/dev.config, modules/local/openms/*, modules/local/pmultiqc/main.nf, modules/local/utils/*
OpenMS, pmultiqc, and rescoring container versions are updated.
Resource and output configuration
conf/pride_codon_slurm.config, conf/modules/*.config
Resource formulas and publish directory selectors are changed for selected processes.

Release and validation metadata

Layer / File(s) Summary
Release version metadata
.nf-core.yml, nextflow.config, CHANGELOG.md
Workflow versions are advanced to 1.9.0dev and a matching changelog entry is added.
Test configuration and RO-Crate metadata
nf-test.config, ro-crate-metadata.json
nf-test syntax and triggers are expanded, and RO-Crate metadata is refreshed.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant PullRequest
  participant ProducerWorkflow
  participant WorkflowRunPublisher
  participant StickyCommentAction
  PullRequest->>ProducerWorkflow: trigger branch or lint workflow
  ProducerWorkflow->>WorkflowRunPublisher: upload pr-comment artifact
  WorkflowRunPublisher->>WorkflowRunPublisher: download and validate artifact
  WorkflowRunPublisher->>StickyCommentAction: post sticky pull request comment
Loading

Possibly related PRs

  • bigbio/quantms#549: Both changes modify publish directory rules in conf/modules/verbose_modules.config.
  • bigbio/quantms#625: Both changes modify the ID_MERGER process implementation.

Suggested labels: Review effort 4/5

Suggested reviewers: daichengxin, timosachsenberg

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/pmultiqc-0.0.46-rescoring-0.0.22

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ypriverol
ypriverol merged commit d2308f7 into dev Jul 28, 2026
25 of 29 checks passed
@github-actions

Copy link
Copy Markdown

nf-core pipelines lint overall result: Failed ❌

Posted for pipeline commit a34fe86

+| ✅ 118 tests passed       |+
#| ❔  17 tests were ignored |#
!| ❗   9 tests had warnings |!
-| ❌   2 tests failed       |-
Details

❌ Test failures:

❗ Test warnings:

  • pipeline_todos - TODO string in nextflow.config: Optionally, you can add a pipeline-specific nf-core config at https://github.com/nf-core/configs
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here
  • pipeline_todos - TODO string in CONTRIBUTING.md: Add any pipeline specific contribution guidelines here, such as coding styles, procedures, checklists etc.
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.
  • pipeline_if_empty_null - ifEmpty(null) found in /home/runner/work/quantms/quantms/lint_results.md: _* pipeline_if_empty_null - ifEmpty(null) found in /home/runner/work/quantms/quantms/subworkflows/local/dda_id/main.nf: _ ch_software_versions = ch_software_versions.mix(PHOSPHO_SCORING.out.versions.ifEmpty(null))
    _
  • pipeline_if_empty_null - ifEmpty(null) found in /home/runner/work/quantms/quantms/lint_results.md: _* pipeline_if_empty_null - ifEmpty(null) found in /home/runner/work/quantms/quantms/subworkflows/local/id/main.nf: _ ch_software_versions = ch_software_versions.mix(PHOSPHO_SCORING.out.versions.ifEmpty(null))
    _
  • pipeline_if_empty_null - ifEmpty(null) found in /home/runner/work/quantms/quantms/subworkflows/local/dda_id/main.nf: _ ch_software_versions = ch_software_versions.mix(PHOSPHO_SCORING.out.versions.ifEmpty(null))
    _
  • pipeline_if_empty_null - ifEmpty(null) found in /home/runner/work/quantms/quantms/subworkflows/local/id/main.nf: _ ch_software_versions = ch_software_versions.mix(PHOSPHO_SCORING.out.versions.ifEmpty(null))
    _

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 4.0.3
  • Run at 2026-07-28 06:45:19

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant