bioRxivBioinformaticsPreprint
MEM-based pangenome indexing for k-mer queries
Stephen HwangiD, Nathaniel K. BrowniD, Omar Y. AhmediD, Katharine M. JenikeiD, Sam KovakaiD, Michael C. SchatziD, Ben LangmeadiD
Abstract
Pangenomes are growing in number and size, thanks to the prevalence of high-quality long-read assemblies. However, current methods for studying sequence composition and conservation within pangenomes have limitations. Methods based on graph pangenomes require a computationally expensive multiple-alignment step, which can leave out some variation. Indexes based on k-mers and de Bruijn graphs are limited to answering questions at a specific substring length k. We present Maximal Exact Match Ordered (MEMO), a pangenome indexing method based on maximal exact matches (MEMs) between sequences. A single MEMO index can handle arbitrary-length queries over pangenomic windows. MEMO enables both queries that test k-mer presence/absence (membership queries) and that count the number of genomes containing k-mers in a window (conservation queries). MEMOs index for a pangenome of 89 human autosomal haplotypes fits in 2.04 GB, 8.8x smaller than a comparable KMC3 index and 11.4x smaller than a PanKmer index. MEMO indexes can be made smaller by sacrificing some counting resolution, with our decile-resolution HPRC index reaching 0.67 GB. MEMO can conduct a conservation query for 31-mers over the human leukocyte antigen locus in 13.89 seconds, 2.5x faster than other approaches. MEMOs small index size, lack of k-mer length dependence, and efficient queries make it a flexible tool for studying and visualizing substring conservation in pangenomes.
- organism: human
- assay: whole-genome sequencing
- research focus: variant calling
- research focus: variant effect prediction
- research focus: benchmarking
- research focus: database / resource
- approach: statistical model
- Citations
- 0
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
- MONI-k: An index for efficient pangenome-to-pangenome comparison
Travis Gagie·bioRxiv·Aug 9, 2022
- MONI: A Pangenomics Index for Finding MEMs
Massimiliano Rossi, Marco Oliva, … Christina A. Boucher·bioRxiv·Jul 6, 2021
- Fulgor: A fast and compact k-mer index for large-scale matching and color queries
Jason Fan, Noor Singh, … Rob Patro·Algorithms for Molecular BiologyPeer-reviewed·Jan 22, 2024
- KmerKeys: a web resource for searching indexed genome assemblies and variants
Dmitri S. Pavlichin, HoJoon Lee, … Hanlee P. Ji·Nucleic Acids ResearchPeer-reviewed·Apr 21, 2022
- Partitioned Multi-MUM finding for scalable pangenomics
Vikram S. Shivakumar, Ben Langmead·bioRxiv·May 20, 2025
- Movi 2: Fast and Space-Efficient Queries on Pangenomes
Mohsen Zakeri, Nathaniel K. Brown, … Ben Langmead·BioinformaticsPeer-reviewed·Jun 16, 2026