bioRxivBioinformaticsPreprint
How do noise and precision contraints jointly determine the minimum sketch size for fixed-size MinHash Jaccard estimation?
- Citations
- 0
Abstract
MinHash-based genome comparison is governed by two statistical constraints: a noise floor on k-mer size, controlling chance collisions between unrelated sequences, and a precision floor on sketch size, controlling uncertainty in the estimated Jaccard similarity. These constraints are best characterized for fixed-size bottom-sketch MinHash, the classical construction underlying tools such as Mash and still the standard basis for comparing genomes of similar size. Nevertheless, while, the noise floor has an established closed-form solution, sketch size is commonly selected using fixed defaults or heuristic choices independent of genome length and target precision. Moreover, recent work on scaled (FracMinHash) sketching has highlighted the difficulty of obtaining an analogous closed-form confidence interval for the Jaccard similarity. Here, we show that under the fixed-size bottom-sketch MinHash model, the shared-hash count follows a binomial model, which lets classical proportion-estimation theory be applied directly. Combining this with Fofanov's k-selection criterion and the exact identity-Jaccard relationship yields a single closed-form design rule, s* (L, {rho}* , ), that unifies the noise and precision floors into one operating envelope. The resulting design rule was validated against exact Clopper-Pearson interval inversion, idealized binomial sampling, realistic overlapping k-mer simulation and 54 bacterial genome pairs spanning species-to-order taxonomic levels. In realistic simulations, empirical coverage remained within 1-3 percentage points of the idealized reference in 14 of 15 tested cells. In real genomes, the classical identity-Jaccard relationship showed increasing positive bias with taxonomic divergence, from a median of -1.4% within species to +27% at genus and +77% at family level. We further show that s* (L) is not smooth in genome length but a discontinuous, previously unreported staircase caused by the ceiling function used for k-mer selection, with practical consequences concentrated at specific genome-size boundaries.
- organism: bacteria (other)
- assay: whole-genome sequencing
- research focus: benchmarking
- research focus: gene regulatory network inference
- approach: statistical model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- The minimizer Jaccard estimator is biased and inconsistent
Mahdi Belbasi, Antonio Blanca, … Paul Medvedev·BioinformaticsPeer-reviewed·Apr 14, 2022
- Cosine Similarity Estimation Using FracMinHash: Theoretical Analysis, Safety Conditions, and Implementation
Mahmudur Rahman Hera, David Koslicki·bioRxiv·May 24, 2024
- Minmers are a generalization of minimizers that enable unbiased local Jaccard estimation
Bryce L. Kille, Erik P. Garrison, … Adam M. Phillippy·BioinformaticsPeer-reviewed·Aug 21, 2023
- Spectral Jaccard Similarity: A new approach to estimating pairwise sequence alignments
Tavor Z. Baharav, Govinda M. Kamath, … Ilan Shomorony·PatternsPeer-reviewed·Jul 31, 2020
- Set-Min sketch: a probabilistic map for power-law distributions with application to k-mer annotation
Yoshihiro Shibuya, Djamal Belazzougui, Grégory Kucherov·Journal of Computational BiologyPeer-reviewed·Jan 20, 2022
- Improving Min Hash via the Containment Index with applications to Metagenomic Analysis
David Koslicki, Hooman Zabeti·Applied Mathematics and ComputationPeer-reviewed·Mar 1, 2019