Skip to content

fix: make NASE tie handling reproducible - #10440

Merged
poshul merged 1 commit into
OpenMS:RNOMEfrom
poshul:fix/nase-reproducible-ties-rnome
Oct 7, 2026
Merged

poshul merged 1 commit into
OpenMS:RNOMEfrom
poshul:fix/nase-reproducible-ties-rnome

Conversation

@poshul

@poshul poshul commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

This fixes non-reproducible NucleicAcidSearchEngine output when multiple candidates have exactly the same score. The previous selection depended on parallel insertion and allocation order, allowing tied modification localizations to receive different FDR representatives across equivalent runs.

The change retains all candidates tied at the reporting cutoff, orders equal-score candidates by stable molecular values before ambiguity handling, and uses the same value-based policy when FDR selects one match per observation.

This is based directly on RNOME and deliberately does not include later add_bedrmod preprocessing or mapping-count changes. RNOME therefore keeps its historical jumping WindowMower behavior.

Validation:

  • Built independently with GCC 14 in the OpenMS contrib container.
  • Passed 19 focused tests: IdentificationData_test, BedRModFile_test, FalseDiscoveryRate_test, and the NASE integration suite.
  • Added a 16-spectrum Becker rRNA regression as three standard TOPP tests at 1, 4, and 4 threads; dependent CTest comparisons require byte-identical BED output.
  • The full Becker validation motivating this work produced byte-identical patched outputs across two 32-thread runs.

@poshul
poshul force-pushed the fix/nase-reproducible-ties-rnome branch from a9c68cf to aa38265 Compare October 7, 2026 15:41
@poshul
poshul force-pushed the fix/nase-reproducible-ties-rnome branch from aa38265 to efcc7a3 Compare October 7, 2026 16:04
@poshul
poshul merged commit 8307e9f into OpenMS:RNOME Oct 7, 2026
1 check passed
poshul added a commit to poshul/OpenMS that referenced this pull request Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant