Expected Density of Random Minimizers

Abstract

Minimizer schemes, or just minimizers, are a very important computational primitive in sampling and sketching biological strings. Assuming a fixed alphabet of size σ, a minimizer is defined by two integers k,w2 and a total order on strings of length k (also called k-mers). A string is processed by a sliding window algorithm that chooses, in each window of length w+k-1, its minimal k-mer with respect to . A key characteristic of the minimizer is the expected density of chosen k-mers among all k-mers in a random infinite σ-ary string. Random minimizers, in which the order is chosen uniformly at random, are often used in applications. However, little is known about their expected density DRσ(k,w) besides the fact that it is close to 2w+1 unless w k. We first show that DRσ(k,w) can be computed in O(kσk+w) time. Then we attend to the case w k and present a formula that allows one to compute DRσ(k,w) in just O(w w) time. Further, we describe the behaviour of DRσ(k,w) in this case, establishing the connection between DRσ(k,w), DRσ(k+1,w), and DRσ(k,w+1). In particular, we show that DRσ(k,w)<2w+1 (by a tiny margin) unless w is small. We conclude with some partial results and conjectures for the case w>k.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…