bioRxiv · 10.1101/2020.01.29.925768
Sapling: Accelerating Suffix Array Queries with Learned Data Models
Abstract
MotivationAs genomic data becomes more abundant, efficient algorithms and data structures for sequence alignment become increasingly important. The suffix array is a widely used data structure to accelerate alignment, but the binary search algorithm used to query it requires widespread memory accesses, causing a large number of cache misses on large datasets. ResultsHere we present Sapling, an algorithm for sequence alignment which uses a learned data model to augment the suffix array and enable faster queries. We investigate different types of data models, providing an analysis of different neural network models as well as providing an open-source aligner with a compact, practical piecewise linear model. We show that Sapling outperforms both an optimized binary search approach and multiple existing read aligners on a wide collection of genomes, including human, bacteria, and plants, speeding up the algorithm by more than a factor of two while adding less than 1% to the suffix arrays memory footprint. Availability and implementationThe source code and tutorial are available open-source at https://github.com/mkirsche/sapling. Supplementary InformationSupplementary notes and figures are available online.
Source connections
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Kirsche, M., Das, A., Schatz, M.. 2020-01-30. Sapling: Accelerating Suffix Array Queries with Learned Data Models. https://doi.org/10.1101/2020.01.29.925768
Cite the original work for its findings. Save a collection to share your selection of sources.