Repository navigation
[FIX] SimpleSearchEngine: deisotoping no longer removes fragment ions that have a small peak one isotope spacing below - #10463
Merged
Conversation
…a small peak one isotope spacing below Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DtWvvGGZSyZtVEvxGcPBGc
… that have a small peak one isotope spacing below SimpleSearchEngineAlgorithm deisotoped with the library default start_intensity_check=2, so a small peak 1.00335 Da below a fragment ion became the envelope's monoisotopic peak and the ion was removed as its isotope. Pass start_intensity_check=1, as ProSE does since #10391. TOPP references change in scores and PSM features only; the hits are the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DtWvvGGZSyZtVEvxGcPBGc
timosachsenberg
enabled auto-merge (squash)
October 8, 2026 20:04
timosachsenberg
disabled auto-merge
October 8, 2026 20:04
Contributor
Author
|
Same fix |
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
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
SimpleSearchEngineAlgorithm::preprocessSpectra_deisotopes high-resolution MS2 spectra withDeisotoper::deisotopeAndSingleChargeand the library defaultstart_intensity_check=2. ProSE made the same call before #10391; that PR fixed only ProSE and named this call as not fixed.With the default, a small peak 1.00335 Da below a fragment ion becomes the envelope's monoisotopic peak, and the ion itself is removed as its isotope. TMT/TMTpro-labelled fragments always carry such a peak from the reagent's isotope impurity.
Change: SimpleSearchEngine passes
start_intensity_check=1, as ProSE does since #10391. This adds no parameter.Effect
Data:
..._TMT_PPCM_Fr21.mzML: Orbitrap Eclipse, TMTpro, HCD MS2 in the Orbitrap, 40,807 MS2...._HeLa_TrypsinPromega_imidazole_Fraction9.mzML: Lumos, label-free, FTMS HCD, 32,326 MS2.Command:
FDR is target-decoy competition on the top hit per spectrum.
Matched b/y ions removed by deisotoping: b/y (1+) ions within 20 ppm of a raw peak that are missing after the deisotoping call. Measured on the spectra develop already identifies:
start_intensity_check=2(develop)=1(this PR)The 9.5% is lower than the 18–21% #10391 measured for ProSE. The datasets differ, and this count includes only spectra that develop still identifies despite the loss.
Tests
SimpleSearchEngineAlgorithm_testsection uses the TMTpro b2 example from [FIX] ProSE: deisotoping no longer removes fragment ions that have a small peak one isotope spacing below; HyperScore Da-mode error on arm64 #10391's ProSE test.preprocessSpectra_drops absolute intensities below 0.05 and the window mower trims its last window.SimpleSearchEngine_1/2_out.idXMLkeep the same hits. Only scores and PSM features change, because ions that deisotoping used to remove now match.SimpleSearchEngineandOpenNuXLctest tests pass with the fix. OpenNuXL runs SimpleSearchEngine for its default autotune/idfilter steps.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01DtWvvGGZSyZtVEvxGcPBGc
Generated by Claude Code
Summary by CodeRabbit