Skip to content

Breaking the Binary-Lifting Barrier for DNA Minimizer Density: Exact Optimization of a Native 4-ary Order at (w, k) = (12, 5)

Stefan G. Creadore, Peyton Berntsen

cs.AI

Abstract

Minimizer schemes sample at least one kk-mer from every window of ww consecutive kk-mers via a total order ππ on ΣkΣ^k. For DNA (σ=4σ= 4), state-of-the-art lookup schemes such as GreedyMini and OptMini optimize a binary order (2k2^k ranks) and lift it to ΣkΣ^k by ranking one bit-plane primarily and breaking 2k2^k-way ties lexicographically on the other bit-plane. At (w,k)=(12,5)(w, k) = (12, 5), this projection locks sets of 3232 DNA 55-mers into contiguous blocks and restricts the active universal hitting set (UHS) prefix to 448448 of 10241024 55-mers, giving exact expected DNA density 2246214544/234≈0.13074689452246214544 / 2^{34} \approx 0.1307468945 for OptMini (k5-w12-13.txt) and 2248978620/234≈0.13090778492248978620 / 2^{34} \approx 0.1309077849 for GreedyMini (w12_k5.gm). We bypass binary lifting and optimize directly over native 44-ary permutations (∣Σk∣=1024|Σ^k| = 1024) from scratch via: (i) an exact de Bruijn endpoint transfer-matrix dynamic program over B(4,4)B(4, 4) (256256 states), (ii) a weighted set-cover ratio initializer (SetCover4) producing a compact U=314U = 314 UHS prefix, (iii) bitmask-sparse simulated annealing preserving the zero-cost ww-walk-free tail invariant, and (iv) two-pass O(N)O(N) exact best-insertion sweeps with large-neighborhood ruin-and-recreate search. The resulting explicit 44-ary order achieves exact expected DNA density 2234289615/234≈0.1300527722922234289615 / 2^{34} \approx 0.130052772292 (density factor 1.6906861.690686), cutting charged windows by 1192492911924929 contexts (−0.530890%-0.530890\% relative) below OrensteinLab/Minimizers and 1468900514689005 (−0.653141%-0.653141\%) below w12_k5.gm at 82008200-byte lookup storage (12801280 bytes bit-packed). Warm-start relaxation stalls at U=379U = 379 (0.13017287890.1301728789), whereas native 44-ary initialization breaks 32/3232/32 high-bit blocks across all 2+22+2 nucleotide partitions.

Create a lesson

Metadata

Comments
5 pages, 1 table; includes 7 ancillary files in anc/ (explicit 1,024-entry 4-ary minimizer rank tables in .gm and .csv formats, standalone Python 3 standard-library exact verifier, and cold-start C99 optimizer sources)