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

IF 6.3 2区 生物学 Q1 BIOCHEMISTRY & MOLECULAR BIOLOGY
Mahmudur Rahman Hera, David Koslicki, Conrado Martinez
{"title":"MaxGeomHash bridges MinHash and FracMinHash for scalable similarity estimation using sub-linear <i>k</i>-mer sketching.","authors":"Mahmudur Rahman Hera, David Koslicki, Conrado Martinez","doi":"10.1101/gr.282217.126","DOIUrl":null,"url":null,"abstract":"<p><p>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 <i>k</i>-mers from long sequences, and summarize large <i>k</i>-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 <i>k</i>-mers. Here, we introduce a novel sketching algorithm, MaxGeomHash, which for a specified integer parameter <i>b</i> ≥ 1, will produce a random sample of size <i>b lg(n/b) + O(b)</i> without knowing the total number of <i>k</i>-mers <i>n</i> 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 <i>Θ(n<sup>α</sup>)</i> for a given <i>α; ∈</i> (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.</p>","PeriodicalId":12678,"journal":{"name":"Genome research","volume":" ","pages":""},"PeriodicalIF":6.3000,"publicationDate":"2026-11-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Genome research","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1101/gr.282217.126","RegionNum":2,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"BIOCHEMISTRY & MOLECULAR BIOLOGY","Score":null,"Total":0}
引用次数: 0

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.

MaxGeomHash桥接MinHash和FracMinHash,用于使用亚线性k-mer草图进行可扩展的相似性估计。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Genome research
Genome research 生物-生化与分子生物学
CiteScore
12.40
自引率
1.40%
发文量
140
审稿时长
6 months
期刊介绍: Launched in 1995, Genome Research is an international, continuously published, peer-reviewed journal that focuses on research that provides novel insights into the genome biology of all organisms, including advances in genomic medicine. Among the topics considered by the journal are genome structure and function, comparative genomics, molecular evolution, genome-scale quantitative and population genetics, proteomics, epigenomics, and systems biology. The journal also features exciting gene discoveries and reports of cutting-edge computational biology and high-throughput methodologies. New data in these areas are published as research papers, or methods and resource reports that provide novel information on technologies or tools that will be of interest to a broad readership. Complete data sets are presented electronically on the journal''s web site where appropriate. The journal also provides Reviews, Perspectives, and Insight/Outlook articles, which present commentary on the latest advances published both here and elsewhere, placing such progress in its broader biological context.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书