arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.08754cs.DS
收藏

基于最小路径覆盖的DAGs动态规划:共线链扩展

Using Minimum Path Cover to Boost Dynamic Programming on DAGs: Co-Linear Chaining Extended

Anna Kuosmanen, Topi Paavilainen, Travis Gagie, Rayan Chikhi, Alexandru I. Tomescu, Veli Mäkinen

摘要:

在基因组的图形表示上比对测序读数是泛基因组学的重要组成部分。这样的方法通常找到一组局部锚,其指示读取的子串与图的子路径之间的合理匹配。然后将这些锚匹配组合以形成子路径上的完整读段的(半局部)比对。共线链接是一种算法上严格的方法来组合锚点。对于两个序列作为输入的情况,这是一种众所周知的方法。在这里,我们扩展了该方法,使得其中一个输入可以是有向无环图(DAG),例如转录组学中的剪接图或泛基因组学中的变体图。这个对DAG的扩展与最小路径覆盖问题有着紧密的联系,它要求一个覆盖DAG所有节点的最小路径基数集。我们研究的情况下,当最小路径覆盖的大小$k$是小的,这是在实践中经常出现的情况。首先,我们提出了一个算法,寻找一个最小路径覆盖的DAG $(V,E)$在$O(k|E|\log|V|)$时间,改善所有已知的时间范围时,$k$是小的,DAG不是太密集。其次,我们介绍了一个通用的技术扩展动态规划(DP)算法从序列到DAG。这是通过我们的最小路径覆盖算法实现的,并且通过模仿最小路径覆盖的每个路径上的序列的DP算法来工作。这种技术通常产生的算法比它们在序列上的对应算法慢一个因子$k$。我们的技术可以应用于,例如,经典的最长递增子序列和最长公共子序列问题,扩展到标记的DAG。最后,我们将这种技术应用于共线链接问题。我们还实现了新的共线性链接方法。对拼接图的实验表明,该方法在实际应用中也是有效的。

英文摘要:

Aligning sequencing reads on graph representations of genomes is an important ingredient of pan-genomics. Such approaches typically find a set of local anchors that indicate plausible matches between substrings of a read to subpaths of the graph. These anchor matches are then combined to form a (semi-local) alignment of the complete read on a subpath. Co-linear chaining is an algorithmically rigorous approach to combine the anchors. It is a well-known approach for the case of two sequences as inputs. Here we extend the approach so that one of the inputs can be a directed acyclic graph (DAGs), e.g. a splicing graph in transcriptomics or a variant graph in pan-genomics. This extension to DAGs turns out to have a tight connection to the minimum path cover problem, asking for a minimum-cardinality set of paths that cover all the nodes of a DAG. We study the case when the size $k$ of a minimum path cover is small, which is often the case in practice. First, we propose an algorithm for finding a minimum path cover of a DAG $(V,E)$ in $O(k|E|\log|V|)$ time, improving all known time-bounds when $k$ is small and the DAG is not too dense. Second, we introduce a general technique for extending dynamic programming (DP) algorithms from sequences to DAGs. This is enabled by our minimum path cover algorithm, and works by mimicking the DP algorithm for sequences on each path of the minimum path cover. This technique generally produces algorithms that are slower than their counterparts on sequences only by a factor $k$. Our technique can be applied, for example, to the classical longest increasing subsequence and longest common subsequence problems, extended to labeled DAGs. Finally, we apply this technique to the co-linear chaining problem. We also implemented the new co-linear chaining approach. Experiments on splicing graphs show that the new method is efficient also in practice.

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

↑