bioRxiv · 10.1101/2021.11.05.467453
Fast and Optimal Sequence-to-Graph Alignment Guided by Seeds
Abstract
We present a novel A[*] seed heuristic that enables fast and optimal sequence-to-graph alignment, guaranteed to minimize the edit distance of the alignment assuming non-negative edit costs. We phrase optimal alignment as a shortest path problem and solve it by instantiating the A[*] algorithm with our seed heuristic. The seed heuristic first extracts non-overlapping substrings (seeds) from the read, finds exact seed matches in the reference, marks preceding reference positions by crumbs, and uses the crumbs to direct the A[*] search. The key idea is to punish paths for the absence of foreseeable seed matches. We prove admissibility of the seed heuristic, thus guaranteeing alignment optimality. Our implementation extends the free and open source aligner and demonstrates that the seed heuristic outperforms all state-of-the-art optimal aligners including GO_SCPLOWRAPHC_SCPLOWAO_SCPLOWLIGNERC_SCPLOW, VO_SCPLOWARGASC_SCPLOW, PO_SCPLOWAC_SCPLOWSGAL, and the prefix heuristic previously employed by ASO_SCPLOWTARIXC_SCPLOW. Specifically, we achieve a consistent speedup of >60x on both short Illumina reads and long HiFi reads (up to 25kbp), on both the E. coli linear reference genome (1Mbp) and the MHC variant graph (5Mbp). Our speedup is enabled by the seed heuristic consistently skipping >99.99% of the table cells that optimal aligners based on dynamic programming compute. ASO_SCPLOWTARIXC_SCPLOW aligner and evaluations: https://github.com/eth-sri/astarix Full paper: https://www.biorxiv.org/content/10.1101/2021.11.05.467453
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ivanov, P., Bichsel, B., Vechev, M.. 2021-11-08. Fast and Optimal Sequence-to-Graph Alignment Guided by Seeds. https://doi.org/10.1101/2021.11.05.467453
Cite the original work for its findings. Save a collection to share your selection of sources.