arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1307.7820q-bio.QMcs.CEcs.DS
收藏

基于Four-Russians方法的RNA折叠快速算法

Faster Algorithms for RNA-folding using the Four-Russians method

Balaji Venkatachalam, Dan Gusfield, Yelena Frid

摘要:

使用Nussinov的动态规划算法,可以在O(n^3)时间内计算出使长度为n的RNA序列的互补碱基之间的非交叉匹配数最大化的二级结构。四俄罗斯方法是一种在预处理步骤之后通过乘法因子减少某些动态规划算法的运行时间的技术,其中对固定大小的所有较小子问题的解决方案进行穷举和求解。Frid和Gusfield设计了一个O(\frac{n^3}{\log n})的RNA折叠算法。在他们的算法中,预处理与算法计算交织在一起。(Algo。摩尔生物学:2010年)。我们简化了算法和分析,做一次预处理之前的算法计算。我们称之为双向量方法。我们还展示了变体,而不是详尽的预处理,我们只解决一次在主算法中遇到的子问题,并memoize结果。我们给出了一个简单的正确性证明,并探讨了较早的方法的实际优势。Nussinov算法允许O(n^2)时间并行算法。我们展示了一个并行算法,使用两个向量的想法,提高了时间约束O(\frac{n^2}{log n})。我们讨论的数据结构的组织,利用合并内存访问快速运行时间。组织数据结构的思想也有助于提高串行算法的运行时间。对于长度高达6000个碱基的序列,并行算法仅需约2.5秒,双矢量串行方法在桌面上约需57秒,在服务器上约需15秒。在串行算法中,双向量和记忆版本比Frid-Gusfield算法快3倍,比Nussinov算法快20倍。

英文摘要:

The secondary structure that maximizes the number of non-crossing matchings between complimentary bases of an RNA sequence of length n can be computed in O(n^3) time using Nussinov's dynamic programming algorithm. The Four-Russians method is a technique that will reduce the running time for certain dynamic programming algorithms by a multiplicative factor after a preprocessing step where solutions to all smaller subproblems of a fixed size are exhaustively enumerated and solved. Frid and Gusfield designed an O(\frac{n^3}{\log n}) algorithm for RNA folding using the Four-Russians technique. In their algorithm the preprocessing is interleaved with the algorithm computation. (Algo. Mol. Biol., 2010). We simplify the algorithm and the analysis by doing the preprocessing once prior to the algorithm computation. We call this the two-vector method. We also show variants where instead of exhaustive preprocessing, we only solve the subproblems encountered in the main algorithm once and memoize the results. We give a simple proof of correctness and explore the practical advantages over the earlier method. The Nussinov algorithm admits an O(n^2) time parallel algorithm. We show a parallel algorithm using the two-vector idea that improves the time bound to O(\frac{n^2}{log n}). We discuss the organization of the data structures to exploit coalesced memory access for fast running times. The ideas to organize the data structures also help in improving the running time of the serial algorithms. For sequences of length up to 6000 bases the parallel algorithm takes only about 2.5 seconds and the two-vector serial method takes about 57 seconds on a desktop and 15 seconds on a server. Among the serial algorithms, the two-vector and memoized versions are faster than the Frid-Gusfield algorithm by a factor of 3, and are faster than Nussinov by up to a factor of 20.

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

↑