Abstract
Background
Accurately predicting low energy barrier folding pathways between conformational secondary structures of an RNA molecule can provide valuable information for understanding its catalytic and regulatory functions. Most existing heuristic algorithms guide the construction of folding pathways by free energies of intermediate structures in the next move during the folding. However due to the size and ruggedness of RNA energy landscape, energy-guided search can become trapped in local optima.
Results
In this paper, we propose an algorithm that guides the construction of folding pathways through the formation and destruction of RNA stacks. Guiding the construction of folding pathways by coarse grained movements of RNA stacks can help reduce the search space and make it easier to jump out of local optima. RNAEAPath is able to find lower energy barrier folding pathways between secondary structures of conformational switches and outperforms the existing heuristic algorithms in most test cases.
Conclusions
RNAEAPath provides an alternate approach for predicting low-barrier folding pathways between RNA conformational secondary structures. The source code of RNAEAPath and the test data sets are available at http://genome.ucf.edu/RNAEAPath.
Introduction
RNA molecules play critical roles in the cell. The secondary structures of RNA molecules have been extensively studied because they provide insights into the functionality of RNAs. Native (functional) RNA secondary structures are usually thermodynamically stable and many of them are also the minimum free energy (MFE) structures. Nevertheless, at times, RNA molecules may fold into alternative secondary structures in order to participate in certain biological processes. For example, the SV-11 RNA folds into a metastable conformational structure and acts as a template for its own replication using Qβ replicase [1,2]. Further, RNA conformational switches can transform between alternative secondary structures dynamically in response to various environmental stimuli (such as heat shock and cold shock) [3-6], and carry out RNA-mediated biological activities, such as switching on or off downstream gene translation activities [7-9], regulating RNA splicing via multiple-state splicesomal conformations [10], and regulating the life cycles of virus [11].
The conformational transformations between alternative structures involve the folding of an RNA molecule into a series of sequential adjacent intermediate structures [12]. RNA folding pathways provide valuable information for understanding the catalytic and regulatory functions of RNAs (such as hok/sok of plasmid R1 [13]). RNA folding pathways may also impact subsequence biological events (such as formation of tertiary structures). Furthermore, prediction algorithms can help the design of RNA switches by providing prescribed structural alternatives.
In this paper, we present a new approach, RNAEAPath, for computing near optimal direct or indirect folding pathways between two secondary structures of an RNA molecule. We guide the search for low energy barrier folding pathways by integrating a variety of strategies for simulating the formation and destruction of RNA stacks in a flexible framework. Benchmark tests on conformational switches show that RNAEAPath produces lower energy barrier folding pathways and outperforms the existing heuristic approaches in most test cases.
Preliminary
Consider an RNA sequence as a string x = x1 ... xn of n letters over alphabet ∑ = {A, U, G, C}. A pair of complementary nucleotides xi and xj, can form hydrogen bonds and interact with each other, denoted by xi · xj. In this paper, we only consider the canonical base pairings (A · U and G · C) and the wobble base pairing (G · U). A secondary structure S of the RNA sequence x is a set of disjoint paired bases (i, j), where 1 ≤ i <j ≤ n. S may be represented by a length n string of dots and brackets, where dots represent unpaired bases and brackets represent paired bases. An RNA structure can comprise of stacks which are lists of consecutive base pairs ({(i, j), (i + 1, j - 1), . . . , (i + w, j - w)} such that xi · xj, . . . , xi+w · xj-w), and unstacking base pairs. A secondary structure is pseudoknotted if it contains two base pairs (i, j) and (i', j') with i <i' <j <j'. In this paper, we only consider pseudoknot-free structures. A base pair is compatible with a secondary structure if the base pair can be added to the structure without leading to a pseudoknotted structure or pairing a base with more than one partner. A stack is compatible with S if each base pair in the stack is either in S or is compatible with S.
The free energy of a secondary structure S is denoted by E(S). The set of neighboring structures of S consists of all structures that differ from S by an addition or deletion of exactly one base pair. For two secondary structures A and B, the distance between A and B is the number of base pairs in A not in B plus the number of base pairs in B not in A (i.e. |(A - B) ∪ (B - A)|). A folding pathway from A to B is a sequence of intermediate structures A = S0, . . . , Sm = B such that for all 0 ≤ i <m, intermediate structure Si+1 is a neighboring structure of Si. A folding pathway is direct if the intermediate structures contain only base pairs in A and B (i.e. Si ⊆ A ∪ B for 1 ≤ i <m) and otherwise is indirect. The saddle point of a pathway is an intermediate structure with the highest energy, and the energy barrier of a pathway is the energy difference between its saddle point and the initial structure. Since the folding of RNA structures is thermodynamically-driven and tends to avoid high-energy intermediate structures, current computational methods aim to find RNA folding pathways with the lowest energy barriers.
Previous studies
A lot of research has been done on predicting low energy barrier folding pathways. Morgan and Higgs proposed a greedy algorithm that employs the Nussinov model [14,15] for computing direct folding pathways with minimum energy barrier. They also described a heuristic that samples low energy structures from the partition function and glues them together by direct pathways [16]. The Nussinov model is simple and easy to implement, in which base stacking and loop entropies have no energetic contributions. Based on this model, Thachuk et al. [17] developed an exact algorithm, PathwayHunter, which exploits elegant properties of bipartite graphs for finding the globally optimal direct pathways. However, the Nussinov model is not as accurate as the Turner energy model [18,19] for approximating RNA thermodynamics. An exact solution based on the Turner energy model is also available. BARRIERS [20,21], exactly computes the globally optimal folding pathways between any two locally optimal secondary structures. BARRIERS reads an energy sorted list of RNA secondary structural conformations produced by RNAsubopt [22] and is able to compute both direct and indirect low energy barrier pathways.
Nevertheless, the above exact solutions are all exponential in time, because the problem itself is NP-hard [23]. Many heuristic algorithms have also been proposed following the seminal work of Morgan and Higgs. Flamm et al. [24] used breadth-first search in their heuristics (in Vienna RNA Package [25]) and kept the best k candidates at each step to bound the search. Voss et al. [26] devised a straightforward strategy for greedily searching direct pathways. Geis et al. [27] described a greedy heuristic to explore the search space of direct pathways and they also integrated look ahead techniques to diminish the search space. Recently, Dotu et al. [28] developed RNATabuPath, a fast heuristic that employs a TABU semi-greedy search to construct near optimal (both direct and indirect) folding trajectories. In addition, other heuristic approaches, by splitting the pathways into shorter pathways and solving each individually, have also been proposed [29,30]. There are also other formula presented for the prediction of RNA folding kinetics (see Flamm and Hofacker's review [31] for a systematic discussion).
Many of the existing heuristic algorithms start from an initial structure A, and, at each single step i, walk from the intermediate structure Si to one of its neighbors Si+1 until finally the end structure B is reached. The definition of neighborhood relationships as well as the fitness functions can be different. The fitness function of Si is usually defined on the free energy of Si, or the distance from Si to B, or a function of both. In general, greedy algorithms select the 'best' neighbor structure that has the best fitness. In contrast, semi-greedy algorithms may select any one from the top k structures for randomization. RNATabuPath, which is more sophisticated and outperforms other methods [28], keeps a tabu list for saving recently taken moves such that they can not be applied in certain steps until being removed from the tabu list. In general, during the construction of a folding pathway, these heuristic algorithms select the next intermediate structures from a set of neighboring structures that have the top lowest free energy or have the top shortest distance to B (or the combination of both).
Motivations
However, using energy to guide the construction of folding pathways in the above-mentioned heuristic algorithms has its downsides. The RNA energy landscapes can be extremely large and rugged [11,32] and the ruggedness of RNA energy landscape may cause the energy-guided search to become trapped in a local optimum. Similar to using structural rearrangements for modeling RNA folding kinetics [33], we want to construct candidate folding pathways in a manner that make it easier to jump out of local optima. It has been revealed that stacking base pairs contribute significantly to the stabilization of RNA secondary structures [34,35]. The dominant RNA folding pathways involve the formation and destruction of the stacks, and the cooperative formation of a stack along with the partial melting of an incompatible stack [36]. In this paper, we propose to guide the construction of pathways by the formation and destruction of stacks (not by free energy or by distance to the end structure). We still select the constructed folding pathways according to their energy barriers. Although the construction of folding pathways is not driven by thermodynamics, the selection of folding pathways is based on energy barriers. Guiding the construction of folding pathways by coarse grained movements of RNA stacks may help reduce the search space and makes it easier to jump out of local optima. In the rest of this paper, the Methods section describes the representation of folding pathways and the detailed strategies employed by RNAEAPath. The Results and Discussion section presents benchmarking results of RNAEAPath against existing methods followed by concluding remarks in the Conclusions section.
Methods
Representation of RNA folding pathways
Given an initial structure A and an end structure B, we use a sequence of actions successively applied to A, rather than a sequence of intermediate structures, to represent a folding pathway from A to B. Representing a pathway by an action chain can avoid cyclic additions and deletions of base pairs and make it easy to simulate the formation and deletion of RNA stacks. A similar representation has also been employed in the previous work of Thachuk et al. [17].
We use two types of actions, addi,j and deli,j in the representation of RNA folding pathways. For an intermediate secondary structure S of an RNA sequence x, the action addi,j denotes the 'add'ition of base pair (i, j) to S (i.e. addi,j(S) = S ∪ {(i, j)}) and deli,j denotes the 'del'etion of base pair (i, j) from S (i.e. deli,j(S) = S - {(i, j)}). An action is direct if it concerns a base pair in A ∪ B and indirect otherwise. The simplest direct pathways from A to B concern sequential deletions of all base pairs in A - B followed by additions of all base pairs in B - A.
Consider an example sequence x = GGGGAAAACCCCUUUU with initial and final structures shown in Figure 1. This simple pathway is obtained by first deleting all GC pairs from A until the RNA is single stranded, and then adding all AU pairs until B is obtained. Note that each intermediate structure Si differs from both its successor and predecessor by exactly one base pair. The actions in the example are all direct actions and the energy barrier is 5.50 - (-6.60) = 12.10 kcal/mol.
An addition action addi,j(S) conflicts with S if either xi or xj is already paired in S, and it clashes with S if there exists a base pair . A deletion action deli,j(S) conflicts with S if (xi, xj) ∉ S. An addition or deletion action is valid and can be applied to S properly if it neither conflicts with nor clashes with S.
A pathway from A to B can be represented by an action chain, which is a sequence of valid actions a1, . . . , am such that S0 = A, St = at(St-1) for 1 ≤ t ≤ m and Sm = B. Note that an action chain for A to B implies a sequence of valid actions that can be successively applied to A without introducing conflicts or clashes and produce B. We use the term "action chain" when the sequence is certified to be valid, and the term "sequence of actions" if its validity is not guaranteed.
This representation of a pathway p from A to B has the following important properties. First, every folding pathway can be represented by a unique action chain and every action chain represents a unique folding pathway (note that it is not necessarily true for a sequence of actions). Second, rearranging the order of actions in p results in a new sequence of actions which represents a new folding pathway from A to B when it is valid. (It is an action chain that can be successively applied to A properly and obtain B.) Third, introducing a pair of complementary actions (e.g. addi,j and deli,j) to p results in a new sequence of actions which also represents a new folding pathway from A to B if it is valid.
In RNAEAPath, folding pathways are represented in the form of action chains, instead of a sequence of intermediate structures. This representation makes the life cycle of a folding pathway transparent to the algorithm and also makes it easier for us to simulate the cooperative formation and destruction of RNA stacks by re-arranging the order of actions or introducing multiple pairs of complementary actions.
Predicting low energy barrier folding pathways
Given an RNA sequence x, an initial structure A and a final structure B, RNAEAPath computes a near optimal low energy barrier folding pathway from A to B in an evolutionary algorithm framework [37]. Figure 2 elucidates the overall paradigm for RNAEAPath. In this algorithm, the population of each generation is comprised of folding pathways ordered by their fitness. The functions are mutation strategies, each of which takes in a pathway p and produces a set of offspring pathways. These mutation strategies are central to the effectiveness of RNAEAPath and will be discussed in the Mutation strategies subsection. ℓ1, ℓ2, ℓ3, MAX and γ are positive integer control parameters.
The initial population of RNAEAPath, ℙ0, is filled with a set of simple pathways. Then, the algorithm goes through several iterations. ℙk-1 is the population of the k - 1st iteration. In the kth iteration, the algorithm produces (an ordered list of pathways) and ℙk (the population of the kth iteration) from ℙk-1. stores the best ℓ1 pathways in ℙk-1 and the best ℓ2 pathways produced by each p ∈ ℙk-1. More specifically, each pathway p ∈ ℙk-1 produces offsprings through every mutation strategy . The resulting offsprings produced by p are stored in a temporary list , and the top ℓ2 pathways are added to . Finally, the best solution of the kth iteration, termed as OPTk, is the best pathway in . And, ℙk (the population of the kth iteration) is composed of the best ℓ3 pathways of and will be used in the next iteration to produce ℙk+1. This helps keep the diversity of the population large, since ℙk contains at most ℓ2 offsprings produced by each p ∈ ℙk-1, no matter how many high-qualified offsprings are produced by each pathway. The algorithm terminates when a stopping condition is met, and it returns the best solution of the last iteration. Since retains the best ℓ1 pathways from ℙk-1 in each iteration, the best one ever encountered by the algorithm is retained in lists and ℙk, and stored in OPTk. So, OPTk has no worse fitness when compared to OPTk-1, and RNAEAPath always returns the best action chain it ever discovered.
In the remaining of this section, we discuss details regarding fitness evaluation, initialization of the population, stopping conditions and mutation strategies of RNAEAPath.
Fitness of action chains
The order of folding pathways (valid action chains) is primarily determined by their energy barriers. In case of a tie, the order is determined by the average of energy differences between the initial structure A and intermediate structures. Note that lower energies are preferred in the previous two methods of ordering. If a tie still exists, then shorter action chains are preferred. Action chains are ordered arbitrarily if their relative order can not be determined based on these three criteria.
The initial population of folding pathways
The initial population, ℙ0, contains 4 simple pathways from A to B formed by first deleting all base pairs in A - B and then adding those in B - A, similar to the pathway shown in Figure 1. Although we can also arrange base pair deletions and additions in an arbitrary order, we tailor them in a manner that simulates successive degradation and formation of RNA stacks. This is because random deletions and additions of base pairs tend to form additional unpaired loop regions that introduce entropic penalties (see Figure 3 for an illustration). We can degrade or form each stack either from the outmost base pair to the innermost base pair or vice verse. Usually, it yields a lower energy barrier if we degrade a stack from the outmost base pair to the innermost base pair and form a stack from the innermost base pair to the outmost base pair. However, for the sake of simplicity and generosity, we construct 4 simple pathways in ℙ0, which degrade all the stacks from the same direction and form all the stacks from the same direction. These simple pathways constitute a diversified and unbiased initial population for the algorithm to start from.
The number of offsprings produced by each mutation strategy
In each generation, the expected total number of offsprings produced by each individual is a constant positive integer . The number of offsprings that each individual produces using mutation strategy , in the kth generation, is denoted by . In the initial generation, is equivalent to /Y for all the mutation strategies. In the kth generation, is determined adaptively according to the quality of the offsprings produced using in the k - 1st iteration. Let be number of offsprings that are both produced through and selected to construct ℙk-1, the population of the k - 1st generation. Then, in the kth generation is computed as follows.
Mutation strategies that have produced more high quality offsprings in the (k - 1)st iteration are allowed to generate more offsprings in the kth generation. In contrast, mutation strategies that perform poorly in the k - 1st generation, are only allowed to generate a small number (min, with default value 3) of offsprings. Note that, the sum of for 1 ≤ y ≤ Y may be greater than ℓ.
Stopping conditions
The algorithm terminates when (1) the current best solution achieves the lowest possible value |E(B) - E(A)|, or (2) when no improvement has been found over γ consecutive iterations (a plateau), or (3) when MAX number of iterations have passed and successive iterations do not discover better results. Note that the algorithm may simulate further than MAX iterations if improvements are made in the very last iteration and it stops immediately if no improvement is made between successive iterations. More specifically, the algorithm stops when any of the following conditions is satisfied:
1. the energy barrier of OPTk is equivalent to |E(B) - E(A)|.
2. k >γ and the fitness of OPTk is equivalent to that of OPTk-γ.
3. k ≥ MAX and the fitness of OPTk is equivalent to that of OPTk-1.
Mutation strategies
In RNAEAPath, the mutation strategies employed to evolve folding pathways can be categorized into three types: (1) rearranging the order of actions, (2) introducing indirect pathways and (3) formation of a single stack or cooperative conversion of a pair of incompatible stacks. In this section, let denote the mutation strategies and let p = a1, . . . , am denote the input pathway A = S0, . . . , Sm = B. For each mutation strategy , we describe the process for generating one new pathway q using each mutation strategy when given p.
Type 1: reordering of actions
As described in the subsection of representation of RNA folding pathways, shuffling the order of actions of the input pathway p can result in a new pathway from A to B. In RNAEAPath, two mutation strategies of this type are employed. changes the position of an arbitrary action, and swaps the positions of two arbitrary actions.
M1: Let denote the sequence of actions obtained by first removing an action (1 ≤ t1 ≤ m) from p and then inserting it after , for all t2 ∈ {0,..., t1 - 1, t1 + 1, . . . , m}. Note that the resulting sequence of actions may not necessarily be a valid action chain. For instance, in Figure 1, and are valid action chains, while is not.
The procedure for computing is described in the following.
1. Choose t1 uniformly at random from the interval [1, m].
2. Compute the interval [l, u], (t1 <l <u <m), where l is the minimum and u is the maximum such that for all t2 ∈ [l, u] and t2 ≠ t1, is a valid action chain.
3. Choose t2 from the interval [l, u].
3.1. If is an addition operation, for all l ≤ t <t' ≤ u and t ≠ t' ≠ t1, the probability of choosing t is greater than that of t'.
3.2. Otherwise (a deletion operation), for all l ≤ t ≤ t' ≤ u and t ≠ t' ≠ t1, the probability of choosing t is less than that of t'
We do not choose t2 (t2 ≠ t1) uniformly at random in [l, u], instead, we tend to place addition operations in the front part of p, and deletion operations in the later part of p. This is because adding base pairs early and deleting them late during the folding may help stabilize the intermediate secondary structures. (Please see Additional file 1 for the detailed description of the discrete probability.)
: Let denote the sequence of actions obtained by swapping with . If the resulting sequence of actions is a valid action chain, let it be q; otherwise, restart the process. For example, in Figure 1, is not a valid action chain, while is. t1 and t2 are chosen uniformly at random from {(t1, t2): 1 ≤ t1 <t2 ≤ m}.
Mutation strategies of type 1 provide methods for shuffling the order of actions of an input pathway and generating slightly different new pathways. However, these strategies are not capable of introducing additional (indirect) base pairs, and the offsprings of a direct pathway produced through type 1 strategies are also direct. In the following, we will describe mutation strategies that are able to construct indirect pathways from a direct pathway.
Type 2: introducing indirect pathways by adding a pair of complementary actions
Morgan and Higgs [16] pointed out that the optimal folding paths are generally indirect pathways. This idea was further described by Dotu et al. [28]. The temporary formation of base pairs, especially those base pairs that do not belong to A ∪ B, may lower the energies of intermediate structures and thus render better folding pathways. Similarly, temporary deletion and reformation of a base pair also can create an indirect pathway.
: Let denote the sequence of actions obtained by introducing an addition action addi,j after and its complementary action deli,j after . Let denote the sequence of actions obtained by introducing a deletion action deli,j after and its complementary action addi,j after . For example, in Figure 1, add1,16, a2, ..., a7, del1,16, a8. The procedures for computing and are similar to each other. In the following, we only describe the procedure for computing .
1. Choose t1 uniformly at random from the interval [1, m], and obtain the associated intermediate structure .
2. Find a set of base pairs that neither conflict with nor clash with and choose a base pair (i, j) uniformly at random from the set.
3. Compute the interval [l, u], (t1 <l <u <m), where l is the minimum and u is the maximum such that for all values t2 ∈ [l, u] the resulting sequence of actions of is a valid action chain.
4. Choose t2 from the interval [l, u] with the probability of choosing t greater than that of t' for all t >t'. (This is because (i, j) is not likely to be deleted soon after its formation.)
Mutation strategy is capable of producing an indirect pathway from a direct pathway. In addition, a proper combination of multiple applications of may result in a pathway which simulates the successive formation and deletion of a temporary stack during the folding. Take the pathway p in Figure 1 as an example, we can construct a pathway q that forms a temporary stack consisting of all the GU base pairs via a multiple application of .
Type 3: formation of a single stack or simultaneous formation and deletion of a pair of incompatible stacks
In this section, we will introduce mutation strategies for producing pathways that involve with formation and deletion of stacks. To perform this type of strategies, we first need to find all possible stacks in an RNA sequence x. We use the algorithm of Bafna et al. [38] to find the set of all possible stacks with more than 3 consecutive base pairs, and denote it by STA(x). There are two strategies in Type 3: formation of a single stack and simultaneous formation and destruction of a pair of incompatible stacks .
: Let denote the sequence of actions obtained by forcing the formation of a stack stackh ∈ STA after action at, where stackh is compatible with St. The following describes the procedure for computing .
1. Choose t uniformly at random from the interval [1, m], and obtain the associated intermediate structure St.
2. Find a set of stacks that neither conflict with nor clash with St, and pick up a stack stackh uniformly at random from the set.
3. Ensure that each base pair (i, j) in {stackh - St} is sequentially (from the innermost base pair to the outmost base pair) formed after at.
3.1. If an action addi,j appears in {at+1, . . . , am}, move it up and place it after at using strategy .
3.2. Otherwise, introduce a pair of complementary actions addi,j and deli,j to p after at using strategy .
We can introduce additional stacks that are compatible with St using by forcing a sequence of addition actions successively forming base pairs in {stackh - St}, after at.
: Let denote the sequence of actions obtained by forcing the formation of a stack stackh ∈ STA which is incompatible with St, after action at. Shown on the right side of Figure 4 is a folding pathway which simultaneously destructs and forms a pair of incompatible stacks. Shown on the left side is a simple folding pathway which has exactly the same start and end structures, while it folds into a single stranded structure during the folding. Usually, the pathway on the right has lower energy barrier than the one on the left because it never folds into a single stranded structure. The folding pathway on the right side of Figure 4 can be introduced using strategy . And, the procedure for computing is as follows:
1. Choose an arbitrary deletion action at = deli,j from p, and obtain the associated intermediate structure St.
2. Find a set of stacks which either conflicts with or clashes with St, and choose a stack stackh uniformly at random from the set.
3. For each base pair (i', j') in {stackh - St} that is compatible with St, place addi',j' to p after at using strategy .
4. For each base pair (i', j') in {stackh - St} that is incompatible with St,
4.1. Find all the base pairs (i*, j*) in St that are incompatible with (i', j'), and ensure that each base pair (i*, j*) is deleted before the action addi',j'.
4.2. If a action appears in {at+1, . . . , am}, move it up before addi',j'using strategy .
4.3. Otherwise, introduce a pair of complementary actions and using strategy .
Using , we can introduce the simultaneous formation of a stack stackh, which is incompatible with St, and destruction of existent stacks (or base pairs) that hamper the formation of stackh. Since cooperative formation and destruction of stacks may contribute additional stacking energies for stabilizing the intermediate structures, better folding pathways with lower energy barriers may be rendered.
Results and discussion
Benchmark tests
We benchmarked RNAEAPath against existing methods (BARRIEERS [20,21], PathwayHunter [17], Find-path [24], and RNATabuPath [28]) by predicting low energy barrier folding pathways between two designated RNA secondary structures of 18 conformational switches. All the conformational switches were taken from the work of Dotu et. al [28]. Five of them are riboswitches, including rb1, rb2, rb3, rb4, and rb5. The metastable structures of these riboswitches have been experimentally determined by inline probing [9,39]. The thirteen remaining cases concern conformational switches, including hok, SL (Spliced leader RNA), s15, s-box leader, thiM leader, ms2, HDV, dsrA, ribD leader, amv, alpha operon and HIV-1 leader. Sequences of these conformational switches can also be obtained from paRNAss web site [40], and some of the metastable secondary structures were computationally determined using RNAbor [41].
We summarize the results computed by PathwayHunter, the results computed by BARRIERS, the results computed by Findpath (with the look ahead parameter k = 10), the best results over 1000 runs found by RNATabuPath, and the best results over 1 run and 5 runs found by RNAEAPath in Table 1 respectively. And we use '-' to mark test cases that methods fail to apply to in the table. For all methods, free energies of the intermediate structures of the folding pathways (including PathwayHunter) are evaluated based on the Turner model using RNAeval (with -d1 option) from the Vienna RNA Package [25]. The default configuration parameters of RNAEAPath are as follows. MAX is 10, γ is 5, is 100, ℓ1 is 10, ℓ2 is 5 and ℓ3 is 100. Due to the stochastic nature of the evolutionary algorithm, we report the best energy barrier of RNAEAPath found over both 1 run and 5 runs.
Table 1.
Instance | BARRIERS | PathwayHunter | FindPath | RNATabuPath | RNAEAPath | |
---|---|---|---|---|---|---|
(n = 1000) | (n = 1) | (n = 5) | ||||
rb1 | - | - | 24.04 | 24.04 | 23.2 | 22 |
rb2 | - | 10 | 8.2 | 7.25 | 6.5 | 6.5 |
rb3 | - | - | 22.4 | 17.9 | 17.5 | 16.7 |
rb4 | - | - | 16.9 | 16.9 | 16.9 | 16.9 |
rb5 | - | - | 24.54 | 24.54 | 21.44 | 21.44 |
hok | - | - | 28.5 | 29.66 | 20.7 | 20.1 |
SL | 11.80 | - | 13 | 12.9 | 13.0 | 12.9 |
attenuator | 8.3 | - | 8.7 | 8.6 | 8.7 | 8.5 |
s15 | 6.60 | - | 7.1 | 6.6 | 7.1 | 7.1 |
sbox leader | - | 7.9 | 5.2 | 5.2 | 5.2 | 5.2 |
thiM leader | - | - | 16.13 | 14.84 | 12.3 | 12.3 |
ms2 | - | 11.6 | 6.6 | 6.6 | 6.6 | 6.6 |
HDV | - | 23.53 | 17.4 | 17.0 | 16.8 | 16.8 |
dsrA | 8.0 | - | 8.3 | 8.2 | 8.0 | 8.0 |
ribD leader | - | - | 10.71 | 9.5 | 9.5 | 9.5 |
amv | - | 12.2 | 5.8 | 5.8 | 5.74 | 5.74 |
alpha operon | - | 11.8 | 6.5 | 6.5 | 6.1 | 6.1 |
HIV-1 leader | - | 14.3 | 9.3 | 11.3 | 8.9 | 8.9 |
Benchmarks of BARRIERS, PathwayHunter, Findpath, RNATabuPath, and RNAEAPath for predicting folding pathways between conformational switches. Energy barriers (measured in kcal/mol) of the best folding pathways over n runs are shown. Boldface numbers are the best energy barriers found by the heuristic algorithms.
BARRIERS is the only exact solution that produces indirect pathways based on the Turner model. BARRIERS has already been compared with existing heuristic algorithms on the same test cases in the work of Dotu et al. [28]. We put the results of BARRIERS in the table just for the sake of comparison. It has been pointed out that BARRIERS gives provably globally optimal pathways in 4 out of 18 cases (i.e. SL, attenuator, s15 and dsrA). BARRIERS can not be directly applied to 5 cases because either the initial or the end structure is not locally optimal (i.e. rb2, sbox leader, ms2, amv and alpha operon), and can not converge in the remaining cases. Possibly due to the fact that both the number of RNA secondary conformations to consider and the computational resources required increase exponentially with the growing length of the RNA sequence and the growing range of energy barrier. PathwayHunter is an exact algorithm capable of producing the optimal direct folding pathways based on the Nussinov model. PathwayHunter can not be directly applied to 10 cases, because it requires the pair of input structures being able to form a 'pairwise-optimal' bipartite conflicting graph (see the work of Thachuk et al. [17] for details). It is not surprising that the performance of the exact algorithm, PathwayHunter, evaluated by free energy (in kcal/mol), is worse than the heuristic algorithms. This is because PathwayHunter is optimized based on the Nussinov model and only produces direct pathways, while the optimal direct pathways predicted based on the Nussinov model may not be the optimal pathways (considering both direct and indirect pathways) based on the Turner model. All the remaining three methods are heuristics capable of producing both direct and indirect pathways based on the Turner model. Findpath produces folding pathways very quickly, however it performs worse than both RNATabuPath and RNAEAPath in most cases. RNATabuPath performs better than Findpath, but produces less optimal pathways than RNAEAPath. The energy barriers predicted by RNAEAPath over 5 runs are exactly the same as RNATabuPath in 5 cases, worse in 1 case, and better in all the remaining 12 cases.
Other heuristic algorithms (including a greedy algorithm of Voss et al. [26], a semi-greedy modification of the greedy algorithm, a greedy algorithm of Morgan, and Higgs [16] for predicting direct pathways and a variant of the Morgan-Higgs greedy algorithm capable of producing indirect pathways), that have been shown to perform considerably worse than RNATabuPath [28], are not listed.
By analyzing the best folding pathways produced by RNAEAPath, we found that most high-quality pathways involve the melting of stacks in the initial structure, the (possibly simultaneous) construction of stacks in the final structure, and the formation of auxiliary temporary stacks for obtaining folding pathways with lower energy barriers. We may take the lowest energy barrier folding pathway of rb2 found by RNAEAPath, shown in Figure 5 as an example. The stack colored in red is an auxiliary temporary stack introducing intermediate structures with lower free energies (which is constructed using ). Some of the stacks in the initial structure (in blue) are gradually melting, while at the same time, an incompatible stack (in green) is being formed (which is constructed using ). The stack colored in red is an auxiliary temporary stack introducing intermediate structures with lower free energies. This example convinces us that the advantages of RNAEAPath mainly come from employing mutation strategies that guide the construction of folding pathways by the formation and destruction of stacks and introducing additional stacking interactions that are important for stabilizing the intermediate structures. Detailed low energy barrier folding pathways for all the test cases are available on RNAEAPath web site.
Control parameters and performance
In order to evaluate the performance of RNAEAPath with different parameter configurations, we played with several other control parameters, including ℓ1, the number of top offsprings preserved in the next generation, varying from 1 to 16, ℓ3, the size of population in each generation, varying from 80 to 120 and , the total number of offsprings each individual is expected to produce, varying from 80 to 120. The detailed results are shown in Additional file 1. In general, RNAEAPath produces pathways of roughly the same quality for most test cases with different control parameters, among which the default parameter setting is the best.
We explored the relationship between the performance of RNAEAPath and the number of generations completed by plotting energy barriers of the best folding pathways produced by RNAEAPath with the default parameters in each generation, as shown in Figure 6. In general, the energy barriers decrease dramatically in the first one or two generations, and then the decrements slow down and finally plateau within 10 generations. For instance, in the case of rb3, the predicted energy barriers of folding pathways in the initial population is 27.3 kcal/mol. It decreases by 7.2 kcal/mol (24.9%) through the first two generations and decreases by 2.5 kcal/mol (9.2%) through the next three generations. Through all the remaining generations, no further improvement is made.
We also evaluated the execution time for each run of RNAEAPath. All the tests were performed on a 32 bit PC with 2.4 GHz Quad-processor and 3.2 GB memory, running Fedora 11. With the default control parameters, RNAEAPath terminates in 1 minute in the best case (rb4), 445 minutes in the worst case (hok), and 43 minutes on average. The detailed running times are shown in Additional file 1. We did not perform direct comparisons between the running time of RNATabuPath and that of RNAEAPath, since RNATabuPath is only accessible via web server.
Conclusions
In conclusion, we have presented a new algorithm, RNAEAPath, for predicting low energy barrier folding pathways between conformational structures. RNAEAPath guides the construction of folding pathways through the destruction and formation of RNA stacks using various types of mutation strategies, and integrates them in a well-established computational framework of evolutionary algorithm. These mutation strategies can help reduce the search space and make it easier to jump out of local optima. By analyzing the results, we confirmed that most of the best folding pathways involve the formation of auxiliary stacks, or involve the cooperative formation and disruption of incompatible stacks. The benchmarking results show that RNAEAPath outperforms the existing heuristics on most test cases. We believe that this is because the construction of folding pathways in RNAEAPath captures important biological findings.
Competing interests
The authors declare that they have no competing interests.
Authors' contributions
SZ and YL conceived and designed the project. YL implemented the program and ran benchmark tests for the paper. SZ and YL both drafted the manuscript and approved the final manuscript.
Supplementary Material
Contributor Information
Yuan Li, Email: liy@eecs.ucf.edu.
Shaojie Zhang, Email: shzhang@eecs.ucf.edu.
Acknowledgements
This article has been published as part of BMC Bioinformatics Volume 13 Supplement 3, 2012: ACM Conference on Bioinformatics, Computational Biology and Biomedicine 2011. The full contents of the supplement are available online at http://www.biomedcentral.com/1471-2105/13/S3.
References
- Biebricher CK, Diekmann S, Luce R. Structural analysis of self-replicating RNA synthesized by Qbeta replicase. J Mol Biol. 1982;154:629–648. doi: 10.1016/S0022-2836(82)80019-3. [DOI] [PubMed] [Google Scholar]
- Biebricher CK, Luce R. In vitro recombination and terminal elongation of RNA by Q beta replicase. EMBO J. 1992;11:5129–5135. doi: 10.1002/j.1460-2075.1992.tb05620.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bukau B. Regulation of the Escherichia coli heat-shock response. Mol Microbiol. 1993;9:671–680. doi: 10.1111/j.1365-2958.1993.tb01727.x. [DOI] [PubMed] [Google Scholar]
- Liphardt J, Onoa B, Smith SB, Tinoco I, Bustamante C. Reversible unfolding of single RNA molecules by mechanical force. Science. 2001;292:733–737. doi: 10.1126/science.1058498. [DOI] [PubMed] [Google Scholar]
- Narberhaus F. mRNA-mediated detection of environmental conditions. Arch Microbiol. 2002;178:404–410. doi: 10.1007/s00203-002-0481-8. [DOI] [PubMed] [Google Scholar]
- Narberhaus F, Waldminghaus T, Chowdhury S. RNA thermometers. FEMS Microbiol Rev. 2006;30:3–16. doi: 10.1111/j.1574-6976.2005.004.x. [DOI] [PubMed] [Google Scholar]
- Montange RK, Batey RT. Riboswitches: emerging themes in RNA structure and function. Annu Rev Biophys. 2008;37:117–133. doi: 10.1146/annurev.biophys.37.032807.130000. [DOI] [PubMed] [Google Scholar]
- Roth A, Breaker RR. The structural and functional diversity of metabolite-binding riboswitches. Annu Rev Biochem. 2009;78:305–334. doi: 10.1146/annurev.biochem.78.070507.135656. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wakeman CA, Winkler WC, Dann CE. Structural features of metabolite-sensing riboswitches. Trends Biochem Sci. 2007;32:415–424. doi: 10.1016/j.tibs.2007.08.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Smith DJ, Query CC, Konarska MM. Nought may endure but mutability: spliceosome dynamics and the regulation of splicing. Mol Cell. 2008;30:657–666. doi: 10.1016/j.molcel.2008.04.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Simon AE, Gehrke L. RNA conformational changes in the life cycles of RNA viruses, viroids, and virus-associated RNAs. Biochim Biophys Acta. 2009;1789:571–583. doi: 10.1016/j.bbagrm.2009.05.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mahen EM, Watson PY, Cottrell JW, Fedor MJ. mRNA secondary structures fold sequentially but exchange rapidly in vivo. PLoS Biol. 2010;8:e1000307. doi: 10.1371/journal.pbio.1000307. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gerdes K, Gultyaev AP, Franch T, Pedersen K, Mikkelsen ND. Antisense RNA-regulated programmed cell death. Annu Rev Genet. 1997;31:1–31. doi: 10.1146/annurev.genet.31.1.1. [DOI] [PubMed] [Google Scholar]
- Nussinov R, Jacobson AB. Fast algorithm for predicting the secondary structure of single-stranded RNA. Proc Natl Acad Sci USA. 1980;77:6309–6313. doi: 10.1073/pnas.77.11.6309. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nussinov R, Pieczenik G, Griggs JR, Kleitman DJ. Algorithms for loop matchings. SIAM Journal on Applied Mathematics. 1978;35:68–82. doi: 10.1137/0135006. [DOI] [Google Scholar]
- Morgan S, Higgs P. Barrier heights between ground states in a model of RNA secondary structure. J Phys A. 1998;31(14):3153. doi: 10.1088/0305-4470/31/14/005. [DOI] [Google Scholar]
- Thachuk C, Manuch J, Rafiey A, Mathieson LA, Stacho L, Condon A. An algorithm for the energy barrier problem without pseudoknots and temporary arcs. Pac Symp Biocomput. 2010. pp. 108–119. [DOI] [PubMed]
- Mathews DH, Sabina J, Zuker M, Turner DH. Expanded sequence dependence of thermodynamic parameters improves prediction of RNA secondary structure. J Mol Biol. 1999;288:911–940. doi: 10.1006/jmbi.1999.2700. [DOI] [PubMed] [Google Scholar]
- Turner DH, Sugimoto N, Freier SM. RNA structure prediction. Annu Rev Biophys Biophys Chem. 1988;17:167–192. doi: 10.1146/annurev.bb.17.060188.001123. [DOI] [PubMed] [Google Scholar]
- Flamm C, Fontana W, Hofacker IL, Schuster P. RNA folding at elementary step resolution. RNA. 2000;6:325–338. doi: 10.1017/S1355838200992161. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Flamm C, Hofacker IL, Stadler P, Wolfinger M. Barrier trees of degenerate landscapes. Z Phys Chem. 2002;216:155–173. doi: 10.1524/zpch.2002.216.2.155. [DOI] [Google Scholar]
- Wuchty S, Fontana W, Hofacker IL, Schuster P. Complete suboptimal folding of RNA and the stability of secondary structures. Biopolymers. 1999;49:145–165. doi: 10.1002/(SICI)1097-0282(199902)49:2<145::AID-BIP4>3.0.CO;2-G. [DOI] [PubMed] [Google Scholar]
- Manuch J, Thachuk C, Stacho L, Condon A. In: 15th International Conference DNA Computing and Molecular Programming. Deaton R, Suyama A, editor. Berlin, Heidelberg: Springer-Verlag; 2009. NP completeness of the direct energy barrier problem without pseudoknots; pp. 106–115.http://dx.doi.org/10.1007/978-3-642-10604-0_11 [Google Scholar]
- Flamm C, Hofacker IL, Maurer-Stroh S, Stadler PF, Zehl M. Design of multistable RNA molecules. RNA. 2001;7:254–265. doi: 10.1017/S1355838201000863. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hofacker IL. Vienna RNA secondary structure server. Nucleic Acids Res. 2003;31:3429–3431. doi: 10.1093/nar/gkg599. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Voss B, Meyer C, Giegerich R. Evaluating the predictability of conformational switching in RNA. Bioinformatics. 2004;20:1573–1582. doi: 10.1093/bioinformatics/bth129. [DOI] [PubMed] [Google Scholar]
- Geis M, Flamm C, Wolfinger MT, Tanzer A, Hofacker IL, Middendorf M, Mandl C, Stadler PF, Thurner C. Folding kinetics of large RNAs. J Mol Biol. 2008;379:160–173. doi: 10.1016/j.jmb.2008.02.064. [DOI] [PubMed] [Google Scholar]
- Dotu I, Lorenz WA, Van Hentenryck P, Clote P. Computing folding pathways between RNA secondary structures. Nucleic Acids Res. 2010;38:1711–1722. doi: 10.1093/nar/gkp1054. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bogomolov S, Mann M, Voß B, Podelski A, Backofen R. Shape-based barrier estimation for RNAs. German Conference on Bioinformatics. 2010. pp. 41–50.
- Lorenz R, Flamm C, Hofacker IL. 2D projections of RNA folding landscapes. German Conference on Bioinformatics. 2009. pp. 11–20.
- Flamm C, Hofacker IL. Beyond energy minimization: Approaches to the kinetic folding of RNA. Monatsh Chem. 2008;139:447–457. doi: 10.1007/s00706-008-0895-3. [DOI] [Google Scholar]
- Shcherbakova I, Mitra S, Laederach A, Brenowitz M. Energy barriers, pathways, and dynamics during folding of large, multidomain RNAs. Curr Opin Chem Biol. 2008;12:655–666. doi: 10.1016/j.cbpa.2008.09.017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ndifon W. A complex adaptive systems approach to the kinetic folding of RNA. Biosystems. 2005;82:257–265. doi: 10.1016/j.biosystems.2005.08.004. [DOI] [PubMed] [Google Scholar]
- Sponer J, Leszczynski J, Hobza P. Nature of nucleic acid-base stacking: nonempirical ab initio and empirical potential characterizaion of 10 stacked base dimers. Comparison of stacked and H-bonded base pairs. J Phys Chem. 1996;100(13):5590–5596. doi: 10.1021/jp953306e. [DOI] [Google Scholar]
- Yakovchuk P, Protozanova E, Frank-Kamenetskii MD. Base-stacking and base-pairing contributions into thermal stability of the DNA double helix. Nucleic Acids Res. 2006;34:564–574. doi: 10.1093/nar/gkj454. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhao P, Zhang WB, Chen SJ. Predicting secondary structural folding kinetics for nucleic acids. Biophys J. 2010;98:1617–1625. doi: 10.1016/j.bpj.2009.12.4319. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Eiben A. Evolutionary computing: the most powerful problem solver in the universe? Dutch Mathematical Archive. 2002;5:126–131. [Google Scholar]
- Bafna V, Tang H, Zhang S. Consensus folding of unaligned RNA sequences revisited. J Comput Biol. 2006;13:283–295. doi: 10.1089/cmb.2006.13.283. [DOI] [PubMed] [Google Scholar]
- Mandal M, Boese B, Barrick JE, Winkler WC, Breaker RR. Riboswitches control fundamental biochemical pathways in Bacillus subtilis and other bacteria. Cell. 2003;113:577–586. doi: 10.1016/S0092-8674(03)00391-X. [DOI] [PubMed] [Google Scholar]
- paRNAss. http://bibiserv.techfak.uni-bielefeld.de/parnass/examples.html
- Freyhult E, Moulton V, Clote P. Boltzmann probability of RNA structural neighbors and riboswitch detection. Bioinformatics. 2007;23:2054–2062. doi: 10.1093/bioinformatics/btm314. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.