Sequence aligners can guarantee accuracy in almost O(m log n) time: a rigorous average-case analysis of the seed-chain-extend heuristic

biorxiv(2023)

引用 1|浏览3
暂无评分
摘要
Seed-chain-extend with k-mer seeds is a powerful heuristic technique for sequence alignment employed by modern sequence aligners. While effective in practice for both runtime and accuracy, theoretical guarantees on the resulting alignment do not exist for seed-chain-extend. In this work, we give the first rigorous bounds for the efficacy of seed-chain-extend with k-mers in expectation. Assume we are given a random nucleotide sequence of length ~ n that is indexed (or seeded) and a mutated substring of length ~ m ≤ n with mutation rate θ < 0.206. We prove that we can find a k = Θ (log n ) for the k-mer size such that the expected runtime of seed-chain-extend under optimal linear gap cost chaining and quadratic time gap extension is O ( mn f ( θ ) log n ) where f ( θ ) < 2.43 · θ holds as a loose bound. The alignment also turns out to be good; we prove that more than ![Graphic][1] fraction of the homologous bases are recoverable under an optimal chain. We also show that our bounds work when k-mers are sketched , i.e. only a subset of all k-mers is selected, and that sketching reduces chaining time without increasing alignment time or decreasing accuracy too much, justifying the effectiveness of sketching as a practical speedup in sequence alignment. We verify our results in simulation and on real noisy long-read data and show that our theoretical runtimes can predict real runtimes accurately. We conjecture that our bounds can be improved further, and in particular, f ( θ ) can be further reduced. ### Competing Interest Statement The authors have declared no competing interest. [1]: /embed/inline-graphic-1.gif
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要