Skip to content

feat(qpx): migrate to bigbio/qpx/diann subtool (qpx 1.1.2, GHCR) - #114

Merged
ypriverol merged 6 commits into
devfrom
feat/qpx-diann-subtool
Aug 9, 2026
Merged

ypriverol merged 6 commits into
devfrom
feat/qpx-diann-subtool

Conversation

@ypriverol

@ypriverol ypriverol commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

This pull request updates and refactors the QPX module for DIA-NN output conversion, aligning it with the latest qpx version and improving maintainability. The main highlights are renaming and restructuring the module, updating dependencies and containers, and cleaning up related configuration and test files.

QPX module refactor and update:

  • Renamed the process and module from QPX_EXPORT to QPX_DIANN, including updates to all relevant code, workflow integration, and metadata (main.nf, meta.yml, workflows/dia.nf) [1] [2] [3] [4] [5].
  • Moved the module to modules/bigbio/qpx/diann/ and updated the source reference in modules.json.
  • Updated the QPX version to 1.1.2, switched the default container to use the GHCR image, and added a new environment.yml for the module [1] [2].

Parameter and command improvements:

  • Replaced the command-line options --duckdb-threads and --duckdb-max-memory with --max-cpus and --max-memory to match the updated QPX interface.

Dependency and configuration cleanup:

  • Removed the old environment.yml and test configuration for the previous QPX module version [1] [2].
  • Updated the required nf-core version to 4.1.0 and ensured new workflow files are included in lint checks (.nf-core.yml) [1] [2].

Test cleanup:

  • Removed outdated test files and snapshots for the old QPX module implementation [1] [2].## Summary

bigbio/nf-modules split the shared qpx module into subtools (bigbio/nf-modules#45). This migrates quantmsdiann's DIA-NN→QPX converter from the flat bigbio/qpx module to the new bigbio/qpx/diann subtool, and bumps qpx 1.0.2 → 1.1.1.

Changes

  • modules.json: bigbio/qpx → bigbio/qpx/diann (git_sha = the nf-modules feat: add DIA-NN scoring mode parameter (Generic/Proteoforms/Peptidoforms) #45 merge commit).
  • Module: vendor modules/bigbio/qpx/diann/ (process QPX_EXPORT → QPX_DIANN, qpxc convert diann, container ghcr.io/bigbio/qpx:1.1.1), remove the old flat modules/bigbio/qpx/{main.nf,meta.yml,environment.yml,tests}.
  • workflows/dia.nf: include path + process name + all .out.* references QPX_EXPORT → QPX_DIANN (inputs/emits unchanged).
  • conf/modules/shared.config: publishDir selector .*:QPX_EXPORT → .*:QPX_DIANN (the flat qpx/ layout is unchanged).

Why 1.1.1 matters

The old pin (1.0.2) predates the format-1.1 changes (flattened pg view, [peptidoform,charge,run,rt] PK, etc.). Bumping to 1.1.1 keeps quantmsdiann's published QPX schema-consistent with quantms (which now uses bigbio/qpx/openmsconsensus on the same 1.1.1), so both pipelines emit the same QPX format. Container is GHCR (available on release; BioContainers/Galaxy-depot lag) — matching the shared module and quantms.

Validation

nextflow inspect . -profile test_dia_qpx,docker parses cleanly; QPX_DIANN → ghcr.io/bigbio/qpx:1.1.1. No remaining QPX_EXPORT / bigbio/qpx/main references.

Related: bigbio/nf-modules#45, bigbio/quantms#725 (the quantms side), bigbio/qpx v1.1.1.

bigbio/nf-modules split the qpx module into subtools. Migrate the DIA-NN
converter from the flat bigbio/qpx (QPX_EXPORT, qpx 1.0.2 biocontainers)
to bigbio/qpx/diann (QPX_DIANN, qpx 1.1.1 GHCR):

- modules.json: qpx -> qpx/diann (git_sha a0742a8c)
- vendor modules/bigbio/qpx/diann; remove the old flat module
- dia.nf: include + call + emits QPX_EXPORT -> QPX_DIANN
- shared.config: publishDir selector QPX_EXPORT -> QPX_DIANN

Bumps qpx 1.0.2 -> 1.1.1 (flattened pg schema + latest converters),
keeping quantms + quantmsdiann on one shared qpx module. Validated via
'nextflow inspect -profile test_dia_qpx,docker'.
@coderabbitai

coderabbitai Bot commented Aug 6, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5b11e4ab-3abd-4501-8665-b4387db1e5eb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@qodo-code-review

Copy link
Copy Markdown

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

github-actions Bot commented Aug 6, 2026 •

Copy link
Copy Markdown

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 9bb2150

+| ✅ 108 tests passed       |+
#| ❔  19 tests were ignored |#
#| ❔   1 tests had warnings |#
!| ❗   4 tests had warnings |!
Details

❗ Test warnings:

  • files_exist - File not found: conf/igenomes.config
  • files_exist - File not found: conf/igenomes_ignored.config
  • files_exist - File not found: .github/workflows/awstest.yml
  • files_exist - File not found: .github/workflows/awsfulltest.yml

❔ Tests ignored:

❔ Tests fixed:

✅ Tests passed:

Run details

  • nf-core/tools version 4.1.0
  • Run at 2026-08-08 13:02:19

Match quantms's template version (4.1.0, the latest). The
template-version-comment workflow installs the pinned nf-core version
and posts an 'outdated' comment when it lags — that comment step needs
NF_CORE_BOT_AUTH_TOKEN (not configured in bigbio), so on 4.0.2 the check
failed. Aligning to 4.1.0 skips the comment (matches quantms).

Note: this bumps the recorded template version only; a full
'nf-core pipelines sync' to actually apply 4.0.2->4.1.0 template changes
is a separate follow-up.
@ypriverol
ypriverol requested a review from yueqixuan August 6, 2026 14:35
@ypriverol ypriverol self-assigned this Aug 7, 2026
@ypriverol ypriverol changed the title feat(qpx): migrate to bigbio/qpx/diann subtool (qpx 1.1.1, GHCR) feat(qpx): migrate to bigbio/qpx/diann subtool (qpx 1.1.2, GHCR) Aug 8, 2026
@ypriverol
ypriverol merged commit 21d2477 into dev Aug 9, 2026
59 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants