This commit introduces significant refinements across the codebase. Core indexing logic is updated with hard constraints on k-mer length, statistical modeling clarifications, and the implementation of the Karlin & Ost theory for chance-collision statistics. Session management features are enhanced with robust memoization capabilities, atomic file operations, per-key locking, and memory mapping support. Additionally, documentation is updated, including a new citation style, and new mathematical notebook support is added.
2.2 KiB
2.2 KiB
In [1]:
var('G k')Out [1]:
(G, k)
In [2]:
q = 1 / 4^kIn [4]:
P0 = (1-q)^GIn [5]:
P1 = 1 - P0In [6]:
P1Out [6]:
-(-1/4^k + 1)^G + 1
In [8]:
var('Lambda')Out [8]:
Lambda
In [ ]: