Repository navigation
feat(qpx): migrate to bigbio/qpx/diann subtool (qpx 1.1.2, GHCR) - #114
Conversation
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'.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
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.
This pull request updates and refactors the QPX module for DIA-NN output conversion, aligning it with the latest
qpxversion 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:
QPX_EXPORTtoQPX_DIANN, including updates to all relevant code, workflow integration, and metadata (main.nf,meta.yml,workflows/dia.nf) [1] [2] [3] [4] [5].modules/bigbio/qpx/diann/and updated the source reference inmodules.json.1.1.2, switched the default container to use the GHCR image, and added a newenvironment.ymlfor the module [1] [2].Parameter and command improvements:
--duckdb-threadsand--duckdb-max-memorywith--max-cpusand--max-memoryto match the updated QPX interface.Dependency and configuration cleanup:
environment.ymland test configuration for the previous QPX module version [1] [2].nf-coreversion to4.1.0and ensured new workflow files are included in lint checks (.nf-core.yml) [1] [2].Test cleanup:
bigbio/nf-modulessplit the sharedqpxmodule into subtools (bigbio/nf-modules#45). This migrates quantmsdiann's DIA-NN→QPX converter from the flatbigbio/qpxmodule to the newbigbio/qpx/diannsubtool, 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).modules/bigbio/qpx/diann/(processQPX_EXPORT→QPX_DIANN,qpxc convert diann, containerghcr.io/bigbio/qpx:1.1.1), remove the old flatmodules/bigbio/qpx/{main.nf,meta.yml,environment.yml,tests}.workflows/dia.nf: include path + process name + all.out.*referencesQPX_EXPORT→QPX_DIANN(inputs/emits unchanged).conf/modules/shared.config: publishDir selector.*:QPX_EXPORT→.*:QPX_DIANN(the flatqpx/layout is unchanged).Why 1.1.1 matters
The old pin (1.0.2) predates the format-1.1 changes (flattened
pgview,[peptidoform,charge,run,rt]PK, etc.). Bumping to 1.1.1 keeps quantmsdiann's published QPX schema-consistent with quantms (which now usesbigbio/qpx/openmsconsensuson 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,dockerparses cleanly;QPX_DIANN → ghcr.io/bigbio/qpx:1.1.1. No remainingQPX_EXPORT/bigbio/qpx/mainreferences.Related: bigbio/nf-modules#45, bigbio/quantms#725 (the quantms side), bigbio/qpx v1.1.1.