On Minimizers of Minimum Density
Abstract
Minimizers are sampling schemes with numerous applications in computational biology. Assuming a fixed alphabet of size , a minimizer is defined by two integers and a linear 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 its density, which is the expected frequency of chosen -mers among all -mers in a random infinite -ary string. Minimizers of smaller density are preferred as they produce smaller samples with the same guarantee: each window is represented by a -mer. The problem of finding a minimizer of minimum density for given input parameters has a huge search space of and is representable by an ILP of size , which has worst-case solution time that is doubly-exponential in under standard complexity assumptions. We solve this problem in time and provide several additional tricks reducing the practical runtime and search space. As a by-product, we describe an algorithm computing the average density of a minimizer within the same time bound. Then we propose a novel method of studying minimizers via regular languages and show how to find, via the eigenvalue/eigenvector analysis over finite automata, minimizers with the minimal density in the asymptotic case . Implementing our algorithms, we compute the minimum density minimizers for and \textbf{all} . The obtained densities are compared against the average density and the theoretical lower bounds, including the new bound presented in this paper.
Keywords
Cite
@article{arxiv.2506.05277,
title = {On Minimizers of Minimum Density},
author = {Arseny Shur},
journal= {arXiv preprint arXiv:2506.05277},
year = {2025}
}
Comments
30 pages, 4 figures