From 0b79a8ee7469a01c44672d8b0229f93feba5977f Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Sat, 12 Sep 2026 16:26:13 +0200 Subject: [PATCH] Define k-mer minimizer selection {} Introduces the definition of a minimizer for k-mer windows, defining the canonical form as the lexicographic minimum between the m-mer and its reverse complement. Selection is determined by a deterministic hash function that chooses the m-mer whose canonical form minimizes the hash value, including a warning about potential biases in the ordering. --- theory-minimizer_selection.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/theory-minimizer_selection.md b/theory-minimizer_selection.md index 6b83a47..e58787d 100644 --- a/theory-minimizer_selection.md +++ b/theory-minimizer_selection.md @@ -2,11 +2,31 @@ ## Definition -A **minimizer** of a kmer window is the m-mer ($m < k$) that is smallest, among all $k - m + 1$ overlapping m-mers in the window, under a chosen ordering. The minimizer is always taken in canonical form (lexicographic minimum of forward and reverse complement) so that selection is strand-independent. +The **minimizer** of a k-mer is the canonical form of the m-mer that is smallest according to a chosen ordering among the $k-m+1$ overlapping m-mers contained in the k-mer, with $m