| Literature DB >> 24602450 |
Balaji Venkatachalam1, Dan Gusfield, Yelena Frid.
Abstract
BACKGROUND: 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(n3) time using Nussinov's dynamic programming algorithm. The Four-Russians method is a technique that reduces 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(n3logn) algorithm for RNA folding using the Four-Russians technique. In their algorithm the preprocessing is interleaved with the algorithm computation. THEORETICALEntities:
Year: 2014 PMID: 24602450 PMCID: PMC3996002 DOI: 10.1186/1748-7188-9-5
Source DB: PubMed Journal: Algorithms Mol Biol ISSN: 1748-7188 Impact factor: 1.405
Figure 1A diagrammatic representation of the two-vector method. The row and column blocks are matched as labelled. The gray boxes and the gray dashes show the initial value and difference vectors. The group of cells in b correspond to the Four-Russians loop in lines 16–20 of Algorithm 1; the cells in a are used in the loop in lines 10–12 and the cells in c form the loop in lines 13–15.
Figure 2Running time of the two-vector method on a desktop and on a fast server.
Speedup factors of the serial programs on the desktop
| | | | |||
| 2000 | 16.5 | 7.7 | 7.3 | 5.6 | 3.0 |
| 3000 | 62.5 | 8.8 | 8.3 | 6.4 | 3.4 |
| 4000 | 196.6 | 11.9 | 11.4 | 8.8 | 4.7 |
| 5000 | 630.3 | 21.1 | 18.9 | 14.7 | 7.8 |
| 6150 | 1027.8 | 18.1 | 17.0 | 13.3 | 7.03 |
Figure 3Running time of the CUDA program on two GPUs. The programs run twice as fast on the Tesla card than the GeForce card.
Running times for the parallel program (in secs)
| 2000 | 0.20 | 0.14 |
| 3000 | 0.62 | 0.38 |
| 4000 | 1.36 | 0.74 |
| 5000 | 2.70 | 1.39 |
| 6000 | 4.97 | 2.50 |