Repository navigation
[DOC] Correct the qpx converter survey in the pg run_file_name TODO (#9817) - #9821
Merged
Merged
Conversation
…9817) The TODO added in eafaa82 states that qpx's own converters "emit a stable non-empty token ("unknown" / the mzid basename / "combined")" for a protein group with no single origin run. Checking the converters directly, that is wrong in two ways. No converter emits the literal "combined" as a run_file_name value. The string appears in docs/spec/tool-mappings.md's MaxQuant column and in FragPipe's combined_protein.tsv filename and its "Combined Total Peptides" columns, but never as a value. MaxQuant's "unknown" is a fallback for input carrying no per-sample intensity columns at all, not a cross-run encoding. More importantly, the framing is misleading: qpx has no cross-run encoding to copy. pg.md mandates one row per protein group PER RUN and requires converters to melt wide-format columns into separate rows keyed by run_file_name, and its four quantitative converters (MaxQuant, FragPipe, DIA-NN, quantms) all do that, taking run identity from per-run intensity columns. Only mzIdentML - the one identification-only converter, i.e. exactly the shape this branch produces - emits a single global row per group, labelled with the source file basename. Upstream therefore answers this question two incompatible ways. Also record that melting is available here without quantification: the peptide loop below already matches peptides to this run, and each one's origin file is recoverable via Constants::UserParam::ID_MERGE_INDEX. Comment only; no behaviour change. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DF2YUewPQTC5tJWqn23pUm
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughChangesQPX export documentation
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
2 tasks done
This was referenced Jul 30, 2026
timosachsenberg
added a commit
that referenced
this pull request
Jul 30, 2026
Audited recently merged develop PRs against CHANGELOG (last backfill attempt was #9811/#9806, covering up to #9803). Four merged PRs since then were missing entries: #9824 (IsobaricWorkflow empty-feature pruning fix), #9523 (new CI build/release workflows), #9812 (pyOpenMS docstring fixes) and #9798 (Bioconda nightly deploy fix, whose two prior backfill attempts were closed unmerged). #9821 (internal TODO-comment correction, no behavior/doc change) and #9805/#9803 (test-only / already covered by the #9792 write-up) were left out, consistent with this repo's convention of not logging test-infrastructure-only or already-documented changes. Claude-Session: https://claude.ai/code/session_01WU21QuzvxLH5BuSxatVikX Co-authored-by: Claude <[email protected]>
timosachsenberg
added a commit
that referenced
this pull request
Aug 3, 2026
…9835, #9836 (#9841) Backfills the QPX export spec-conformance series, the macOS PKG notarization fix, and the Windows GUI DLL export fix that merged into develop without changelog entries. #9805 and #9821 were intentionally skipped (test-only / comment-only, no user-visible behavior change), and #9818 was already documented. Claude-Session: https://claude.ai/code/session_0118Yt3TZEMzhMhH6FwZPDVt Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comment-only follow-up to #9818. No behaviour change.
The
TODO(#9817)added in eafaa82 states that qpx's own converters "emit a stable non-empty token ("unknown"/ the mzid basename /"combined")" for a protein group with no single origin run. Checking the converters directly, that is wrong in two ways.No converter emits the literal
combined. The string appears indocs/spec/tool-mappings.md's MaxQuant column and in FragPipe'scombined_protein.tsvfilename and itsCombined Total Peptidescolumns, but never as arun_file_namevalue. MaxQuant's"unknown"is a fallback for input carrying no per-sample intensity columns at all, not a cross-run encoding.More importantly, the framing is misleading — qpx has no cross-run encoding to copy.
pg.mdmandates one row per protein group per run and requires converters to melt wide-format columns into separate rows keyed byrun_file_name. Its four quantitative converters (MaxQuant, FragPipe, DIA-NN, quantms) all do that, taking run identity from per-run intensity columns. Only mzIdentML — the one identification-only converter, i.e. exactly the shape this branch produces — emits a single global row per group, labelled with the source file basename. Upstream answers the question two incompatible ways.The comment now says that, and additionally records that melting is available to us without quantification: the peptide loop directly below already matches peptides to this run, and each one's origin file is recoverable via
Constants::UserParam::ID_MERGE_INDEX. That turns "unresolved upstream" into a concrete starting point for whoever implements the decision.Raised upstream in bigbio/qpx#51 (bigbio/qpx#51 (comment)); tracked in #9817 and #9820.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DF2YUewPQTC5tJWqn23pUm
Summary by CodeRabbit