Fast randomized approximate string matching with succinct hash data structures

Alberto Policriti, Nicola Prezza
<span title="">2015</span> <i title="Springer Nature"> <a target="_blank" rel="noopener" href="" style="color: black;">BMC Bioinformatics</a> </i> &nbsp;
The high throughput of modern NGS sequencers coupled with the huge sizes of genomes currently analysed, poses always higher algorithmic challenges to align short reads quickly and accurately against a reference sequence. A crucial, additional, requirement is that the data structures used should be light. The available modern solutions usually are a compromise between the mentioned constraints: in particular, indexes based on the Burrows-Wheeler transform offer reduced memory requirements at the
more &raquo; ... price of lower sensitivity, while hash-based text indexes guarantee high sensitivity at the price of significant memory consumption. Methods: In this work we describe a technique that permits to attain the advantages granted by both classes of indexes. This is achieved using Hamming-aware hash functions-hash functions designed to search the entire Hamming sphere in reduced time-which are also homomorphisms on de Bruijn graphs. We show that, using this particular class of hash functions, the corresponding hash index can be represented in linear space introducing only a logarithmic slowdown (in the query length) for the lookup operation. We point out that our data structure reaches its goals without compressing its input: another positive feature, as in biological applications data is often very close to be un-compressible. Results: The new data structure introduced in this work is called dB-hash and we show how its implementation-BW-ERNE-maintains the high sensitivity and speed of its (hash-based) predecessor ERNE, while drastically reducing space consumption. Extensive comparison experiments conducted with several popular alignment tools on both simulated and real NGS data, show, finally, that BW-ERNE is able to attain both the positive features of succinct data structures (that is, small space) and hash indexes (that is, sensitivity). Conclusions: In applications where space and speed are both a concern, standard methods often sacrifice accuracy to obtain competitive throughputs and memory footprints. In this work we show that, combining hashing and succinct indexing techniques, we can attain good performances and accuracy with a memory footprint comparable to that of the most popular compressed indexes.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="">doi:10.1186/1471-2105-16-s9-s4</a> <a target="_blank" rel="external noopener" href="">pmid:26051265</a> <a target="_blank" rel="external noopener" href="">pmcid:PMC4464037</a> <a target="_blank" rel="external noopener" href="">fatcat:4yccrahs2jd5vd6condhlvsceu</a> </span>
<a target="_blank" rel="noopener" href="" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href=""> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="unlock alternate icon" style="background-color: #fb971f;"></i> </button> </a> <a target="_blank" rel="external noopener" href="" title="pubmed link"> <button class="ui compact blue labeled icon button serp-button"> <i class="file alternate outline icon"></i> </button> </a>