paper

Expected Density of Random Minimizers

arXiv:2410.16968

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 and a total order on strings of length (also called -mers). A string is processed by a sliding window algorithm that chooses, in each window of length , its minimal -mer with respect to . A key characteristic of the minimizer is the expected density of chosen -mers among all -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 besides the fact that it is close to unless . We first show that can be computed in time. Then we attend to the case and present a formula that allows one to compute in just time. Further, we describe the behaviour of in this case, establishing the connection between , , and . In particular, we show that (by a tiny margin) unless is small. We conclude with some partial results and conjectures for the case .

Accepted to SOFSEM 2025

Expected Density of Random Minimizers · wovepaper