Repository navigation
[PARAM,IO] Remove ProteinQuantifier ratio outputs - #9867
Conversation
Remove the opt-in -ratios and -ratiosSILAC parameters and their legacy CSV columns. Keep abundance outputs as the downstream input for statistical contrasts. Closes OpenMS#9853
📝 WalkthroughWalkthroughProteinQuantifier’s legacy ChangesProteinQuantifier ratio removal
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/topp/ProteinQuantifier.cpp`:
- Line 530: Add replacement TOPP coverage for the removed ratio contract: verify
that using -ratios or -ratiosSILAC fails with an unknown-option error, and
verify protein CSV output contains no ratio headers while retaining the
abundance columns. Add or update the relevant test rather than skipping
coverage, using the existing TOPP test symbols and fixtures.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 048b1174-74a1-48f4-b961-2d8179e71389
📒 Files selected for processing (7)
CHANGELOGsrc/tests/topp/CMakeLists.txtsrc/tests/topp/ProteinQuantifier_12_output.txtsrc/tests/topp/ProteinQuantifier_13_output.txtsrc/tests/topp/ProteinQuantifier_29_output.txtsrc/tests/topp/ProteinQuantifier_30_output.txtsrc/topp/ProteinQuantifier.cpp
💤 Files with no reviewable changes (5)
- src/tests/topp/ProteinQuantifier_13_output.txt
- src/tests/topp/ProteinQuantifier_29_output.txt
- src/tests/topp/ProteinQuantifier_12_output.txt
- src/tests/topp/ProteinQuantifier_30_output.txt
- src/tests/topp/CMakeLists.txt
timosachsenberg
left a comment
There was a problem hiding this comment.
looks good.
|
Necessary to properly support techreps, bioreps, fractions. ratios can be calculated downstream (as done in other software) |
Summary
-ratiosand-ratiosSILACflagsratio_1..NandSILACratio_1..3CSV writer branchesWhy
These legacy convenience columns have no in-tree consumers and divide already-aggregated protein abundances, so they do not preserve the feature-level information that makes a SILAC ratio useful. They were also the sole reason for the missing-sample and header/body defects fixed temporarily in #9854.
Users can retain the full quantitative information through the existing
abundance_sample*columns and form contrasts in a downstream statistics layer such as MSstats.Existing command lines using either removed flag fail loudly as unknown options instead of silently producing a different table shape.
Verification
git diff --checksrc/topp,src/tests,doc, orshareCloses #9853
Summary by CodeRabbit
Breaking Changes
Tests