arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.03929cs.DS
收藏

重新审视锚定编辑距离的 $O(n \log \log n)$ 链式算法

Revisiting $O(n \log \log n)$ chaining for anchored edit distance

University of Helsinki(赫尔辛基大学);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院)

Nicola Rizzo, Ragnar Groot Koerkamp

AI总结:

针对锚定编辑距离问题,通过结合Chao-Miller的间隙代价计算和Baker-Giancarlo的重叠代价计算,将现有$O(n \log^3 n)$时间算法改进为$O(n \log \log n)$时间和$O(n)$空间,并开发了llchain实现,在数百万片段和大基因组上表现出显著加速。

摘要:

共线链式是一种经典的序列比对启发式方法:它实现了可扩展的基因组比较,并且是许多基于种子-链-扩展的最先进读段映射器的主要组成部分。Eppstein等人(J. ACM, 1992)最早提出的$O(n \log \log n)$时间算法将$n$个片段在序列$T$和$Q$之间进行链式连接,同时基于连续片段之间的对角线距离$\Delta_{\text{diag}}$最小化间隙代价。他们还禁止片段重叠,而重叠在当前链式公式中至关重要:在长读段映射中,重叠提高了敏感性并避免了对所考虑片段类别的限制。Jain、Gibney和Thankachan(J. Comput. Biol. 2022)最近将$\Delta_{\text{diag}} = |\Delta_T -\Delta_Q|$重叠代价与经典的$L_\infty = \max(\Delta_T, \Delta_Q)$间隙代价(取片段之间水平和垂直间隙的最大值)相结合,并证明了在此代价模型下的链式等价于锚定编辑距离。我们通过将Chao和Miller(Algorithmica, 1995)的间隙代价计算与Baker和Giancarlo(ESA, 1998)的重叠代价计算相结合,将现有锚定编辑距离的$O(n \log^3 n)$时间算法改进为$O(n \log \log n)$时间和$O(n)$空间。通过开发llchain(我们方法的一个更简单的$O(n \log n)$时间实现),我们展示了可能最近被生物信息学界忽视的链式算法如何能够竞争性地扩展到数百万片段和大基因组。平均而言,在包含$3\,000\,000$个锚点的实例上,llchain比其他方法快$10$倍,在HiFi读段与参考人类基因组之间的MEMs上快$3$倍以上。

英文摘要:

Colinear chaining is a classical heuristic for sequence alignment: it enables scalable genome comparison and is a main component of many state-of-the-art read mappers based on seed-chain-extend. The earliest $O(n \log \log n)$ and $O(n \log n)$ time algorithms by Eppstein et al. (J. ACM, 1992) chained $n$ fragments between two sequences $T$ and $Q$ while minimizing a gap cost based on the diagonal distance $Δ_{\text{diag}}$ between consecutive fragments. They also forbid fragment overlaps, which are essential in current chaining formulations: in long-read mapping, overlaps improve sensitivity and avoid restrictions on the fragment class considered. Jain, Gibney, and Thankachan (J. Comput. Biol. 2022) recently combined a $Δ_{\text{diag}} = |Δ_T -Δ_Q|$ overlap cost with the classic $L_\infty = \max(Δ_T , Δ_Q)$ gap cost that takes the maximum between the horizontal and vertical gap between the fragments and they proved that chaining under this cost model is equivalent to the anchored edit distance. We improve the existing $O(n \log^3 n)$-time algorithm for anchored edit distance to $O(n \log \log n)$ time in $O(n)$ space, by combining the gap-cost computation of Chao and Miller (Algorithmica, 1995) with the overlap-cost computation of Baker and Giancarlo (ESA, 1998). By developing llchain, a simpler $O(n \log n)$-time implementation of our method, we show how chaining algorithms that might have been recently overlooked by the bioinformatics community scale competitively to millions of fragments and large genomes. On average, llchain is $10\times$ faster than other methods on instances with $3\,000\,000$ anchors, and over $2.3\times$ faster on MEMs between HiFi reads and a reference human genome.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑