Repository navigation
feat(ProteomicsLFQ): accept .idparquet (and .mzId) as ID input - #9236
Conversation
Allow ProteomicsLFQ -ids to take .idparquet directories alongside the existing .idXML. As a drive-by, also wire MZIDENTML into the loadIdentifications type list so .mzId — already advertised in setValidFormats_ — is actually loadable rather than rejected at load time. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
17eaa51 to
01ed94c
Compare
📝 WalkthroughWalkthroughThe PR expands ProteomicsLFQ's identification input validation and file-type support. The Changes
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 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 the current code and only fix it if needed.
Inline comments:
In `@src/topp/ProteomicsLFQ.cpp`:
- Line 176: The tool's help/docs still list only "idXML/mzIdentML" despite
enabling idparquet via setValidFormats_("ids",
ListUtils::create<String>("idXML,mzId,idparquet")); — update the user-facing
input description for the "ids" parameter in ProteomicsLFQ.cpp (the
help/description string that advertises idXML/mzIdentML) to include idparquet so
the tool page and --help output reflect the new supported format; ensure any
related usage/help text mentions "idparquet" consistently.
🪄 Autofix (Beta)
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
Run ID: b3897f4e-6689-4721-b974-3d06f72b30d3
📒 Files selected for processing (1)
src/topp/ProteomicsLFQ.cpp
| "To obtain well calibrated PEPs and an initial reduction of PSMs\n" | ||
| "ID files must be provided in same order as spectra files."); | ||
| setValidFormats_("ids", ListUtils::create<String>("idXML,mzId")); | ||
| setValidFormats_("ids", ListUtils::create<String>("idXML,mzId,idparquet")); |
There was a problem hiding this comment.
Update user-facing tool docs to mention idparquet input support.
Line 176 correctly enables idparquet, but the tool page input description in this file still advertises only idXML/mzIdentML. Please align the docs/help text so users discover the new format.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@src/topp/ProteomicsLFQ.cpp` at line 176, The tool's help/docs still list only
"idXML/mzIdentML" despite enabling idparquet via setValidFormats_("ids",
ListUtils::create<String>("idXML,mzId,idparquet")); — update the user-facing
input description for the "ids" parameter in ProteomicsLFQ.cpp (the
help/description string that advertises idXML/mzIdentML) to include idparquet so
the tool page and --help output reflect the new supported format; ensure any
related usage/help text mentions "idparquet" consistently.
) Allow IsobaricWorkflow -in_id to take .idparquet directories and .mzId files alongside the existing .idXML, mirroring the recent ProteomicsLFQ change in #9236. Also pass an explicit type list to loadIdentifications so the loader actually accepts the new formats rather than rejecting them at load time. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Added entries for: - Perf: BrukerTimsFile FrameAggregator boost::unordered_flat_map (#9243) - Native .featureparquet and .consensusparquet formats (#9242) - IsobaricWorkflow: .idparquet and .mzId input support (#9241) - IDMerger: fix preserved input file order (#9240) - PercolatorAdapter: fix in-process post-filter (#9240) - IDRipper: .idparquet input/output support (#9237) - ProteomicsLFQ: .idparquet and .mzId input support (#9236) - FileTypes::FEATUREPARQUET, FileTypes::CONSENSUSPARQUET in Library section (#9242) Co-authored-by: GitHub Copilot <[email protected]> Co-authored-by: Copilot <[email protected]>
Added entries for: - IDRipper .idparquet input/output support (#9237) - FEATUREPARQUET and CONSENSUSPARQUET file types (#9242) - BrukerTimsFile FrameAggregator perf improvement with boost::unordered_flat_map (#9243) - PercolatorAdapter: fix post-filters on in-process backend (#9240) - IDMerger: fix input file order preservation (#9240) - ProteomicsLFQ: .idparquet/.mzId input support (#9236) - IsobaricWorkflow: .idparquet/.mzId input support (#9241) - wnetalign/wnet/pylmcf FetchContent dependencies (#8992) - OpenMS Library: FileTypes::FEATUREPARQUET/CONSENSUSPARQUET (#9242) - OpenMS Library: FeatureGroupingAlgorithmWNet and WNetMatcher (#8992) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: timosachsenberg <[email protected]>
Summary
ProteomicsLFQ -idsnow accepts.idparquetdirectories alongside the existing.idXML.MZIDENTMLinto theloadIdentificationstype list so.mzId— already advertised insetValidFormats_— is actually loadable rather than rejected at load time.Three lines of change in
src/topp/ProteomicsLFQ.cpp.Depends on
Test plan
ctest -R TOPP_ProteomicsLFQ— 66/66 pass with the existing idXML fixtures.🤖 Generated with Claude Code
Summary by CodeRabbit
-idsparameter beyond the previously supported format.