Computing the matching statistics of patterns with respect to a text is a fundamental task in bioinformatics, but a formidable one when the text is a highly compressed genomic database. Bannai et al. gave an efficient solution for this case, which Rossi et al. recently implemented, but it uses two passes over the patterns and buffers a pointer for each character during the first pass. In this paper, we simplify their solution and make it streaming, at the cost of slowing it down slightly. This means that, first, we can compute the matching statistics of several long patterns (such as whole human chromosomes) in parallel while still using a reasonable amount of RAM; second, we can compute matching statistics online with low latency and thus quickly recognize when a pattern becomes incompressible relative to the database. Our code is available at https://github.com/koeppl/phoni.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC8583545PMC
http://dx.doi.org/10.1109/dcc50243.2021.00027DOI Listing

Publication Analysis

Top Keywords

matching statistics
16
compute matching
8
phoni streamed
4
matching
4
streamed matching
4
statistics
4
statistics multi-genome
4
multi-genome references
4
references computing
4
computing matching
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!