🔧 Replace degenerate minimizer logic with hash-based random ordering

- Add `hash` field to MmerItem for stable, randomized minimizer ordering
- Introduce hash_mMER() using mix64 with XOR seed to avoid fixed points (e.g., poly-A/T)
- Remove is_degenerate() and minimizer_worse(), simplifying comparison to hash-only
- Update push logic: compare hashes instead of canonical values with degeneracy checks
This commit is contained in:
Eric Coissac
2026-04-27 16:56:13 +02:00
parent 7efec54b27
commit 58391886a3
5 changed files with 141 additions and 24 deletions
+2
View File
@@ -2,3 +2,5 @@
src/target
data-stress
*.fasta
*.zst
*.zst.meta