🔧 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
+3 -1
View File
@@ -10,6 +10,7 @@ plugins:
- bibtex:
bib_file: docmd/references.bib
csl_file: docmd/ecology-letters.csl
enable_inline_citations: false
markdown_extensions:
- admonition
@@ -25,9 +26,10 @@ extra_javascript:
nav:
- Home: index.md
- Theory:
- Kmers and super-kmers: theory/kmers.md
- Kmers and super-kmers: kmers.md
- DNA encoding: theory/encoding.md
- Entropy filter: theory/entropy.md
- Minimizer selection: theory/minimizer.md
- Partitioning architecture: theory/indexing.md
- Implementation:
- SuperKmer: implementation/superkmer.md