BioinformaticsBioinformaticsPeer-reviewed journal article
Fast and compact matching statistics analytics
Abstract
MotivationFast, lightweight methods for comparing the sequence of ever larger assembled genomes from ever growing databases are increasingly needed in the era of accurate long reads and pan-genome initiatives. Matching statistics is a popular method for computing whole-genome phylogenies and for detecting structural rearrangements between two genomes, since it is amenable to fast implementations that require a minimal setup of data structures. However, current implementations use a single core, take too much memory to represent the result, and do not provide efficient ways to analyze the output in order to explore local similarities between the sequences. ResultsWe develop practical tools for computing matching statistics between large-scale strings, and for analyzing its values, faster and using less memory than the state of the art. Specifically, we design a parallel algorithm for shared-memory machines that computes matching statistics 30 times faster with 48 cores in the cases that are most difficult to parallelize. We design a lossy compression scheme that shrinks the matching statistics array to a bitvector that takes from 0.8 to 0.2 bits per character, depending on the dataset and on the value of a threshold, and that achieves 0.04 bits per character in some variants. And we provide efficient implementations of range-maximum and range-sum queries that take a few tens of milliseconds while operating on our compact representations, and that allow computing key local statistics about the similarity between two strings. Our toolkit makes construction, storage, and analysis of matching statistics arrays practical for multiple pairs of the largest genomes available today, possibly enabling new applications in comparative genomics. Availability ad implementationOur C/C++ code is available at https://github.com/odenas/indexed_ms under GPL-3.0.
- Citations
- 3
- FWCI
- 0.16
- Field percentile
- 40th percentile
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
- Sequence alignment with k-bounded matching statistics
Tommi Mäklin, Jarno Alanko, … Simon J. Puglisi·bioRxiv·May 19, 2025
- BinDash 2.0: New MinHash Scheme Allows Ultra-fast and Accurate Genome Search and Comparisons
Jianshu Zhao, Xiaofei Zhao, … Konstantinos T. Konstantinidis·bioRxiv·Mar 13, 2024
- Large-scale sequence comparisons with sourmash
N. Tessa Pierce‐Ward, Luiz C. Irber, … C. Titus Brown·F1000ResearchPeer-reviewed·Jul 4, 2019
- Improved pangenomic classification accuracy with chain statistics
Nathaniel K. Brown, Vikram S. Shivakumar, Ben Langmead·Lecture notes in computer sciencePeer-reviewed·Jan 1, 2025
- RedOak: a reference-free and alignment-freestructure for indexing a collection of similargenomes
Clément Agret, Annie Château, … Alban Mancheron·The Journal of Open Source SoftwarePeer-reviewed·Dec 28, 2022
- FastGA: Fast Genome Alignment
Eugene Wimberly Myers, Richard Michael Durbin, Chenxi Zhou·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024