Repository navigation
feat(PSMFeatureExtractor): register andes search engine Percolator features - #9643
Conversation
…atures PSMFeatureExtractor previously only collected engine-specific Percolator features for engines it internally registers (Comet, MS-GF+, X!Tandem, Mascot, MSFragger). A search whose search_engine is "andes" fell through to the abort path / generic-only features. andes (a Rust DDA search engine that writes OpenMS-compatible .idparquet) annotates each PSM with its own numeric features as MetaValues prefixed with "andes:" (e.g. andes:RankScore, andes:RawScore, andes:DeltaRankScore, andes:TailorScore, andes:NumMatchedMainIons, andes:RichIonLLR, ...). Add PercolatorFeatureSetHelper::addANDESFeatures(), mirroring the existing per-engine handlers, which collects ALL numeric (double/int) MetaValues whose name starts with "andes:" and registers them as Percolator features. This keeps the andes side the single source of truth for its feature set rather than hard-coding the (currently 47) feature names in OpenMS. Wire it into the PSMFeatureExtractor engine dispatch on search_engine == "andes" (the exact lowercase string andes emits), update the tool docu, add a self-contained unit test, and add a CHANGELOG entry.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughAdds ChangesANDES Percolator Feature Extraction
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
CI note: the only failing job ( |
|
CI failure note: The single failing test ( The failure is a flaky timing assertion at line 169: This is a pre-existing intermittent failure caused by OS scheduler jitter on the CI runner. The PR itself is clean — all 2,669 other tests passed. Generated by Claude Code |
…9650, #9651 (#9652) - Add PR reference (#9650) to the error-message improvement entry (was issue #9636 only) - Add PR reference (#9642) to ProSE end-of-search report entry - Add PR reference (#9643) to PSMFeatureExtractor andes support entry - Add PR reference (#9649) to UniPEFF new-tool entry - Add Build System entry for #9648: Boost.Spirit → charconv, 30-40% faster build - Add Build System entry for #9651: missing <thread> header fix for clang 21+ Claude-Session: https://claude.ai/code/session_01DdyZmN6J65umScGRherQ9W Co-authored-by: Claude <[email protected]>
Description
PSMFeatureExtractoronly collects engine-specific Percolator features for engines it internally registers (Comet, MS-GF+, X!Tandem, Mascot, MSFragger). PSMs whosesearch_engineisandesfell through to the abort path / generic-only features, which can't separate target from decoy on realistic databases.andes is a Rust DDA search engine that writes OpenMS-compatible
.idparquet. It annotates each PSM with its own numeric features as MetaValues prefixed withandes:(e.g.andes:RankScore,andes:RawScore,andes:DeltaRankScore,andes:TailorScore,andes:NumMatchedMainIons,andes:RichIonLLR, …).This PR adds
PercolatorFeatureSetHelper::addANDESFeatures(), mirroring the existing per-engine handlers. It collects all numeric (double/int) MetaValues whose name starts withandes:and registers them as Percolator features — keeping the andes side the single source of truth for its feature set rather than hard-coding the (currently ~47) names in OpenMS. It is wired into thePSMFeatureExtractorengine dispatch onsearch_engine == "andes"(the exact lowercase string andes emits).andes emits the same feature set on every PSM, so the union collected here is present on all hits (satisfies
PercolatorInfile's per-hit feature-completeness requirement).Changes
PercolatorFeatureSetHelper::addANDESFeatures()(+ header declaration/doc).PSMFeatureExtractorengine dispatch + tool docu line.PercolatorFeatureSetHelper_test.cpp(in-memory, no new test-data file).No behavior change for any existing engine.
Checklist
add*Featurespattern.Summary by CodeRabbit