Repository navigation
[FEATURE] Make NASE preprocessing configurable - #10527
Merged
Merged
Conversation
timosachsenberg
left a comment
Contributor
There was a problem hiding this comment.
Reviewed 591993d63e88 against #10526, covering the configurable preprocessing paths and their tests. No additional actionable finding in this layer. The inherited MVH acceptance issue is tracked in the review on #10526. Validation here was code/test inspection; this layer's full integration tests were not rerun.
Review performed with Codex.
poshul
marked this pull request as ready for review
October 12, 2026 08:32
poshul
added a commit
that referenced
this pull request
Oct 12, 2026
poshul
added a commit
that referenced
this pull request
Oct 12, 2026
#10526) * [FEATURE,API,TEST] Add configurable MVH scoring to NASE * [FEATURE,FIX,TEST] Make NASE preprocessing configurable (#10527) * [FEATURE] Add NASE ion blacklist and fragment coverage filters (#10528) * [FEATURE,FIX,TEST] Make NASE preprocessing configurable * [FEATURE,TEST] Add NASE ion blacklist and coverage filters * [FIX,TEST] Reject MVH candidates without fragment matches
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.
NASE exposes its MS2 preprocessing choices: legacy deisotoping or none, optional WindowMower and NLargest filters, optional precursor/isotope removal, and an optional processed mzML output. Removal happens before decharging in the original m/z space and keeps peak data arrays aligned. Charge inference refreshes the selected precursor charge, and negative acquisition charges are compared by magnitude in negative mode.
Legacy deisotoping remains the default. Noise filters are explicit flags; enable both filters with
preprocessing:window_mower:movetype=jumpto reproduce the former hard-coded filter settings. FLASH is introduced separately in a later draft.Validation: local NASE build, eight existing C++/TOPP tests and 46 Python scoring regression cases pass. The existing NASEDigestion class test covers signed and inferred charges, removal before decharging with/without deisotoping, aligned data arrays, and full searches with negative acquisition charges. No test files or targets are added.
Group 3, part 2. Stacked on #10526; the base branch is
feature/nase-mvh-scoring. Review this PR's focused diff and merge/rebase after its parent. Earlier correctness drafts remain separate.