Repository navigation
[FEATURE] Add NASE ion blacklist and fragment coverage filters - #10528
Merged
poshul merged 3 commits intoOct 12, 2026
Merged
Conversation
timosachsenberg
left a comment
Contributor
There was a problem hiding this comment.
Reviewed 87292bd3ea4e against #10527, covering the ion blacklist and fragment-coverage filtering changes and tests. No additional actionable finding in this layer. The inherited MVH acceptance issue is tracked on #10526. Validation here was code/test inspection; this layer's full integration tests were not rerun.
Review performed with Codex.
Base automatically changed from
feature/nase-preprocessing
to
feature/nase-mvh-scoring
October 12, 2026 08:33
poshul
marked this pull request as ready for review
October 12, 2026 08:34
poshul
added a commit
that referenced
this pull request
Oct 12, 2026
* [FEATURE,FIX,TEST] Make NASE preprocessing configurable * [FEATURE,TEST] Add NASE ion blacklist and coverage filters
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 can exclude a list of theoretical m/z values with a ppm tolerance and require a minimum fraction of covered internal oligonucleotide positions. Blacklisting occurs before scoring and preserves all peak data-array types. Coverage uses distinct cleavage positions, maps suffix ions back to the 5′ coordinate, and divides by
length - 1; one-nucleotide sequences have full coverage.Both filters default to disabled. Matched-ion annotations are retained independently of scoring peak credit, so shared peaks still supply their individual ion annotations to the coverage calculation.
Validation: local NASE build; eight C++/TOPP tests and 46 Python scoring cases pass. Tests are added to the existing NASEDigestion class test, including float/string/integer array alignment, ppm removal, duplicate position counting, suffix coordinates and the one-nucleotide boundary. No new test files or targets.
Group 3, part 3. Stacked on #10527 with base
feature/nase-preprocessing; merge/rebase after the parent. Historical lab filter comparisons remain preserved separately and do not establish independent ground truth.