Genome research

MaxGeomHash bridges MinHash and FracMinHash for scalable similarity estimation using sub-linear k-mer sketching.

Mahmudur Rahman Hera, David Koslicki, Conrado Martinez

Rutgers, The State University of New Jersey, The Pennsylvania State University, University Park; mrahmanh@andrew.cmu.edu. · The Pennsylvania State University, University Park.

Key points

From the paper's conclusion
  • Here, we introduce a novel sketching algorithm, MaxGeomHash, which for a specified integer parameter b ≥ 1, will produce a random sample of size b lg(n/b) + O(b) without knowing the total number of k-mers n beforehand.

Abstract

With the surge in sequencing data generated from biological studies, designing scalable computational techniques has become essential. One effective strategy to enable large-scale computation is to extract k-mers from long sequences, and summarize large k-mer sets into random samples (a.k.a. sketches). These sketches enable rapid estimation of similarity metrics such as Jaccard or cosine, and thus facilitate scalable computations. Popular sketching tools in bioinformatics range from the MinHash algorithm to generate fixed-size sketches; to FracMinHash algorithm to retain a fraction of all k-mers. Here, we introduce a novel sketching algorithm, MaxGeomHash, which for a specified integer parameter b ≥ 1, will produce a random sample of size b lg(n/b) + O(b) without knowing the total number of k-mers n beforehand. Notably, this is the first permutation-invariant and parallelizable sketching algorithm to date that can produce sublinear sketches. We also introduce a variant, α-MaxGeomHash, that produces sketches of size Θ(nα) for a given α; ∈ (0, 1). We study the algorithm's properties, analyze generated sample sizes, verify theoretical results empirically, provide a fast implementation, and investigate similarity estimate quality. With intermediate-sized samples between constant (MinHash) and linear (FracMinHash), MaxGeomHash balances efficiency (smaller samples need less processing) with accuracy (larger samples yield better estimates). On genomic datasets, we demonstrate that MaxGeomHash enables pairwise similarity estimation at a large scale, and MaxGeomHash sketches enable similarity estimation more accurately than MinHash, and more efficiently than FracMinHash.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers