Skip to content

feat(ProteomicsLFQ): accept .idparquet (and .mzId) as ID input - #9236

Merged
timosachsenberg merged 1 commit into
OpenMS:developfrom
timosachsenberg:feat/proteomicslfq-idparquet
Apr 29, 2026
Merged

timosachsenberg merged 1 commit into
OpenMS:developfrom
timosachsenberg:feat/proteomicslfq-idparquet

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • ProteomicsLFQ -ids now accepts .idparquet directories alongside the existing .idXML.
  • Drive-by: also wires MZIDENTML into the loadIdentifications type list so .mzId — already advertised in setValidFormats_ — 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.
  • CI / nightly with idparquet-input fixture (no fixture added in this PR; existing tests still cover the idXML path).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added support for IDPARQUET and MZIDENTML file formats for identification data input, extending the accepted file types for the -ids parameter beyond the previously supported format.

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]>
@timosachsenberg
timosachsenberg force-pushed the feat/proteomicslfq-idparquet branch from 17eaa51 to 01ed94c Compare April 28, 2026 20:42
@coderabbitai

coderabbitai Bot commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The PR expands ProteomicsLFQ's identification input validation and file-type support. The -ids parameter now accepts idparquet format alongside existing formats, and the internal loadAndCleanupIDFile_ method updates its allowed file types from IDXML only to include MZIDENTML and IDPARQUET.

Changes

Cohort / File(s) Summary
ID Format Support
src/topp/ProteomicsLFQ.cpp
Expanded identification file format acceptance: updated -ids input validation to include idparquet, and modified loadAndCleanupIDFile_ to accept IDXML, MZIDENTML, and IDPARQUET formats. Existing validation and processing flows remain unchanged.

Possibly related PRs

Suggested reviewers

  • jpfeuffer

Poem

🐰 Hop, hop—new formats bloom!
Parquet joins MZID in the room,
One file expanded, three types now seen,
ProteomicsLFQ's loader grows keen!
A simple change, but oh so neat.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and specifically describes the main change: expanding ProteomicsLFQ's -ids input validation to accept .idparquet and .mzId formats in addition to the existing .idXML support.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


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 and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between d391abb and 01ed94c.

📒 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"));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

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.

@timosachsenberg
timosachsenberg merged commit b24a93d into OpenMS:develop Apr 29, 2026
38 checks passed
timosachsenberg added a commit that referenced this pull request Apr 29, 2026
)

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]>
timosachsenberg pushed a commit that referenced this pull request Apr 30, 2026
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]>
timosachsenberg added a commit that referenced this pull request Apr 30, 2026
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]>
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.

1 participant