Repository navigation
[TEST] ProSE Test 12 with -rescore: compare hit counts after FDR - #10588
timosachsenberg wants to merge 1 commit into
Conversation
TOPP_ProSE_12_pin_rescore_idXML_out diffed the idXML of two -rescore runs at 1% tolerance. Percolator cannot train properly on this data (1 decoy among 896 PSMs, so it skips rescaling the SVM scores; all scores lie in [-1, -0.945]), and on Windows the percolator_score of the two runs differs by about 1%, which failed the Windows CI of every PR. With -rescore, compare the FileInfo hit counts after PSM and protein FDR of the two runs instead (proteins, matched spectra, peptide hits, search engine). The test without -rescore keeps the full idXML diff, and the .pin comparison is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012GBvJZN8neGpv9RoUshwFL
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Change: Other Merge Risk: ⚪ Minimal · up to
|
TOPP_ProSE_12_pin_rescore_idXML_out fails on the Windows CI of every PR (Percolator SVM scores of two -rescore runs differ by ~1% there). Same change as #10588: with -rescore, compare the FileInfo hit counts after FDR instead of the scores. No-op once develop carries it. pyOpenMS: bind MultiplexResolverAlgorithm.expectedChannelMZs (returns the channel m/z values and the sequence's own channel as a tuple) and FeatureFinderMultiplexAlgorithm.getBlacklist / getCentroidedExperiment (copies), as suggested in review. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrA8xoqCw1XDWRvBoWocry
|
Closing as already on develop. The identical change landed with #10547 (b3edef0) and #9446 (055f6a0), where it was ported to get their Windows CI green. Merging this branch into develop gives exactly develop's tree. Generated by Claude Code |
… multiplets (#10587) * MS1LabeledWorkflow: map IDs over the elution region, quantify partial multiplets Identifications were mapped onto a multiplet only within 5 s of its apex and by their precursor m/z, and every multiplet with an undetected channel was dropped. On a synthetic triple SILAC run with DDA-like MS2 triggers this quantified 27 of 120 peptides (not even half of the 60 complete ones). ID mapping and resolution: - Match identifications against the elution region of the multiplet's channels (their mass trace hulls, via IDMapper's feature map mode) instead of the apex; FeatureFinderMultiplex handles now refer to their features. - id_mapping:mz_reference defaults to 'peptide' (theoretical m/z of the labelled peptidoform): precursors picked on M+1..M+3 (isotope error correction in the search) did not map. The channel of a spectrum match is the one closest to that m/z as well. - Prefer identifications whose labels agree with the multiplet's mass shifts over a better-scoring one that contradicts them (the multiplet used to become a conflict). - MultiplexResolverAlgorithm: a pattern has to label as many K/R (L for Leu3) residues as the sequence has; an unlabelled identification fitted every pattern, e.g. a light singlet of an R-peptide was completed with Lys-shifted channels. New checkIdentifications(), expectedChannelMZs(). Partial multiplets: - algorithm:knock_out defaults to true. FeatureFinderMultiplex knock-out patterns start at shift 0: without the lightest channel (e.g. medium and heavy only) they needed a peak at the absent light position and came out as unrelated singlets. The quadruplex knock-out without channel 3 is searched. - Flanks of a multiplet (partial multiplets of the same peptide next to it) are merged into it. - New -requantify (default true): missing channels are measured at their expected position, as a ratio to the most intense detected channel over the peaks where both were seen; reported absent only without signal. - An identification of an undetected channel joins the multiplet detected in the peptide's other channels. - FeatureFinderMultiplex fills the blacklist for centroided input, too. - -match_between_runs works with knock-outs (complete unidentified multiplets only). The synthetic run now quantifies 119 of 120 peptides with exact ratios. Changed references: MultiplexResolver_1/3 (correct patterns for unlabelled identifications, see above); MS1LabeledWorkflow_1..6 only renumber unique ids (knock-out detection draws more of them; content identical). New test MS1LabeledWorkflow_7 covers off-apex/off-isotope IDs, light-absent, heavy-only, light-only and weak (re-quantified) multiplets. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrA8xoqCw1XDWRvBoWocry * Fix MS1Labeled test builds: new annotate signature, vector<bool> checks MS1LabeledFAIMS_test still called the removed annotate(mapper, map, ids, proteins). It now builds one channel feature per handle, as the workflow does, and also covers the heavy-channel map_index, the removal of the internal id bookkeeping, and the error for a channel without multiplet. MultiplexResolverAlgorithm_test compared std::vector<bool> elements with TEST_EQUAL, which libc++ cannot convert (macOS build); use TEST_TRUE / TEST_FALSE. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrA8xoqCw1XDWRvBoWocry * Port ProSE Test 12 Windows fix (#10588); bind new multiplex accessors TOPP_ProSE_12_pin_rescore_idXML_out fails on the Windows CI of every PR (Percolator SVM scores of two -rescore runs differ by ~1% there). Same change as #10588: with -rescore, compare the FileInfo hit counts after FDR instead of the scores. No-op once develop carries it. pyOpenMS: bind MultiplexResolverAlgorithm.expectedChannelMZs (returns the channel m/z values and the sequence's own channel as a tuple) and FeatureFinderMultiplexAlgorithm.getBlacklist / getCentroidedExperiment (copies), as suggested in review. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrA8xoqCw1XDWRvBoWocry --------- Co-authored-by: Claude <[email protected]>
Description
TOPP_ProSE_12_pin_rescore_idXML_outfails on the Windows CI of every PR, including 10578, 10423 and 10547. It passes on Linux and macOS.What the test did: it diffed the idXML of two
-rescoreruns (ProSE_12_pin_rescoreagainstProSE_11_rescore) at FuzzyDiff's 1% tolerance.Why that fails on Windows:
percolator_scorevalues lie in [-1.0, -0.945]. The 1% tolerance is about as large as the spread between PSMs.-out_pinis not the cause: with-rescorethe .pin is written after Percolator has run.The change: with
-rescore, the test now compares the FileInfo summaries of the two runs after PSM and protein FDR. Those cover protein hits, matched spectra, peptide hits and the search engine (Percolator). The SVM scores are no longer compared.Unchanged:
-rescorekeeps the full idXML diff.TOPP_ProSE_12_pin_out,TOPP_ProSE_12_pin_rescore_out) are unchanged.What makes the Windows runs differ is still unknown. This PR only stops the test from depending on scores that are this sensitive.
Validation (Linux, Release):
11_rescore) and Test 12 pass.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_012GBvJZN8neGpv9RoUshwFL
Generated by Claude Code
Summary by CodeRabbit