Repository navigation
[FEATURE] OpenNuXL: read Thermo .raw, Bruker timsTOF .d and mzPeak inputs natively, as ProSE does - #10816
Merged
Conversation
Doxygen took '<input>' in the description of the input formats for an HTML tag (Doxygen_Warning_test: 'Unsupported xml/html tag <input>' at 743, 751, 753); written as \<input\> now.
timosachsenberg
marked this pull request as ready for review
November 4, 2026 20:47
timosachsenberg
pushed a commit
that referenced
this pull request
Nov 5, 2026
Brings in #10804 (ProSE automatic mass tolerances), #10816, #10818 and #10801. Conflict in FragmentIonLikelihoodModel_test.cpp: #10804 added a test that matchIons() skips series codes other than 0 and 1, written against the std::vector<uint8_t> overload this PR replaces. Ported it to Residue::ResidueType (Residue::Full, a type of no ion series, instead of series code 2), as the PR description planned. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0149aXmYNxvjPfKVo7PmGAme
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.
Description
OpenNuXL now reads Thermo
.raw, Bruker timsTOF.dand mzPeak inputs throughFileHandler, as ProSE does. Until now it acceptedmzML,raw; a.rawwent through the external ThermoRawFileParser (Mono/.NET), which writes<input>.raw.mzMLbeside the input.src/topp/OpenNuXL/OpenNuXL.cpp-inacceptsmzMLandraw,dunderWITH_OPENTIMSandmzpeakunderWITH_MZPEAK, asProSE.cppdoes. A.ddirectory passes the-incheck as in FeatureFinderIdentification.FileHandler::loadExperimentwith{MZML, RAW, BRUKER_TDF, MZPEAK}(new helperloadSpectra_), keeping each site'sPeakFileOptions. This covers the precursor purity, pcrecalibration, spectrumclusterfilter, the autotune reload, the main MS2 load, the post-processing reload and the RT predictor's MS1 load.in_mzmlis renamed toin_spectra..raw:WITH_THERMO_RAWit is read in-process with Thermo's peak picking, as FileConverter and ProSE do, so no mzML conversion is written beside it.WITH_THERMO_RAW,convertRawFile_runs unchanged.<input>.ambiguous_masses.csvbeside the input, as before..d:IMfeature) applies unchanged.frame=… scan=… precursor=….precursor:min_charge..d: BrukerTimsFile leaves MS1 frames uncollapsed over ion mobility, so the other IM slices would count as interference.precursor_purityis then left out of the Percolator features, which already happens whenever purities are empty.inputPath_()strips a trailing/from-in, so outputs named after the input (_pc.mzML,.ambiguous_masses.csv) don't land inside a.ddirectory.\<input\>escaped for doxygen).src/openms/source/ANALYSIS/ID/SimpleSearchEngineAlgorithm.cpp: acceptsFileTypes::MZPEAK, because OpenNuXL's defaultautotuneandidfiltersteps search the input with it.src/tests/topp/CMakeLists.txt(all guarded likeTOPP_ProSE_raw, so they run only with the test data):ENABLE_THERMO_RAW_TESTS):TOPP_OpenNuXL_rawsearches a copy of the Angiotensin.rawagainstProSE_raw_database.fasta._raw_checkrequires the hitDRVYIHPFHLand Thermo native IDs._raw_convert/_raw_mzML/_raw_out1check with FuzzyDiff that native.rawand its FileConverter mzML give the same idXML.ENABLE_OPENTIMS_TESTS):TOPP_OpenNuXL_DDAsearches the DDA HeLa.dwith-NuXL:length 0, against a database reduced to ProSE's identified proteins (DatabaseFilter)._DDA_checkrequiresframe=native IDs and theIMfeature.TOPP_ProSE_FAIMS_DDA.Testing
TOPP_OpenNuXL_*tests (mzML inputs) are unchanged..raw/.dtests. They need a build withWITH_THERMO_RAW/WITH_OPENTIMSand the test data switched on (ENABLE_THERMO_RAW_TESTS,ENABLE_OPENTIMS_TESTS), which the default CI doesn't have, and this was written in an environment that cannot build OpenMS locally. Open questions for that run:DRVYIHPFHLis found;.rawand its mzML match under the FuzzyDiff whitelist;.dtest;-NuXL:length 0runs cleanly through the cross-link FDR and Percolator steps.Context: requested by Timo Sachsenberg for NuXL desktop (timosachsenberg/nuxl-gui), which bundles OpenNuXL and will offer
.rawand.dinputs once this is in.Checklist
Generated by Claude Code