An improved Four-Russians method and sparsified Four-Russians algorithm for RNA folding
Open Access
- 5 August 2016
- journal article
- research article
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 11 (1) , 1-11
Abstract
The basic RNA secondary structure prediction problem or single sequence folding problem (SSF) was solved 35 years ago by a now well-known $$O(n^3)$$ -time dynamic programming method. Recently three methodologies—Valiant, Four-Russians, and Sparsification—have been applied to speedup RNA secondary structure prediction. The sparsification method exploits two properties of the input: the number of subsequence Z with the endpoints belonging to the optimal folding set and the maximum number base-pairs L. These sparsity properties satisfy $$0 \le L \le n / 2$$ and $$n \le Z \le n^2 / 2$$ , and the method reduces the algorithmic running time to O(LZ). While the Four-Russians method utilizes tabling partial results. In this paper, we explore three different algorithmic speedups. We first expand the reformulate the single sequence folding Four-Russians $$\Theta \left(\frac{n^3}{\log ^2 n}\right)$$ -time algorithm, to utilize an on-demand lookup table. Second, we create a framework that combines the fastest Sparsification and new fastest on-demand Four-Russians methods. This combined method has worst-case running time of $$O(\tilde{L}\tilde{Z})$$ , where $$\frac{{L}}{\log n} \le \tilde{L}\le min\left({L},\frac{n}{\log n}\right)$$ and $$\frac{{Z}}{\log n}\le \tilde{Z} \le min\left({Z},\frac{n^2}{\log n}\right)$$ . Third we update the Four-Russians formulation to achieve an on-demand $$O( n^2/ \log ^2n )$$ -time parallel algorithm. This then leads to an asymptotic speedup of $$O(\tilde{L}\tilde{Z_j})$$ where $$\frac{{Z_j}}{\log n}\le \tilde{Z_j} \le min\left({Z_j},\frac{n}{\log n}\right)$$ and $$Z_j$$ the number of subsequence with the endpoint j belonging to the optimal folding set. The on-demand formulation not only removes all extraneous computation and allows us to incorporate more realistic scoring schemes, but leads us to take advantage of the sparsity properties. Through asymptotic analysis and empirical testing on the base-pair maximization variant and a more biologically informative scoring scheme, we show that this Sparse Four-Russians framework is able to achieve a speedup on every problem instance, that is asymptotically never worse, and empirically better than achieved by the minimum of the two methods alone.
Keywords
Funding Information
- National Science Foundation (IIS-1219278)
This publication has 37 references indexed in Scilit:
- Efficient edit distance with duplications and contractionsAlgorithms for Molecular Biology, 2013
- Sparsification of RNA structure prediction including pseudoknotsAlgorithms for Molecular Biology, 2010
- RNAstructure: software for RNA secondary structure prediction and analysisBMC Bioinformatics, 2010
- A simple, practical and complete O -time Algorithm for RNA folding using the Four-Russians SpeedupAlgorithms for Molecular Biology, 2010
- A Study of Accessible Motifs and RNA Folding ComplexityJournal of Computational Biology, 2007
- RNA Secondary Structure Prediction Based on Free Energy and Phylogenetic AnalysisJournal of Molecular Biology, 1999
- Expanded sequence dependence of thermodynamic parameters improves prediction of RNA secondary structureJournal of Molecular Biology, 1999
- An Updated Recursive Algorithm for RNA Secondary Structure Prediction with Improved Thermodynamic Parameters1997
- The equilibrium partition function and base pair binding probabilities for RNA secondary structureBiopolymers, 1990
- RNA secondary structure: a complete mathematical analysisMathematical Biosciences, 1978