Skip to content

[FEATURE] IsobaricWorkflow: accept Thermo .raw and Bruker .d input - #10455

Merged
timosachsenberg merged 2 commits into
OpenMS:developfrom
jpfeuffer:isobaricworkflow-vendor-input
Oct 8, 2026
Merged

timosachsenberg merged 2 commits into
OpenMS:developfrom
jpfeuffer:isobaricworkflow-vendor-input

Conversation

@jpfeuffer

Copy link
Copy Markdown
Contributor

Description

IsobaricWorkflow only accepted mzML (setValidFormats_("in", {"mzML"}) + MzMLFile().load). It now reads vendor runs natively, the same way IsobaricAnalyzer and ProteomicsLFQ do:

  • -in accepts .raw (under WITH_THERMO_RAW) and .d (under WITH_OPENTIMS), besides mzML.
    • .d is read via BrukerTimsFile with MS1 centroiding (as IsobaricAnalyzer does).
    • Everything else goes through FileHandler::loadExperiment.
    • mzML loading is unchanged.
  • Metadata assumptions checked:
    • Spectra are matched to the IDs by native ID (spectrum_reference). The native IDs of .raw input are identical to those of its mzML conversion.
    • The experimental design is matched by file name with its extension, so the design must list run.raw / run.d.
    • A trailing slash on a .d path is stripped before matching.
  • FIX: IsobaricChannelExtractor::printStatsWithMissing dereferenced an empty vector, crashing when a channel had no reporter signal at all. It now prints <no signal>.

Tests (gated on WITH_THERMO_RAW AND THERMO_RAW_TEST_DATA):

  • TOPP_IsobaricWorkflow_raw quantifies the Angiotensin .raw fixture natively, with a small design and idXML. Because the fixture is unlabeled, it uses iTRAQ4plex with a wide reporter window.
  • TOPP_IsobaricWorkflow_raw_convert and TOPP_IsobaricWorkflow_raw_mzML run the same input via its mzML conversion.
  • TOPP_IsobaricWorkflow_raw_out1 checks that both results are identical except for file and sample names.

The .d path is not covered by a test: there is no small timsTOF fixture in the test data. While writing the test I found #10454 (dotted file stems lose their file/channel abundances); this PR's test does not depend on it.

ctest IsobaricWorkflow|IsobaricAnalyzer|IsobaricChannelExtractor: 40/40 passed (macOS arm64).

Checklist

  • Make sure that you are listed in the AUTHORS file
  • Add relevant changes and new features to the CHANGELOG file
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
  • Updated or added python bindings for changed or new classes (Tick if no updates were necessary.)

-in now takes .raw (WITH_THERMO_RAW) and .d (WITH_OPENTIMS) runs besides mzML,
loaded the same way IsobaricAnalyzer does (FileHandler / BrukerTimsFile); mzML
loading is unchanged. IsobaricChannelExtractor::printStatsWithMissing no longer
dereferences an empty list when a channel has no reporter signal.

Adds TOPP tests that quantify the Thermo raw fixture natively and compare the
result to that of its mzML conversion.

Co-authored-by: Copilot App <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: eb4e774c-e954-4f89-b189-51804384cf4d
📥 Commits

Reviewing files that changed from the base of the PR and between 03703a7 and c8b12c6.

⛔ Files ignored due to path filters (1)
  • src/tests/topp/IsobaricWorkflow_raw_design.tsv is excluded by !**/*.tsv
📒 Files selected for processing (5)
  • CHANGELOG
  • src/openms/source/ANALYSIS/QUANTITATION/IsobaricChannelExtractor.cpp
  • src/tests/topp/CMakeLists.txt
  • src/tests/topp/IsobaricWorkflow_raw_input.idXML
  • src/topp/IsobaricWorkflow.cpp
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@timosachsenberg

Copy link
Copy Markdown
Contributor

yep

@timosachsenberg
timosachsenberg merged commit b73961f into OpenMS:develop Oct 8, 2026
7 of 8 checks passed
timosachsenberg pushed a commit that referenced this pull request Oct 8, 2026
Brings in #10448, #10453, #10449 (ProSE -rescore), #10429, #10463, #10455 and
#10452. #10429 is the same PeptideIndexing change this branch carried from
#10403, so the files merged identically; its duplicate CHANGELOG entry is
dropped. The CHANGELOG conflict keeps both sides.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UQCiwdbPoEkrebED8VQ2TJ
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.

2 participants