Research Article  Open Access
Gang Wang, Wenyi Zhang, Qiao Ning, Huiling Chen, "A Novel Framework Based on ACO and PSO for RNA Secondary Structure Prediction", Mathematical Problems in Engineering, vol. 2013, Article ID 796304, 8 pages, 2013. https://doi.org/10.1155/2013/796304
A Novel Framework Based on ACO and PSO for RNA Secondary Structure Prediction
Abstract
Prediction of RNA structure is a useful process for creating new drugs and understanding genetic diseases. In this paper, we proposed a particle swarm optimization (PSO) and ant colony optimization (ACO) based framework (PAF) for RNA secondary structure prediction. PAF consists of crucial stem searching (CSS) and global sequence building (GSB). In CSS, a modified ACO (MACO) is used to search the crucial stems, and then a set of stems are generated. In GSB, we used a modified PSO (MPSO) to construct all the stems in one sequence. We evaluated the performance of PAF on ten sequences, which have length from 122 to 1494. We also compared the performance of PAF with the results obtained from six existing wellknown methods, SARNAPredict, RnaPredict, ACRNA, PSOfold, IPSO, and mfold. The comparison results show that PAF could not only predict structures with higher accuracy rate but also find crucial stems.
1. Introduction
RNA functions as an information carrier, catalyst, and regulatory element, perhaps reflecting its importance in the earliest stages of evolution. The structures of RNAs provide insight into the mechanisms behind these functions. Determining sequence is the first step in determining structure, and many billions of nucleotide sequences are now known. The second step is determining secondary structure, and relatively few classes of RNAs currently have known secondary structures [1]. The RNA secondary structure prediction problem is a critical one in molecular biology. Secondary structure as well as tertiary structure can be determined by Xray crystallography and Nuclear Magnetic Resonance (NMR) spectroscopy. Data analysis tools used for prediction of RNA structure are mainly based on dynamic programming [2]. Recently, the metaheuristic methods are widely used to predict RNA secondary structure. These methods generally include genetic algorithm (GA) [3], particle swarm optimization (PSO) [4], ant colony optimization (ACO) [5], and simulated annealing (SA) [6]. The stateoftheart methods are introduced as follows.
For SA. Shapiro and Wu [7] later modified the algorithm by introducing an annealing mutation operator. Tsang and Wiese [8] presented SARNAPredict, the permutationbased algorithm for RNA secondary structure prediction based on SA with a simple thermodynamic model and studied mainly its convergence behavior. A performance evaluation of SARNAPredict in terms of prediction accuracy was made via comparison with eight stateoftheart RNA prediction algorithms. The results presented in this paper demonstrate that SARNAPredict can outperform other stateoftheart algorithms in terms of prediction accuracy. Furthermore, there is substantial improvement of prediction accuracy by incorporating a more sophisticated thermodynamic model.
For GA. Benedetti and Morosetti [9] compared the accuracy of an EA against known RNA structures with the objective of finding optimal and suboptimal structures that were similar. Shapiro et al. [10] modified their EA to study folding pathways using a massively parallel genetic algorithm. Wiese et al. designed a serial EA, RnaPredict [11], which encodes RNA secondary structures as permutations. RnaPredict was parallelized via a coarsegrained distributed EA for RNA secondary structure prediction [12].
For ACO. Yu et al. [13] put forward ACRNA based on ACO for RNA secondary structure prediction. For a given RNA sequence, the set of all possible stems is obtained, and the energy of each stem is calculated and stored at the initial stage. Furthermore, a more realistic formula is used to compute the energy of multibranch loop in the following iteration. Then a folding pathway is simulated, including such processes as construction of the heuristic information, the rule of initializing the pheromone, the mechanism of choosing the initial and next stem, and the strategy of updating the pheromone between two different stems.
For PSO. Geis and Middendorf [14] introduced HelixPSO for finding minimum energy RNA secondary structures. Neethling and Engelbrecht [15] proposed a setbased Particle Swarm Optimization algorithm to optimize the structure of an RNA molecule, using an advanced thermodynamic model. Liu et al. [16] proposed an improved PSO (IPSO). The authors designed an efficient objective function according to the minimum free energy, the number of selected stems, and the average length of selected stems. A promising experimental result was obtained, and the effectiveness and practicability of IPSO for RNA secondary structure prediction was shown. Xing et al. [17, 18] proposed PSOfold based on IPSO. An adaptive parameter controller of PSO based on fuzzy logic is used to improve the balance between exploration and exploitation. Solution conversion strategy (SCS) is designed to enhance the PSO performance in discrete problem such as stem combination.
The metaheuristic methods [19, 20] mentioned previously only paid attention to structure of the sequence but ignored the searching capability of algorithm. PSOfold is our previous work with an attempt to enhance the searching range in PSO, but the crucial stems are not considered. In this paper, we proposed PAF to improve the exploration ability and focused on the influence of the crucial stems.
The main contributions of this paper are described as follows.(1)A framework, namely, PAF, was proposed for RNA secondary structure prediction, which includes CSS and GSB.(2)In CSS, MACO was proposed to search the crucial stems.(3)In GSB, MPSO was designed to construct all the stems in one sequence.The rest of the paper is organized as follows. Section 2 briefly introduces the theory of ACO and PSO. In Section 3, we present the proposed PAF framework and describe the implementation of CSS and GSB. In Section 4, the experiment results on various public sequences are discussed. Finally, we draw the conclusions of this paper in Section 5.
2. Basic Theory
2.1. ACO
ACO algorithm is biologically inspired from the behavior of colonies of real ants, and in particular how they forage for food. ACO has been formalized into a metaheuristic for combinatorial optimization problems by Dorigo and coworkers [21].
In ACO, an ant being in node chooses the next node with a probability given by the random proportional rule defined as follows [22].
(a) State Transition Rule. Consider where is its feasible neighborhood. The feasible neighborhood excludes nodes already visited in the partial tour of ant , and it may be further restricted to a candidate set of the nearest neighbors of a city . Once an ant has visited all nodes, it returns to its starting node.
(b) State Updating Rule. After all ants have completed their solutions, pheromone evaporation on all nodes is triggered according to (2). The pheromone on each edge is updated according to the following equation: where is the number of ants at each iteration and is the pheromone evaporation rate. Consider where denotes the tour length and is a predefined constant.
2.2. PSO
PSO originated from the simulation of social behavior of birds in a flock [23, 24]. In PSO, each particle flies in the search space with a velocity adjusted by its own flying memory and its companion’s flying experience. All particles have objective function values which are decided by a fitness function. Consider the following: where indicates the cognition learning factor, indicates the social learning factor, and and are random numbers uniformly distributed in . Each particle then moves to a new potential solution based on the following equation:
Kennedy and Eberhart [25] proposed a binary PSO in which a particle moves in a state space restricted to 0 and 1 on each dimension, in terms of the changes in probabilities that a bit will be in one state or the other. Consider the following:
The function is a sigmoid limiting transformation and rand is a random number selected from a uniform distribution in .
3. PAF
3.1. CSS
3.1.1. MACO
(1) State Transition Rule. The task of each ant is to build a set of stems. The ants find an RNA secondary structure via a probabilistic decision rule to move through adjacent states. An ant selects a stem as follows: where and are the regulatory factors, is the amount of pheromone trail on stem , is the priori available heuristic information, and is the remaining stems.
(2) State Update Rule. The pheromone trails are updated according to (8) and (9). Consider where is the pheromone trail evaporation rate and is the quantity per unit of length of the trail substance that is laid on stem by the th ant. Also, where Energy represents the quality of an ant’s solution. If stem is not included, the zero is returned.
3.1.2. Algorithm of MACO
See Algorithm 1.

3.2. GSB
3.2.1. MPSO
MPSO was modified based on our previous studies IPSO [16] and PSOfold [18] which could predict the RNA secondary structure with excellent performance. The objective function is improved according to the size of stem and the number of pseudoknots. Consider the following: where , , is the weight; is the free energy for the secondary structure in the th particle; is the number of pairs of the th stem; is the length of possible pairs; is the size of stem which is higher than 4; is the number of selected stems; is the total number of stems which are higher than 4; is the size of pseudoknots; is the size of possible pairs.
3.2.2. Algorithm of MPSO
See Algorithm 2.

4. Results
The parameter details of ACRNA are number of ants = 100, number of iterations = 600, = 0.2, = 1, and = 1. For IPSO, number of particles = 100, number of iterations = 600, = 0.9, = 2, and = 2. For PSOfold, number of particles = 100, number of iterations = 600, = 0.9, = 2, and = 2. For CSS, number of ants = 100, number of iterations = 600, , , and . For GSB, number of particles = 100, number of iterations = 600, , = 2, and . To generate the mfold results presented here, the mfold Web server version 3.1 was used with default settings. One noteworthy setting is the percentage of suboptimality. This percentage allows the user to control the number of suboptimal structures predicted by mfold. In this experiment, the value was set to return the 5 percent lowest energy structures.
The measures used for prediction accuracy on the majority of documents currently are sensitivity, specificity, and Fmeasure. In RNA secondary structure prediction, TP (true positive) indicates the number of base pairs predicted correctly; FN (false negative) denotes the number of base pairs which existed in real structure but were not predicted correctly; FP (false positive) represents the number of base pairs which existed in no real structure but was mistakenly predicted; TN (true negative) stands for the number of base pairs which were not matched and predicted correctly. The TN is rarely used in actual measurement because it is generally much larger than TP, FN, and FP. Sensitivity (Se) means the percentage of all base pairs which was correctly predicted in the real structure; specific (Sp) refers to the percentage of all predicted base pairs which was correctly predicted. The general prediction is very difficult for both and is always biased in favor of one side. A metric that combines both the specificity and sensitivity measures into one is Fmeasure; it can be used as a single performance measure for a predictor. The main result of the paper will be concluded by the sensitivity and specificity [18]. The specific formula is as follows:
Ten sequences from the comparative RNA website are selected for evaluation of the proposed method, and the details of the sequence are described in Table 1. For these sequences the natural secondary structures are also available from the comparative RNA website. These sequences were chosen as they represent different sequence lengths and come from various genomes of organisms that are exposed to a range of physiological conditions. They represent four RNA classes: 5S rRNA, Group I intron 16S rRNA, 16S rRNA, and Group I intron 23S rRNA. Due to space constraints in some tables, we refer to these specific RNA sequences by an abbreviation of the name of the organism from which they originated [18].

Table 2 shows the comparative results of the highest matching base pair structures between PAF and mfold in regard to sensitivity, specificity, and Fmeasure. PAF predicts fewer base pairs on 8 sequences. PAF obtained higher TP in 7 cases and lower FP in all cases. The values FN predicted by PAF are also lower than mfold in 7 out of 10 cases. For sensitivity, specificity, and Fmeasure, PAF won in 7, 10, and 10 cases, respectively. Generally, PAF performs significantly better than mfold with respect to sensitivity, specificity, and Fmeasure.

Table 3 shows a more detailed analysis of comparing the highest matching base pair structures from SARNAPredict, RnaPredict, ACRNA, PAF, PSOfold, and mfold according to sensitivity and specificity. The results generated by SARNAPredict and RnaPredict were taken from the literature [8, 11]. From Table 3, it can be seen that PAF gets better sensitivity on 6 sequences and predicts higher specificity in 8 cases. SARNAPredict gets better results in 2 cases in terms of sensitivity and in 2 cases with regard to specificity. ACRNA wins on 1 sequence for sensitivity and on 1 sequence for specificity. PSOfold and mfold obtained better sensitivity on one sequence and two sequences, respectively. Among the six methods, PAF gets the best results in most cases. From another point of view, the average performance of PAF on sensitivity and specificity exceeds that of the other methods. It is demonstrated that PAF is significantly superior to the other 5 methods.

In order to validate the stability of the proposed method, we ran ACRNA, IPSO, PAF, and PSOfold ten times and calculated the average highest matching base pair structures of each algorithm in terms of sensitivity and specificity. The detail results are shown in Table 4. From Table 4, it is easy to see that PAF obtains best sensitivity and specificity on 8 sequences and on 7 sequences, respectively. Thus, this proves that the proposed method performs stably on multiple sequences, considerably surpassing the other methods. The convergence progress is shown in Figures 1, 2, and 3. From the figures, we can clearly see that the proposed method could avoid trapping in the local optimum during the iterations. This is because the crucial stems lead the algorithm to the right direction.

5. Conclusion
In this paper, a framework, PAF, was proposed for RNA secondary structure prediction, which consists of CSS and GSB. In order to preserve crucial structures, MACO in CSS is proposed to find the important stems. MPSO in GSB is developed to generate predicted structures in order to save searching spaces. The experimental results show that the performance of the proposed method is significantly better than those of the other metaheuristic methods in terms of sensitivity, specificity, and Fmeasure. We will try to enhance the performance of convergence and reduce time complexity in the future.
Acknowledgment
This research was supported by The Chinese Government’s Executive Program “Instrumentation development and field experimentation” (SinoProbe09).
References
 D. H. Mathews and D. H. Turner, “Prediction of RNA secondary structure by free energy minimization,” Current Opinion in Structural Biology, vol. 16, no. 3, pp. 270–278, 2006. View at: Publisher Site  Google Scholar
 S. Ray and S. Pal, “RNA secondary structure prediction using soft computing,” IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 99, pp. 1–16, 2012. View at: Google Scholar
 E. Khosravani, G. Moradi, and S. Sajjadifar, “An accurate thermodynamic model to predict phase behavior of clathrate hydrates in the absence and presence of methanol based on the genetic algorithm,” Journal of Chemical Thermodynamics, vol. 57, pp. 286–294, 2013. View at: Publisher Site  Google Scholar
 Y. Liu, G. Wang, H. Chen, H. Dong, X. Zhu, and S. Wang, “An improved particle swarm optimization for feature selection,” Journal of Bionic Engineering, vol. 8, no. 2, pp. 191–200, 2011. View at: Publisher Site  Google Scholar
 Y. Li, G. Wang, and H. Chen, “An ant colony optimization based dimension reduction method for highdimensional datasets,” Journal of Bionic Engineering, vol. 10, no. 2, pp. 242–250, 2013. View at: Publisher Site  Google Scholar
 D. F. Ouyang, “Investigating the molecular structures of solid dispersions by the simulated annealing method,” Chemical Physics Letters, vol. 554, pp. 177–184, 2012. View at: Publisher Site  Google Scholar
 B. A. Shapiro and J. C. Wu, “An annealing mutation operator in the genetic algorithms for RNA folding,” Computer Applications in the Biosciences, vol. 12, no. 3, pp. 171–180, 1996. View at: Google Scholar
 H. H. Tsang and K. C. Wiese, “SARNApredict: accuracy improvement of RNA secondary structure prediction using permutationbased simulated annealing,” IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 7, no. 4, pp. 727–740, 2010. View at: Publisher Site  Google Scholar
 G. Benedetti and S. Morosetti, “A genetic algorithm to search for optimal and suboptimal RNA secondary structures,” Biophysical Chemistry, vol. 55, no. 3, pp. 253–259, 1995. View at: Publisher Site  Google Scholar
 B. A. Shapiro, D. Bengali, W. Kasprzak, and J. C. Wu, “RNA folding pathway functional intermediates: their prediction and analysis,” Journal of Molecular Biology, vol. 312, no. 1, pp. 27–44, 2001. View at: Publisher Site  Google Scholar
 K. C. Wiese, A. A. Deschenes, and A. G. Hendriks, “RnaPredict—an evolutionary algorithm for RNA secondary structure prediction,” IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 5, no. 1, pp. 25–41, 2008. View at: Publisher Site  Google Scholar
 K. C. Wiese and A. Hendriks, “Comparison of PRnaPredict and mfoldalgorithms for RNA secondary structure prediction,” Bioinformatics, vol. 22, no. 8, pp. 934–942, 2006. View at: Publisher Site  Google Scholar
 J. Yu, C. Zhang, Y. Liu, and X. Li, “Simulating the folding pathway of RNA secondary structure using the modified ant colony algorithm,” Journal of Bionic Engineering, vol. 7, no. 4, pp. 382–389, 2010. View at: Publisher Site  Google Scholar
 M. Geis and M. Middendorf, “A particle swarm optimizer for finding minimum free energy RNA secondary structures,” in Proceedings of the IEEE Swarm Intelligence Symposium (SIS '07), pp. 1–8, Honolulu, Hawaii, USA, April 2007. View at: Publisher Site  Google Scholar
 M. Neethling and A. P. Engelbrecht, “Determining RNA secondary structure using setbased particle swarm optimization,” in Proceedings of the IEEE Congress on Evolutionary Computation (CEC '06), pp. 1670–1677, Vancouver, Canada, July 2006. View at: Google Scholar
 Y. Liu, H. Dong, H. Zhang, G. Wang, Z. Li, and H. Chen, “Prediction of RNA secondary structure based on particle swarm optimization,” Chemical Research in Chinese Universities, vol. 27, no. 1, pp. 108–112, 2011. View at: Google Scholar
 C. Xing, G. Wang, Y. Wang, W. Shen, Y. Liang, and Z. Ji, “A novel method for RNA secondary structure prediction,” in Proceedings of the 7th International Conference on Natural Computation (ICNC '11), pp. 1136–1140, Shanghai, China, July 2011. View at: Publisher Site  Google Scholar
 C. Xing, G. Wang, Y. Wang, Y. Zhou, K. Wang, and L. Fan, “PSOfold: a metaheuristic for RNA folding,” Journal of Computational Information Systems, vol. 8, no. 2, pp. 915–923, 2012. View at: Google Scholar
 X. Li and M. Yin, “Application of differential evolution algorithm on selfpotential data,” PLoS ONE, vol. 7, no. 12, Article ID e51199, 2012. View at: Publisher Site  Google Scholar
 X. Li and M. Yin, “An oppositionbased differential evolution algorithm for permutation flow shop scheduling based on diversity measure,” Advances in Engineering Software, vol. 55, pp. 10–31, 2013. View at: Publisher Site  Google Scholar
 M. Dorigo, G. Di Caro, and L. M. Gambardella, “Ant algorithms for discrete optimization,” Artificial Life, vol. 5, no. 2, pp. 137–172, 1999. View at: Publisher Site  Google Scholar
 M. Dorigo, V. Maniezzo, and A. Colorni, “Ant system: optimization by a colony of cooperating agents,” IEEE Transactions on Systems, Man, and Cybernetics B, vol. 26, no. 1, pp. 29–41, 1996. View at: Publisher Site  Google Scholar
 J. Kennedy and R. Eberhart, “Particle swarm optimization,” in Proceedings of the IEEE International Conference on Neural Networks, pp. 1942–1948, December 1995. View at: Google Scholar
 R. Eberhart and J. Kennedy, “New optimizer using particle swarm theory,” in Proceedings of the 6th International Symposium on Micro Machine and Human Science, pp. 39–43, October 1995. View at: Google Scholar
 J. Kennedy and R. C. Eberhart, “Discrete binary version of the particle swarm algorithm,” in Proceedings of the IEEE International Conference on Systems, Man, and Cybernetics, pp. 4104–4108, October 1997. View at: Google Scholar
Copyright
Copyright © 2013 Gang Wang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.