Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2011 Feb 18;6(2):e16450. doi: 10.1371/journal.pone.0016450

Generalized Centroid Estimators in Bioinformatics

Michiaki Hamada 1,2,*, Hisanori Kiryu 1, Wataru Iwasaki 1, Kiyoshi Asai 1,2
Editor: Raya Khanin3
PMCID: PMC3041832  PMID: 21365017

Abstract

In a number of estimation problems in bioinformatics, accuracy measures of the target problem are usually given, and it is important to design estimators that are suitable to those accuracy measures. However, there is often a discrepancy between an employed estimator and a given accuracy measure of the problem. In this study, we introduce a general class of efficient estimators for estimation problems on high-dimensional binary spaces, which represent many fundamental problems in bioinformatics. Theoretical analysis reveals that the proposed estimators generally fit with commonly-used accuracy measures (e.g. sensitivity, PPV, MCC and F-score) as well as it can be computed efficiently in many cases, and cover a wide range of problems in bioinformatics from the viewpoint of the principle of maximum expected accuracy (MEA). It is also shown that some important algorithms in bioinformatics can be interpreted in a unified manner. Not only the concept presented in this paper gives a useful framework to design MEA-based estimators but also it is highly extendable and sheds new light on many problems in bioinformatics.

Introduction

In estimation problems in bioinformatics, the space of solutions is generally large and often high-dimensional. Among them, a number of fundamental problems in bioinformatics, such as alignment of biological sequences, prediction of secondary structures of RNA sequences, prediction of biological networks, and estimation of phylogenetic trees, are classified into estimation problems whose solutions are in a high-dimensional binary space. Such problems are generally difficult to solve, and the estimates are often unreliable.

The popular solutions for these problems, such as for the secondary structure of RNA with minimum free energy, are the maximum likelihood (ML) estimators. The ML estimator maximizes the probability that the estimator is exactly correct, but that probability is generally very small. Noticing the drawbacks of the ML estimators, Carvalho and Lawrence have proposed the centroid estimator, which represents an ensemble of all the possible solutions and minimizes the expected Hamming loss of the prediction [1].

In this paper, we conduct a theoretical analysis of estimation problems in high-dimensional binary space, and present examples and solutions in bioinformatics. The theories in this paper provide a unified framework for designing superior estimators for estimation problems in bioinformatics. The estimators discussed in this paper, including the ML estimator and the centroid estimator, are formalized as maximum expected gain (MEG) estimators, which maximize the estimator-specific gain functions with respect to the given probability distribution. The objective of the estimation is not always to find the exact solution with an extremely small probability or to find the solution with the minimum Hamming loss, but rather to find the most accurate estimator. Therefore, we adopt the principle of maximum expected accuracy (MEA), which has been successfully applied to various problems in bioinformatics, such as the alignment of biological sequences [2][4], the secondary structure prediction of RNA [5][8] and other applications [9][11].

Theoretical analysis, however, shows that those MEA estimators are not always robust with respect to accuracy measures. To address this, we previously proposed the Inline graphic-centroid estimator in a few specific problems [4], [12]. In this paper, in order to make the Inline graphic-centroid estimator easily applicable to other estimation problems, we introduce an abstract form of the Inline graphic-centroid estimator, which is defined on general binary spaces and designed to fit to the commonly used accuracy measures. The Inline graphic-centroid estimator is a generalization of the centroid estimator, and offers a more robust framework for estimators than the previous estimators. We extend the theory of maximum expected gain (MEG) estimators and Inline graphic-centroid estimators for two advanced problems: the estimators that represent the common solutions for multiple entries, and the estimators for marginalized probability distributions.

Materials and Methods

Problem 1 (Pairwise alignment of two biological sequences) Given a pair of biological (DNA, RNA, protein) sequences Inline graphic and Inline graphic , predict their alignment as a point in Inline graphic , the space of all the possible alignments of Inline graphic and Inline graphic .

Problem 2 (Prediction of secondary structures of RNA sequences) Given an RNA sequence Inline graphic , predict its secondary structure as a point in Inline graphic , the space of all the possible secondary structures of Inline graphic .

A point in Inline graphic, can be represented as a binary vector of Inline graphic dimensions by denoting the aligned bases across the two sequences as “1” and the remaining pairs of bases as “0”. A point in Inline graphic can also be represented as a binary vector of Inline graphic dimensions, which represent all the pairs of the base positions in Inline graphic, by denoting the base pairs in the secondary structures as “1”. In each problem, the predictive space (Inline graphic or Inline graphic) is a subset of a binary space (Inline graphic or Inline graphic) because the combinations of aligned bases or base pairs are restricted (see “Discrete (binary) spaces in bioinformatics” in Appendices for more formal definitions). Therefore, Problem 1 and Problem 2 are special cases of the following more general problem:

Problem 3 (Estimation problem on a binary space) Given a data set Inline graphic and a predictive space Inline graphic (a set of all candidates of a prediction), which is a subset of Inline graphic -dimensional binary vectors Inline graphic , that is, Inline graphic , predict a point Inline graphic in the predictive space Inline graphic .

Not only Problem 1 and Problem 2 but also a number of other problems in bioinformatics are formulated as Problem 3, including the prediction of biological networks and the estimation of phylogenetic trees (Problem 4).

To discuss the stochastic character of the estimators, the following assumption is introduced.

Assumption 1 (Existence of probability distribution) In Problem 3, there exists a probability distribution Inline graphic on the predictive space Inline graphic .

For Problem 3 with Assumption 1, we have the following Bayesian maximum likelihood (ML) estimator.

Definition 1 (Bayesian ML estimator [1] ) For Problem 3 with Assumption 1, the estimator

graphic file with name pone.0016450.e032.jpg

which maximizes the Bayesian posterior probability Inline graphic , is referred to as a Bayesian maximum likelihood (ML) estimator.

For problems classified as Problem 3, Bayesian ML estimators have dominated the field of estimators in bioinformatics for years. The classical solutions of Problem 1 and Problem 2 are regarded as Bayesian ML estimators with specific probability distributions, as seen in the following examples.

Example 1 (Pairwise alignment with maximum score) In Problem 1 with a scoring model (e.g., gap costs and a substitution matrix), the distribution Inline graphic in Assumption 1 is derived from the Miyazawa model [13] (See “Probability distributions Inline graphic on Inline graphic in Appendices ), and the Bayesian ML estimator is equivalent to the alignment that has the highest similarity score.

Example 2 (RNA structure with minimum free energy) In Problem 2 with a McCaskill energy model [14] , the distribution Inline graphic in Assumption 1 can be obtained with the aid of thermodynamics (See “Probability distributions Inline graphic on Inline graphic ” in Appendices for details), and the Bayesian ML estimator is equivalent to the secondary structure that has the minimum free energy (MFE).

When a stochastic model such as a pair hidden Markov model (pair HMM) in Problem 1 or a stochastic context-free grammar (SCFG) in Problem 2 is assumed in such problems, the distribution and the ML estimator are derived in a more direct manner.

The Bayesian ML estimator regards the solution which has the highest probability as the most likely one. To provide more general criteria for good estimators, here we define the gain function that gives the gain for the prediction, and the maximum expected gain (MEG) estimator that maximizes the expected gain.

Definition 2 (Gain function) In Problem 3, for a point Inline graphic and its prediction Inline graphic , a gain function is defined as Inline graphic , Inline graphic .

Definition 3 (MEG estimator) In Problem 3 with Assumption 1, the maximum expected gain (MEG) estimator is defined as

graphic file with name pone.0016450.e044.jpg

If the gain function is designed according to the accuracy measures of the target problem, the MEG estimator is considered as the maximum expected accuracy (MEA) estimator, which has been successfully applied in bioinformatics (e.g., [9]).Although in estimation theory a loss function that should be minimized is often used, in order to facilitate the understanding of the relationship with the MEA, in this paper, we use a gain function that should be maximized.

The MEG estimator for the gain function Inline graphic is the ML estimator. Although this means that the ML estimator maximizes the probability that the estimator is identical to the true value, there is an extensive collection of suboptimal solutions and the probability of the ML estimator is extremely small in cases where Inline graphic in Problem 3 is large. Against this background, Carvalho and Lawrence proposed the centroid estimator, which takes into account the overall ensemble of solutions [1]. The centroid estimator can be defined as an MEG estimator for a pointwise gain function as follows:

Definition 4 (Pointwise gain function) In Problem 3, for a point Inline graphic and its prediction Inline graphic , a gain function Inline graphic written as

graphic file with name pone.0016450.e050.jpg (1)

where Inline graphic ( Inline graphic ), is referred to as a pointwise gain function.

Definition 5 (Centroid estimator [1] ) In Problem 3 with Assumption 1, a centroid estimator is defined as an MEG estimator for the pointwise gain function given in Eq. (1) by defining Inline graphic .

Throughout this paper, Inline graphic is the indicator function that takes a value of 1 or 0 depending on whether the condition constituting its argument is true or false. The centroid estimator is equivalent to the expected Hamming loss minimizer [1]. If we can maximize the pointwise gain function independently in each dimension, we can obtain the following consensus estimator, which can be easily computed.

Definition 6 (Consensus estimator [1] ) In Problem 3 with Assumption 1, the consensus estimator Inline graphic for a pointwise gain function is defined as

graphic file with name pone.0016450.e056.jpg

The consensus estimator is generally not contained within the predictive space Inline graphic since the predictive space Inline graphic usually has complex constraints for each dimension (see “Discrete (binary) spaces in bioinformatics” in Appendices). Carvalho and Lawrence proved a sufficient condition for the centroid estimator to contain the consensus estimator (Theorem 2 in [1]). Here, we present a more general result, namely, a sufficient condition for the MEG estimator for a pointwise function to contain the consensus estimator.

Theorem 1 In Problem 3 with Assumption 1 and a pointwise gain function, let us suppose that a predictive space Inline graphic can be written as

graphic file with name pone.0016450.e060.jpg (2)

where Inline graphic is defined as

graphic file with name pone.0016450.e062.jpg

for an index-set Inline graphic . If the pointwise gain function in Eq. (1) satisfies the condition

graphic file with name pone.0016450.e064.jpg (3)

for every Inline graphic and every Inline graphic ( Inline graphic ), then the consensus estimator is in the predictive space Inline graphic , and hence the MEG estimator contains the consensus estimator.

The above conditions are frequently satisfied in bioinformatics problems (see Appendices for examples).

Results

Inline graphic-centroid estimator: generalized centroid estimator

In Problem 3, the “1”s and the “0”s in the binary vector of a prediction Inline graphic can be interpreted as positive and negative predictions, respectively. The respective numbers of true positives (TP), true negatives (TN), false positives (FP) and false negatives (FN) for a point Inline graphic and its prediction Inline graphic are denoted by Inline graphic, Inline graphic, Inline graphic and Inline graphic, respectively (See also Eqs (15)–(18)).

To design a superior MEG estimator, it is natural to use a gain function of the following form, which yields positive scores for the number of true predictions (TP and TN) and negative scores for those of false predictions (FP and FN):

graphic file with name pone.0016450.e077.jpg (4)

where Inline graphic is a positive constant (Inline graphic). Note that this gain function is a pointwise gain function.

This gain function is naturally compatible with commonly used accuracy measures such as sensitivity, PPV, MCC and F-score (a function of TP, TN, FP and FN; see “Evaluation measures defined using TP, TN, FP and FN” in Appendices for definitions). The following Definition 7 and Theorem 2 characterize the MEG estimator for this gain function.

Definition 7 ( Inline graphic -centroid estimator) In Problem 3 with Assumption 1 and a fixed Inline graphic , the Inline graphic -centroid estimator is defined as the MEG estimator for the pointwise gain function given in Eq. (1) by

graphic file with name pone.0016450.e083.jpg (5)

Theorem 2 The MEG estimator for the gain function in Eq. (4) is equivalent to a Inline graphic -centroid estimator with Inline graphic .

Theorem 2 (see Appendices for a formal proof) is derived from the following relations:

graphic file with name pone.0016450.e086.jpg

The Inline graphic-centroid estimator maximizes the expected value of Inline graphic, and includes the centroid estimator as a special case where Inline graphic. The parameter Inline graphic adjusts the balance between the gain from true negatives and that from true positives.

The expected value of the gain function of the Inline graphic-centroid estimator is computed as follows (see Appendices for the derivation):

graphic file with name pone.0016450.e092.jpg (6)

where

graphic file with name pone.0016450.e093.jpg (7)

Since the second term in Eq. (6) does not depend on Inline graphic, the Inline graphic-centroid estimator maximizes the first term. The following theorem is obtained by assuming the additional condition described below.

Theorem 3 In Problem 3 with Assumption 1, the predictive space Inline graphic satisfies the following condition: if Inline graphic , then Inline graphic where Inline graphic for all Inline graphic . Then, the Inline graphic -centroid estimator is equivalent to the estimator that maximizes the sum of marginalized probabilities Inline graphic that are greater than Inline graphic in the prediction.

The condition is necessary to obtain Inline graphic for the Inline graphic that produces negative values in the first term in Eq. (6). Problem 2, Problem 1, and many other typical problems in bioinformatics satisfy this condition. Because the pointwise gain function of the Inline graphic-centroid estimator satisfies Eq. (3) in Theorem 1, we can prove the following Corollary 1.

Corollary 1 ( Inline graphic -centroid estimator for Inline graphic ) In Problem 3 with Assumption 1, the predictive space Inline graphic is given in the same form in Eq. (2) of Theorem 1. Then, the Inline graphic -centroid estimator for Inline graphic contains its consensus estimator. Moreover, the consensus estimator is identical to the following estimator Inline graphic :

graphic file with name pone.0016450.e113.jpg (8)

where Inline graphic .

Here, Inline graphic is the marginalized probability of the distribution for the Inline graphic-th dimension of the predictive space. In Problem 1, it is known as the alignment probability, which is defined as the probability of each pair of positions across the two sequences being aligned. In Problem 2, it is known as the base pairing probability, which is defined as the probability of each pair of positions forming a base pair in the secondary structure. These marginalized probabilities can be calculated by using dynamic programming algorithms, such as the forward-backward algorithm and the McCaskill algorithm, depending on the model of the distributions. (see “Probability distributions on discrete spaces” in Appendices for those distributions).

Corollary 1 does not hold for Inline graphic, but in typical problems in bioinformatics the Inline graphic-centroid estimator for Inline graphic can be calculated efficiently by using dynamic programming, as shown in the following examples.

Example 3 ( Inline graphic -centroid estimator of pairwise alignment) In Problem 1 with Assumption 1, the Inline graphic -centroid estimator maximizes the sum of the alignment probabilities which are greater than Inline graphic (Theorem 3), and for Inline graphic it can be given as the consensus estimator calculated from Eq. (8) (Corollary 1). For Inline graphic , the Inline graphic -centroid estimator is obtained by using a dynamic programming algorithm with the same type of iterations as in the Needleman-Wunsch algorithm:

graphic file with name pone.0016450.e126.jpg (9)

where Inline graphic stores the optimal value of the alignment between two sub-sequences, Inline graphic and Inline graphic (see “Secondary structure prediction of an RNA sequence (Problem 2)” in Appendices for detailed descriptions).

Example 4 ( Inline graphic -centroid estimator for prediction of secondary structures) In Problem 2 with Assumption 1, the Inline graphic -centroid estimator maximizes the sum of the base pairing probabilities that are greater than Inline graphic (Theorem 3), and for Inline graphic it can be given as the consensus estimator calculated from Eq. (8) (Corollary 1). For Inline graphic , the Inline graphic -centroid estimator is obtained with the aid of a dynamic programming algorithm with the same type of iterations as in the Nussinov algorithm:

graphic file with name pone.0016450.e136.jpg (10)

where Inline graphic stores the best score of the sub-sequence Inline graphic (see “Pairwise alignment of biological sequences (Problem 1)” in Appendices for the detail descriptions).

The Inline graphic-centroid estimators are implemented in LAST [4] for Problem 1 and in CentroidFold [12], [15] for Problem 2.

Problem 4 (Estimation of phylogenetic trees) Given a set of operational taxonomic units Inline graphic , predict their phylogenetic trees (unrooted and multi-branched trees) as a point in Inline graphic , the space of all the possible phylogenetic trees of Inline graphic .

The phylogenetic tree in Inline graphic is represented as a binary vector with Inline graphic dimension where Inline graphic is the number of units in Inline graphic, based on partition of Inline graphic by cutting every edge in the tree (see “The space of phylogenetic trees: Inline graphic” in Appendices for details). A sampling algorithm can be used to estimate the partitioning probabilities approximately [16].

Example 5 ( Inline graphic -centroid estimator of phylogenetic estimation) In Problem 4 with Assumption 1, the Inline graphic -centroid estimator maximizes the number of the partitioning probabilities which are greater than Inline graphic (Theorem 3), and for Inline graphic it can be give as the consensus estimator calculated from Eq. (8) (Corollary 1) (see “Estimation of phylogenetic trees (Problem 4)” in Appendices for details).

Because the Hamming distance between two trees in Inline graphic is known as topological distance [17], the 1-centroid estimator minimizes the expected topological distance. In contrast to Example 3 and Example 4, it appears that no method can efficiently compute the Inline graphic-centroid estimator with Inline graphic in Example 5. Despite the difficulties of the application to phylogenetic trees, recently, a method applying the concept of generalized centroid estimators was developed [18].

Generalized centroid estimators for representative prediction

Predictions based on probability distributions on the predictive space were discussed in the previous sections. However, there are certain even more complex problems in bioinformatics, as illustrated by the following example.

Problem 5 (Prediction of common secondary structures of RNA sequences) Given a set of RNA sequences Inline graphic and their multiple alignment of length Inline graphic and the same energy model for each RNA sequence, predict their common secondary structure as a point in Inline graphic , which is the space of all possible secondary structures of length Inline graphic .

In the case of Problem 5, although the probability distribution is not implemented in the predictive space, each RNA sequence Inline graphic has a probability distribution on its secondary structure derived from the energy model. Therefore, the theories presented in the previous section cannot be applied directly to this problem. However, if we devise a new type of gain function that connects the predictive space with the parameter space of the secondary structure of each RNA sequence, we can calculate the expected gain over the distribution on the parameter spaces of RNA sequences. In order to account for this type of problem in general, we introduce Assumption 2 and Definition 8 as follows.

Assumption 2 In Problem 3 there exists a probability distribution Inline graphic on the parameter space Inline graphic which might be different from the predictive space Inline graphic .

Definition 8 (Generalized gain function) In Problem 3 with Assumption 2, for a point Inline graphic and a prediction Inline graphic , a generalized gain function is defined as Inline graphic , Inline graphic .

It should be emphasized that the MEG estimator (Definition 3), pointwise gain function (Definition 4) and Theorem 1 can be extended to the generalized gain function.

In the case of Problem 5, for example, the parameter space is the product of the spaces of the secondary structures of each RNA sequence, and the probability distribution is the product of the distributions of secondary structures of each RNA sequence. Here, the general form of the problem of representative prediction is introduced.

Problem 6 (Representative prediction) In Problem 3 with Assumption 2, if the parameter space is represented as a product space ( Inline graphic ) and the distribution of Inline graphic has the form Inline graphic , predict a point Inline graphic in the predictive space Inline graphic .

The generalized gain function for the representative prediction should be chosen such that the prediction reflects as much as each data entry. Therefore, it is natural to use the following generalized gain function that integrates the gain for each parameter.

Definition 9 (Homogeneous generalized gain function) In Problem 6, a homogeneous generalized gain function is defined as

graphic file with name pone.0016450.e173.jpg

where Inline graphic is the gain function in Definition 2.

Definition 10 (Representative estimator) In Problem 6, given a homogeneous generalized gain function Inline graphic , the MEG estimator defined as

graphic file with name pone.0016450.e176.jpg

is referred to as the representative estimator.

Proposition 1 The representative estimator is equivalent to an MEG estimator with averaged probability distribution on the predictive space Inline graphic :

graphic file with name pone.0016450.e178.jpg

and a gain function Inline graphic .

This proposition shows that a representative prediction problem with any homogeneous generalized gain function can be solved in a manner similar to Problem 3 (Inline graphic) with averaged probability distribution. Therefore, the Inline graphic-centroid estimator for a representative prediction satisfies Corollary 2.

Corollary 2 In Problem 6, the representative estimator where Inline graphic is the gain function of the Inline graphic -centroid estimator on Inline graphic , is the Inline graphic -centroid estimator for the averaged probability distribution and satisfies the same properties in Theorem 2, Theorem 3, and Corollary 1.

Estimators based on marginal probabilities

In the previous section, we introduced Assumption 2, where there is a parameter space Inline graphic that can be different from the predictive space Inline graphic, and we discussed the problem of representative prediction. In this section, we discuss another type of problems where Inline graphic. An example is presented below.

Problem 7 (Pairwise alignment using homologous sequences) Given a data set Inline graphic , where Inline graphic and Inline graphic are two biological sequences to be aligned and Inline graphic is a sequence that is homologous to both Inline graphic and Inline graphic , predict a point Inline graphic in the predictive space Inline graphic (the space of all possible alignments of Inline graphic and Inline graphic ).

The precise probabilistic model of this problem might include the phylogenetic tree, ancestor sequences and their alignments. Here, we assume a simpler situation where the probability distribution of all possible multiple alignments of Inline graphic is given. We predict the pairwise alignment of two specific sequences according to the probability distribution of multiple alignments. Although the parameter space Inline graphic, which is the space of all the possible multiple alignments, can be parametrized using the parameters of the spaces of the alignments of all pairs that can be formed from the sequences in Inline graphic, Inline graphic itself is not the product space of these spaces because these pairwise alignments are not independent: for Inline graphic, Inline graphic must be aligned to Inline graphic if both Inline graphic and Inline graphic are aligned to Inline graphic. This type of problems can be generalized as follows.

Problem 8 (Prediction in a subspace of the parameter space) In Problem 3 with Assumption 2, if the parameter space Inline graphic is represented as Inline graphic , predict a point Inline graphic in the predictive space Inline graphic .

For the problem of representative prediction (Problem 6), generalized gain functions on Inline graphic were introduced (Definition 8 and Definition 9). In contrast, in Problem 8, the values of the parameters in Inline graphic are not important, and a point in Inline graphic is predicted. In Problem 7, for example, the optimal multiple alignment of Inline graphic, the pairwise alignment of Inline graphic and Inline graphic, and the pairwise alignment of Inline graphic and Inline graphic are irrelevant, but instead we predict the pairwise alignment of Inline graphic and Inline graphic. The MEG estimator for the gain function defined on Inline graphic can be written as

graphic file with name pone.0016450.e224.jpg

where Inline graphic on Inline graphic is the marginalized distribution

graphic file with name pone.0016450.e227.jpg (11)

From the above MEG estimator, it might appear that Problem 8 is trivial. However, it is not a simple task to calculate the marginalized distribution in Eq. (11) in actual problems.

To reduce the computational cost, we change Problem 8 by introducing an approximated probability distribution on the product space Inline graphic a follows.

Problem 9 (Prediction in product space) In Problem 3 with Assumption 2, if the parameter space Inline graphic is represented as Inline graphic and the probability distribution on Inline graphic is defined as

graphic file with name pone.0016450.e232.jpg (12)

predict a point Inline graphic in the predictive space Inline graphic .

This factorization of spaces and probability distributions creates a number of inconsistencies in the parameter space with respect to the original Problem 8. In other words, the approximated distribution yields non-zero values for a point that is not included in the original Inline graphic (in Problem 8) but in Inline graphic. To reduce these inconsistencies, a new type of gain function and a new estimator are introduced as follows.

Definition 11 ( Inline graphic -type pointwise gain function) In Problem 8, a Inline graphic -type pointwise gain function is defined as Inline graphic in Eq. (1) in Definition 4 having

graphic file with name pone.0016450.e240.jpg (13)

where the value Inline graphic in the gain function should be designed to reduce the inconsistencies resulting from the factorization.

Definition 12 (Approximated Inline graphic -type estimator) In Problem 9, with a Inline graphic -type pointwise gain function with Inline graphic in Eq. (13) on Inline graphic , an approximated Inline graphic -type estimator is defined as an MEG estimator:

graphic file with name pone.0016450.e247.jpg

Example 6 (PCT in pairwise alignment) We obtain the approximate estimator for Problem 7 with the following settings. The parameter space is given as Inline graphic , where

graphic file with name pone.0016450.e249.jpg

and the probability distribution on the parameter space Inline graphic is given as

graphic file with name pone.0016450.e251.jpg

for Inline graphic . The Inline graphic in Eq. (13) of the Inline graphic -type pointwise gain function is defined as

graphic file with name pone.0016450.e255.jpg

The approximated Inline graphic -type estimator for this Inline graphic -type pointwise gain function is employed in a part of probabilistic consistency transformation (PCT) [19] , which is an important step toward accurate multiple alignments. See “Pairwise alignment using homologous sequences” in Appendices for precise descriptions.

It is easily seen that Theorem 3 applies to the approximated Inline graphic-type estimator if Inline graphic in Theorem 3 is changed as follows:

graphic file with name pone.0016450.e260.jpg

Moreover, to confirm whether approximated Inline graphic-type estimator contains the consensus estimator for the same gain function, it is only necessary to check if

graphic file with name pone.0016450.e262.jpg (14)

instead of Eq. (3) in Theorem 1. (Note that Theorem 1 can be extended to the generalized (pointwise) gain function: see Theorem 4.)

Discussion

Properties of the Inline graphic-centroid estimator

In this paper, general criteria for designing estimators are given by the maximum expected gain (MEG) estimator (Definition 3). The Bayesian ML estimator is an MEG estimator with the delta function Inline graphic as the gain function, which means that only the probability for the “perfect match” is counted. To overcome the drawbacks of the Bayesian ML estimator, the centroid estimator [1] takes into account the overall ensemble of solutions and minimizes the expected Hamming loss. Because the Hamming loss is not the standard evaluation measures for actual problems, we have proposed an estimator of a more general type, the Inline graphic-centroid estimator (Definition 7), which includes the centroid estimator as a special case, Inline graphic. The Inline graphic-centroid estimator is an MEG estimator that maximizes the expected value of Inline graphic, which generally covers all possible linear combination of the numbers of true positives (TP), true negatives (TN), false positives (FP) and false negatives (FN) (Theorem 2). Since most of the evaluation measures of the prediction accuracy are functions of these numbers [20], the Inline graphic-centroid estimator is related to the principle of maximum expected accuracy (MEA). It should be noted that MEG estimators have been proposed that are similar to the Inline graphic-centroid estimator for some specific problems, for example, the alignment metric accuracy (AMA) estimator [21] (see Appendices for the formal definition) for pairwise alignment (Problem 1) and the MEA-based estimator [5] (see Appendices for the formal definition) for prediction of secondary structure of RNA (Problem 2). However, these estimators display a bias with respect to the accuracy measures for the problem (see Eqs. (20) and (22)), and are therefore inappropriate from the viewpoint of the principles of MEA. Moreover, these estimators cannot be introduced in a general setting, that is, Problem 3. It has been also shown that the Inline graphic-centroid estimator outperforms the MEA-based estimator [5] for various probability distributions in computational experiments [12]. (See “Pairwise alignment of biological sequences (Problem 1)” and “Secondary structure prediction of an RNA sequence (Problem 2)” in Appendices for relations between the Inline graphic-centroid estimator and other estimators in Problems 1 and 2, respectively.)

How to determine the parameter in Inline graphic-centroid estimator

The parameter Inline graphic in Inline graphic-centroid estimators adjusts sensitivity and PPV (whose relation is tradeoff). MCC or F-score is often used to obtain a balanced measure between sensitivity and PPV. In RNA secondary structure predictions, it has been confirmed that the best Inline graphic (with respect to MCC) of the Inline graphic-centroid estimator with CONTRAfold model was larger than that with McCaskill model [12]. It shows that the best Inline graphic (with respect to a given accuracy measure) depends on not only estimation problems but also probabilistic models for predictive space. The parameter Inline graphic trained by using reference structures was therefore employed as the default parameter in CentroidFold [12]. In order to select the parameter automatically (with respect to a given accuracy measure such as MCC and F-score), an approximation of maximizing expected MCC (or F-score) with the Inline graphic-centroid estimator can be utilized [22].

Accuracy measures and computational efficiency

The reader might consider that it is possible to design estimators that maximize the expected MCC or F-score which balances sensitivity (SEN) and positive predictive value (PPV). However, it is much more difficult to compute such estimators in comparison with the Inline graphic-centroid estimator, as described below.

The expected value of the gain function of the Inline graphic-centroid estimator can be written with marginalized probabilities as in Eq. (7), which can be efficiently computed by dynamic programming in many problems in bioinformatics, for example, the forward-backward algorithm for alignment probabilities and the McCaskill algorithm for base pairing probabilities. Under a certain condition of the predictive space, which many problems in bioinformatics satisfy, the Inline graphic-centroid estimator maximizes the sum of marginalized probabilities greater than Inline graphic (Theorem 3). Moreover, under an additional condition of the predictive space and the pointwise gain function, which again many problems in bioinformatics satisfy, the Inline graphic-centroid estimators for Inline graphic can be easily calculated as the consensus estimators, which collect in the binary predictive space the components that have marginalized probabilities greater than Inline graphic (Corollary 1). For Inline graphic, there often exist dynamic programming algorithms that can efficiently compute the Inline graphic-centroid estimators (Examples 4 & 3), but there are certain problems, such as Problem 4, which seem to have no efficient dynamic programming algorithms.

The gain function of the estimators that maximize MCC or F-score, and also SEN or PPV contain multiplication and/or division of TP, TN, FP and FN, while the gain function of the Inline graphic-centroid estimator contains only the weighted sums of these values (i.e., Inline graphic). Therefore, the expected gain is not written with marginalized probabilities as in Eq. (7), and it is difficult to design efficient computational algorithms for those estimators. In predicting secondary structures of RNA sequences (Problem 2), for example, it is necessary to enumerate all candidate secondary structures or sample secondary structures for an approximation in order to compute the expected MCC/F-score of a predicted secondary structure.

Probability distributions are not always defined on predictive space

After discussing the standard estimation problems on a binary space where the probability distribution is defined on the predictive space, we have proposed a new category of estimation problems where the probability distribution is defined on a parameter space that differs from the predictive space (see Assumption 2). Two types of estimators for such problems, for example, estimators for representative prediction and estimators based on marginalized distribution, have been discussed.

Prediction of the common secondary structure from an alignment of RNA sequences (Problem 5) is an example of representative prediction. The probability distribution is not implemented in the predictive space, the space of common secondary structure, but each RNA sequence has a probability distribution for its secondary structure. Because the “correct” reference for the common secondary structure is not known in general, direct evaluation of the estimated common secondary structure is difficult. In the popular evaluation process for this problem, the predicted common secondary structure is mapped to each RNA sequence and compared to its reference structure. Using the homogeneous generalized gain function exactly implements this evaluation process and the MEG estimator for the averaged probability distribution is equivalent to the MEG estimator for homogeneous generalized gain function. Therefore, we can use the averaged base pairing probabilities according to the alignment as the distribution for the common secondary structure (see “Common secondary structure prediction from a multiple alignment of RNA sequences” in Appendices for detailed discussion). The representative estimator for Problem 5 is implemented in software CentroidAlifold. Another example of representative prediction is the “alignment of alignments” problem, which is the fundamental element of progressive multiple alignment of biological sequences. The evaluation process using the sum of pairs score corresponds to using the homogeneous generalized gain function. (see “Alignment between two alignments of biological sequences” in Appendices for detailed discussion).

Estimation problems of marginalized distributions can be formalized as prediction in a subspace of the parameter space (Problem 8). If we can calculate the marginalized distribution on the predictive space from the distribution on the parameter space, all general theories apply to the predictive space and the marginalized distribution. In actual problems, such as pairwise alignment using homologous sequences (Problem 7), however, computational cost for calculation of the marginalized probability is quite high. We introduced the factorized probability distribution (Eq. (12)) for approximation, the Inline graphic-type pointwise gain function (Definition 11) to reduce the inconsistency caused by the factorization, and the approximated Inline graphic-type estimator (Definition 12). In Problem 7, the probability consistency transformation (PCT), which is widely used for multiple sequence alignment, is interpreted as an approximated Inline graphic-type estimator. Prediction of secondary structures of RNA sequences on the basis of homologous sequences [23] (see Problem 13 in Appendices) and pairwise alignment for structured RNA sequences are further examples of this type of problems.

Application of Inline graphic-centroid estimator to cluster centroid

In case probability distribution on the predictive space is multi-modal, Inline graphic-centroid estimators can provide unreliable solutions. For example, when there are two clusters of secondary structures in predictive spaces and those structures are exclusive, the Inline graphic-centroid estimator might give a “chimeric” secondary structure whose free energy is quite high. To avoid this situation, Ding et al. [24] proposed a notion of the cluster centroid, which is computed by the centroid estimator with a given cluster in a predictive space. We emphasize that the extension of cluster centroid by using Inline graphic-centroid estimator is straightforward and would be useful.

Conclusion

In this work, we constructed a general framework for designing estimators for estimation problems in high-dimensional discrete (binary) spaces. The theory is regarded as a generalization of the pioneering work conducted by Carvalho and Lawrence, and is closely related to the concept of MEA. Furthermore, we presented several applications of the proposed estimators (see Table 1 for summary) and the underlying theory. The concept presented in this paper is highly extendable and sheds new light on many problems in bioinformatics. In future research, we plan to investigate further applications of the Inline graphic-centroid and related estimators presented in this paper.

Table 1. Summary of applications in bioinformatics.

Alignment (1) Pairwise alignment of biological sequences (4) Pairwise alignment of two multiple alignments (6) Pairwise alignment using homologous sequences
Section Section Section Section
Data Inline graphic Inline graphic Inline graphic Inline graphic
Predictive space Inline graphic Inline graphic Inline graphic Inline graphic
Parameter space Inline graphic Inline graphic Inline graphic Inline graphic
Probability Inline graphic Inline graphic Inline graphic Inline graphic
Type of estimator Inline graphic-centroid representative approximate
Software LAST Inline graphic Inline graphic
Reference [4] [19], This work [19], This work
RNA (2) Secondary structure prediction of RNA (5) Common secondary structure prediction (7) Secondary structure prediction using homologous sequences (8) Pairwise alignment of structured RNAs
Section Section Section Section Section
Data Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
Predictive space Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
Parameter space Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
Probability Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
Type of estimator Inline graphic-centroid representative approximate approximate
Software CentroidFold CentroidAlifold CentroidHomfold CentroidAlign
Reference [12] [12], [49] [23] [52]
Phylogenetic tree (3) Estimation of phylogenetic tree
Section Section
Data Inline graphic Inline graphic
Parameter space Inline graphic Inline graphic
Predictive space Inline graphic Inline graphic
Probability Inline graphic Inline graphic
Type of estimator Inline graphic-centroid
Reference This work

The top row includes problems about RNA secondary structure predictions and the middle row includes problems about alignment of biological sequences. Note that the estimators in the same column corresponds to each other.

Appendices

Discrete (binary) spaces in bioinformatics

In this section, we summarize three discrete spaces that appear in this paper. These discrete spaces are often used in the definition of the predictive spaces and the parameter spaces. It should be noted that every discrete space described below is identical in form to Eq. (2).

The space of alignments of two biological sequences: Inline graphic

We define a space of the alignments of two biological (DNA, RNA and protein) sequences Inline graphic and Inline graphic, denoted by Inline graphic, as follows. We set Inline graphic as a base index set, and a binary variable Inline graphic for Inline graphic is defined by

graphic file with name pone.0016450.e356.jpg

Then Inline graphic is a subset of Inline graphic and is defined by

graphic file with name pone.0016450.e359.jpg

Here Inline graphic is a set of index-sets:

graphic file with name pone.0016450.e361.jpg

where

graphic file with name pone.0016450.e362.jpg

The inclusion Inline graphic means that position Inline graphic in the sequence Inline graphic aligns with at most one position in the sequence Inline graphic in the alignment Inline graphic, Inline graphic means that position Inline graphic in the sequence Inline graphic aligns with at most one position in the sequence Inline graphic and Inline graphic means the alignment Inline graphic and Inline graphic is not crossing. Note that Inline graphic depends on only the length of two sequences, namely, Inline graphic and Inline graphic.

The space of secondary structures of RNA: Inline graphic

We define a space of the secondary structures of an RNA sequence Inline graphic, denoted by Inline graphic, as follows. We set Inline graphic as a base index set, and a binary variable Inline graphic for Inline graphic is defined by

graphic file with name pone.0016450.e384.jpg

Then Inline graphic is a subset of Inline graphic and is defined by

graphic file with name pone.0016450.e387.jpg

Here Inline graphic is a set of index-sets

graphic file with name pone.0016450.e389.jpg

where

graphic file with name pone.0016450.e390.jpg

The inclusion Inline graphic means that position Inline graphic in the sequence Inline graphic belongs to at most one base-pair in a secondary structure Inline graphic, and Inline graphic means two base-pairs whose relation is pseudo-knot are not allowed in Inline graphic. Note that Inline graphic depends on only the length of the RNA sequence Inline graphic, that is, Inline graphic.

The space of phylogenetic trees: Inline graphic

We define a space of phylogenetic trees (unrooted and multi-branch trees) of a set of Inline graphic, denoted by Inline graphic, as follows. We set Inline graphic, where Inline graphic, as a base index set and we define binary variables Inline graphic for Inline graphic by

graphic file with name pone.0016450.e407.jpg

Then Inline graphic is a subset of Inline graphic and is defined by

graphic file with name pone.0016450.e410.jpg

where Inline graphic. Note that Inline graphic depends on only the number of elements in Inline graphic. We now give several properties of Inline graphic that follow directly from the definition.

Lemma 1 The number of elements in Inline graphic (i.e. Inline graphic ) is equal to Inline graphic where Inline graphic .

Lemma 2 The topological distance [17] between two phylogenetic trees Inline graphic and Inline graphic in Inline graphic is

graphic file with name pone.0016450.e422.jpg

where Inline graphic is the indicator function.

Remark 1 If we assume the additional condition Inline graphic , then Inline graphic is a set of binary trees.

Probability distributions on discrete spaces

We use three probability distributions in this paper.

Probability distributions Inline graphic on Inline graphic

For two protein sequences Inline graphic and Inline graphic, a probability distribution Inline graphic over the space Inline graphic, which is the space of pairwise alignments of Inline graphic and Inline graphic defined in the previous section, is given by the following models.

  1. Miyazawa model [13] and Probalign model [25]:
    graphic file with name pone.0016450.e434.jpg
    where Inline graphic is the score of an alignment Inline graphic under the given scoring matrix (We define Inline graphic where Inline graphic is a score for the correspondence of bases Inline graphic and Inline graphic), Inline graphic is the thermodynamic temperature and Inline graphic is the normalization constant, which is known as a partition function.
  2. Pair Hidden Markov Model (pair HMM) [19]:
    graphic file with name pone.0016450.e443.jpg
    where Inline graphic is the initial probability of starting in state Inline graphic, Inline graphic is the transition probability from Inline graphic to Inline graphic and Inline graphic is the omission probability for either a single letter or aligner residue pair Inline graphic in the state Inline graphic.
  3. CONTRAlign (pair CRF) model [26]:
    graphic file with name pone.0016450.e452.jpg
    where Inline graphic is a parameter vector and Inline graphic is a vector of features that indicates the number of times each parameter appears, Inline graphic denotes the set of all possible alignments of Inline graphic and Inline graphic. We do not describe the feature vectors and refer readers to the original paper [26].

Remark 2 Strictly speaking, the alignment space in the pair hidden Markov model and the CONTRAlign model consider the patterns of gaps. In these cases, we obtain the probability space on Inline graphic by a marginalization.

Probability distributions Inline graphic on Inline graphic

For an RNA sequence Inline graphic, a probability distribution Inline graphic over Inline graphic, which is the space of secondary structures of Inline graphic defined in the previous section is given by the following models.

  1. McCaskill model [14]: This model is based on the energy models for secondary structures of RNA sequences and is defined by
    graphic file with name pone.0016450.e465.jpg
    where Inline graphic denotes the energy of the secondary structure that is computed using the energy parameters of Turner Lab [27], Inline graphic and Inline graphic are constants and Inline graphic is the normalization term known as the partition function.
  2. Stochastic Context free grammars (SCFGs) model [28]:
    graphic file with name pone.0016450.e470.jpg
    where Inline graphic is the joint probability of generating the parse Inline graphic and is given by the product of the transition and emission probabilities of the SCFG model and Inline graphic is all parses of Inline graphic, Inline graphic is all parses for a given Inline graphic.
  3. CONTRAfold (CRFs; conditional random fields) model [5]: This model gives us the best performance on secondary structure prediction although it is not based on the energy model.
    graphic file with name pone.0016450.e477.jpg
    where Inline graphic, Inline graphic is the feature vector for Inline graphic in parse Inline graphic, Inline graphic is all parses of Inline graphic, Inline graphic is all parses for a given Inline graphic.

Probability distributions Inline graphic on Inline graphic

A probability distribution Inline graphic on Inline graphic is given by probabilistic models of phylogenetic trees, for example, [29], [ 30]. Those models give a probability distribution on binary trees and we should marginalize these distributions for multi-branch trees.

Evaluation measures defined using TP, TN, FP and FN

There are several evaluation measures of a prediction in estimation problems for which we have a reference (correct) prediction in Problem 3. The Sensitivity (SEN), Positive Predictive Value (PPV), Matthew's correlation coefficient (MCC) and F-score for a prediction are defined as follows.

graphic file with name pone.0016450.e490.jpg
graphic file with name pone.0016450.e491.jpg
graphic file with name pone.0016450.e492.jpg
graphic file with name pone.0016450.e493.jpg

where TP (the number of true positive), TN (the number of true negative), FP (the number of false positive) and FN (the number of false negative) are defined by

graphic file with name pone.0016450.e494.jpg (15)
graphic file with name pone.0016450.e495.jpg (16)
graphic file with name pone.0016450.e496.jpg (17)
graphic file with name pone.0016450.e497.jpg (18)

It should be noted that these measures can be written as a function of TP, TN, FP and FN. See [20] for other evaluation measures.

Schematic diagrams of representative and approximated Inline graphic-type estimators

The schematic diagrams of the MEG estimator (Definition 3), the representative estimator (Definition 10) and the approximated Inline graphic-type estimator (Definition 12) are shown in Figure 1, Figure 2 and Figure 3, respectively.

Figure 1. Schematic diagram of the MEG estimator (Definition 3).

Figure 1

Figure 2. Schematic diagram of the representative estimator (Definition 10).

Figure 2

The parameter space Inline graphic is a product space and is different from the predictive space Inline graphic.

Figure 3. Schematic diagram of the approximated Inline graphic-type estimator (Definition 12).

Figure 3

The estimator in the top figure shows the Inline graphic-centroid estimator with the marginalized probability distribution, and the one in the bottom figure shows its approximation.

Applications in bioinformatics

In this section we describe several applications to bioinformatics of the general theories. Some of these applications have already been published. In those cases, we briefly explain the applications and the readers should see the original paper for further descriptions as well as the computational experiments. All of the applications in this section are summarized in Table 1.

Pairwise alignment of biological sequences (Problem 1)

The pairwise alignment of biological (DNA, RNA, protein) sequences (Problem 1) is another fundamental and important problem of sequence analysis in bioinformatics (cf. [31]).

The Inline graphic-centroid estimator for Problem 1 can be introduced as follows:

Estimator 1 ( Inline graphic -centroid estimator for Problem∼:align) For Problem 1, we obtain the Inline graphic -centroid estimator where the predictive space Inline graphic is equal to Inline graphic and the probability distribution on Inline graphic is taken by Inline graphic .

First, Theorem 2 and the definition of Inline graphic lead to the following property.

Property 1 (A relation of Estimator 1 with accuracy measures) The Inline graphic -centroid estimator for Problem 1 is suitable for the accuracy measures: SEN, PPV, MCC and F-score with respect to the aligned-bases in the predicted alignment.

Note that accurate prediction of aligned-bases is important for the analysis of alignments, for example, in phylogenetic analysis. Therefore, the measures in above are often used in evaluations of alignments e.g. [4].

The marginalized probability Inline graphic is called the aligned-base (matching) probability in this paper. The aligned-base probability matrix Inline graphic can be computed by the forward-backward algorithm whose time complexity is equal to Inline graphic [31]. Now, Theorem 3 leads to the following property.

Property 2 (Computation of Estimator 1) The pairwise alignment of Estimator 1 is found by maximizing the sum of aligned-base probabilities Inline graphic (of the aligned-bases in the predicted alignment) that are larger than Inline graphic . Therefore, it can be computed by a Needleman-Wunsch-style dynamic programming (DP) algorithm [32] after calculating the aligned-base matrix Inline graphic :

graphic file with name pone.0016450.e519.jpg (19)

where Inline graphic stores the optimal value of the alignment between two sub-sequences, Inline graphic and Inline graphic .

The time complexity of the recursion of the DP algorithm in Eq. (19) is equal to Inline graphic, so the total computational cost for predicting the secondary structure of the Inline graphic-centroid estimator remains Inline graphic.

By using Corollary 1, we can predict the pairwise alignment of Estimator 1 with Inline graphic without using the DP algorithm in Eq. (19).

Property 3 (Computation of Estimator 1 with Inline graphic ) The pairwise alignment of the Inline graphic -centroid estimator can be predicted by collecting the aligned-bases whose probabilities are larger than Inline graphic .

The genome alignment software called LAST (http://last.cbrc.jp/) [4], [ 33] employs the Inline graphic-centroid estimator accelerated by an X-drop algorithm, and the authors indicated that Estimator 1 reduced the false-positive aligned-bases, compared to the conventional alignment (maximum score estimator).

Relations of Estimator 1 with existing estimators are summarized as follows:

  1. A relation with the estimator by Miyazawa [13] (i.e. the centroid estimator): Estimator 1 where Inline graphic and the Miyazawa model is equivalent to the centroid estimator proposed by Miyazawa [13].

  2. A relation with the estimator by Holmes et al. [34]: Estimator 1 with sufficiently large Inline graphic is equivalent to the estimator proposed by Holmes et al., which maximizes the sum of matching probabilities in the predicted alignment.

  3. A relation with the estimator in ProbCons: In the program, ProbCons, Estimator 1 with pair HMM model and the sufficient large Inline graphic was used. This means that ProbCons only take care the sensitivity (or SPS) for the predicted alignment.

  4. A relation with the estimator by Schwartz et al.: For Problem 1, Schwartz et al. [21] proposed an Alignment Metric Accuracy (AMA) estimator, which is similar to the Inline graphic-centroid estimator (see also [3]). The AMA estimator is a maximum gain estimator (Definition 3) with the following gain function.
    graphic file with name pone.0016450.e535.jpg
    for Inline graphic. In the above equation, Inline graphic is a gap factor, which is a weight for the prediction of gaps. We refer to the function Inline graphic as the gain function of the AMA estimator. In a similar way to that described in the previous section, we obtain a relation between Inline graphic and Inline graphic (the gain function of the Inline graphic-centroid estimator). If we set Inline graphic, then we obtain
    graphic file with name pone.0016450.e543.jpg (20)
    where
    graphic file with name pone.0016450.e544.jpg
    and Inline graphic is a value which does not depend on Inline graphic. If Inline graphic for Inline graphic, then we obtain Inline graphic and Inline graphic, and this means that Inline graphic is an aligned pair that is a false negative and Inline graphic is an aligned pair that is a false positive when Inline graphic is a reference alignment and Inline graphic is a predicted alignment. Therefore, the terms Inline graphic (in Eq. (20)) in the gain function of AMA are not appropriate for the evaluation measures SEN, PPV, MCC and F-score for aligned bases. In summary, the Inline graphic-centroid estimator is suitable for the evaluation measures: SEN, PPV and F-score with respect to the aligned-bases while the AMA estimator is suitable for the AMA.

Secondary structure prediction of an RNA sequence (Problem 2)

Secondary structure prediction of an RNA sequence (Problem 2) is one of the most important problems of sequence analysis in bioinformatics. Its importance has increased due to the recent discovery of functional non-coding RNAs (ncRNAs) because the functions of ncRNAs are closely related to their secondary structures [35].

Inline graphic-centroid estimator for Problem 2 can be introduced as follows:

Estimator 2 ( Inline graphic -centroid estimator for Problem 2) For Problem 2, we obtain the Inline graphic -centroid estimator (Definition 7) where the predictive space Inline graphic is equal to Inline graphic and the probability distribution on Inline graphic is taken by Inline graphic .

The general theory of the Inline graphic-centroid estimator leads to several properties. First, the following property is derived from Theorem 2 and the definition of Inline graphic.

Property 4 (A relation of Estimator 2 with accuracy measures) The Inline graphic -centroid estimator for Problem 2 is suitable for the widely-used accuracy measures of the RNA secondary structure prediction: SEN, PPV and MCC with respect to base-pairs in the predicted secondary structure.

Because the base-pairs in a secondary structure are biologically important, SEN, PPV and MCC with respect to base-pairs are widely used in evaluations of RNA secondary structure prediction, for example, [5], [ 12], [ 36].

The marginalized probability Inline graphic is called a base-pairing probability. The base-paring probability matrix Inline graphic can be computed by the Inside-Outside algorithm whose time complexity is equal to Inline graphic where Inline graphic is the length of RNA sequence Inline graphic [14], [ 31]. Then, Theorem 3 leads to the following property.

Property 5 (Computation of Estimator 2) The secondary structure of Estimator 2 is found by maximizing the sum of the base-pairing probabilities Inline graphic (of the base-pairs in the predicted structure) that are larger than Inline graphic . Therefore, it can be computed by a Nussinov-style dynamic programming (DP) algorithm [37] after calculating the base-pairing probability matrix Inline graphic :

graphic file with name pone.0016450.e575.jpg (21)

where Inline graphic stores the best score of the sub-sequence Inline graphic .

If we replace “Inline graphic” with “Inline graphic” in Eq. (21), the DP algorithm is equivalent to the Nussinov algorithm [37] that maximizes the number of base-pairs in a predicted secondary structure. The time complexity of the recursion of the DP algorithm in Eq. (21) is equal to Inline graphic. Hence, the total computational cost for predicting the secondary structure of the Inline graphic-centroid estimator remains Inline graphic, which is the same time complexity as for standard software: Mfold [38], RNAfold [39] and RNAstructure [40].

By using Corollary 1, we can predict the secondary structure of Estimator 2 with Inline graphic without using the DP algorithm in Eq. (21).

Property 6 (Computation of Estimator 2 with Inline graphic ) The secondary structure of the Inline graphic -centroid estimator with Inline graphic can be predicted by collecting the base-pairs whose probabilities are larger than Inline graphic .

The software CentroidFold [12], [ 15] implements Estimator 2 with various probability distributions for the secondary structures, such as the CONTRAfold and McCaskill models.

Relations of Estimator 2 with other estimators are summarized as follows:

  1. A relation with the estimator used in Sfold [41], [ 42]: Estimator 2 with Inline graphic and the McCaskill model (i.e. the centroid estimator with the McCaskill model) is equivalent to the estimator used in the Sfold program.

  2. A relation with the estimator used in CONTRAfold: For Problem 2, Do et al. [5] proposed an MEA-based estimator, which is similar to the Inline graphic-centroid estimator. (The MEA-based estimator was also used in a recent paper [6].) The MEA-based estimator is defined by the maximum expected gain estimator (Definition 3) with the following gain function for Inline graphic and Inline graphic.
    graphic file with name pone.0016450.e592.jpg (22)
    where Inline graphic and Inline graphic are symmetric extensions of (upper triangular matrices) Inline graphic and Inline graphic, respectively (i.e. Inline graphic for Inline graphic and Inline graphic for Inline graphic; the definition of Inline graphic is similar.). It should be noted that, under the general estimation problem of Problem 3, the gain function of Eq. (22) cannot be introduced, and the gain function is specialized for the problem of RNA secondary structure prediction. The relation between the gain function of the Inline graphic-centroid estimator (denoted by Inline graphic and defined in Definition 7) and the one of the MEA-based estimator is
    graphic file with name pone.0016450.e604.jpg (23)
    where the additional term Inline graphic is positive for false predictions of base-pairs (i.e., Inline graphic and Inline graphic) and Inline graphic does not depend on the prediction Inline graphic (see [12] for the proof). This means the MEA-based estimator by Do et al. possess a bias against the widely-used accuracy measures for Problem 2 (SEN, PPV and MCC of base-pairs) compared with the Inline graphic-centroid estimator. Thus, the Inline graphic-centroid estimator is theoretically superior to the MEA-based estimator by Do et al. with respect to those accuracy measures. In computational experiments, the authors confirmed that the Inline graphic-centroid estimator is always better than the MEA-based estimator when we used the same probability distribution of secondary structures. See [12] for details of the computational experiments.

Estimation of phylogenetic trees (Problem 4)

The Inline graphic-centroid estimator for Problem 4 can be introduced as follows:

Estimator 3 ( Inline graphic -centroid estimator for Problem 4) For Problem 4, we obtain the Inline graphic -centroid estimator (Definition 7) where the predictive space Inline graphic is equal to Inline graphic and the probability distribution on Inline graphic is taken by Inline graphic .

The following property is easily obtained by Theorem 2 and [17].

Property 7 (Relation of 1-centroid estimator and topological distance) The Inline graphic -centroid estimator with Inline graphic (i.e. centroid estimator) for Problem 4 minimizes expected topological distances.

For Inline graphic (Inline graphic is a set of partitions of Inline graphic and is formally defined in the previous section), we call the marginalized probability Inline graphic partitioning probability. However, it is difficult to compute Inline graphic as efficiently as in the prediction of secondary structures of RNA sequences, where it seems possible to compute the base-pairing probability matrix in polynomial time by using dynamic programming). Instead, a sampling algorithm can be used for estimating Inline graphic approximately [16] for this problem. Once Inline graphic is estimated, Theorem 3 leads to the following:

Property 8 (Computaion of Estimator 3) The phylogenetic tree of Estimator 3 is found by maximizing the sum of the partitioning probabilities Inline graphic (of the partitions given by the predicted tree) that are larger than Inline graphic .

In contrast to Estimator 1 (the Inline graphic-centroid estimator for secondary structure prediction of RNA sequence) and Estimator 2 (the Inline graphic-centroid estimator for pairwise alignment), it appears that there is no efficient method (such as dynamic programming algorithms) to computed Estimator 3 with Inline graphic. Estimator 1 with Inline graphic, however, can be computed by using the following property, which is directly proven by Corollary 1 and the definition of the space Inline graphic.

Property 9 (Estimator 3 with Inline graphic ) The Inline graphic -centroid estimator with Inline graphic for Problem 4 contains its consensus estimator.

Alignment between two alignments of biological sequences

In this section we consider the problem of the alignment between two multiple alignments of biological sequences (Figure 4), which is often important in the multiple alignment of RNA sequences [19]. This problem is formulated as follows.

Figure 4. Alignment between two multiple alignments Inline graphic and Inline graphic (Problem 10).

Figure 4

Problem 10 (Alignment between two alignments of biological sequences) The data is represented as Inline graphic where Inline graphic and Inline graphic are alignments of biological sequences and the predictive space Inline graphic is equal to Inline graphic , that is, the space of the alignments of Inline graphic and Inline graphic .

In the following, Inline graphic and Inline graphic denote the length of the alignment and the number of sequences in the alignment Inline graphic, respectively. If both Inline graphic and Inline graphic contain a single biological sequence (with no gap), Problem 10 is equivalent to conventional pairwise alignment of biological sequences (Problem 1). As in common secondary structure prediction, the representative estimator plays an important role in this application.

Estimator 4 (Representative estimator for Problem 10) For Problem 10, we obtain the representative estimator (Definition 10). The gain function Inline graphic is the gain function of the Inline graphic -centroid estimator. The parameter space Inline graphic is represented as a product space Inline graphic where Inline graphic is defined in the previous section. The probability distribution on the parameter space Inline graphic is given by Inline graphic for Inline graphic where Inline graphic is given in the previous section (when Inline graphic or Inline graphic contains some gaps, Inline graphic is defined by the sequences with the gaps removed).

Corollary 2 proves the following properties of Estimator 5.

Property 10 (A Relation of Estimator 4 with accuracy measures) Estimator 4 is consistent with the accuracy process for Problem 10 that is shown in Figure 5 . We compare every pairwise alignment of Inline graphic and Inline graphic with the reference alignment. These comparisons are made using TP, TN, FP and FN with respect to the aligned-bases (e.g., using SEN, PPV and F-score).

Figure 5. An evaluation process for Problem 10.

Figure 5

The comparison between every pairwise alignment and the reference alignment is conducted using TP, TN, FP and FN with respect to the aligned-bases.

Property 11 (Computation of Estimator 4) Estimator 4 can be given by maximizing the sum of probabilities Inline graphic that are larger than Inline graphic where

graphic file with name pone.0016450.e669.jpg (24)

Therefore, the pairwise alignment of Estimator 4 can be computed by the Needleman-Wunsch-type DP algorithm of Eq. (19) in which we replace Inline graphic with Eq. (24) .

Property 12 (Computation of Estimator 4 with Inline graphic ) The Estimator 4 with Inline graphic contains the consensus estimator. Moreover, the consensus estimator is identical to the estimator Inline graphic :

graphic file with name pone.0016450.e674.jpg

where Inline graphic is defined in Eq. (24) .

The probability matrix Inline graphic is often called an averaged aligned-base (matching) probability matrix of Inline graphic and Inline graphic. In the iterative refinement of the ProbCons [19] algorithm, the existing multiple alignments are randomly partitioned into two groups and those two multiple alignments are re-aligned. This procedure is equivalent to Problem 10.

The estimator used in ProbCons is identical to Estimator 4 in the limit Inline graphic. Therefore, the estimator used in ProbCons is a special case of Estimator 4 and it only takes into account the SEN or SPS (sum-of-pairs score) of a predicted alignment.

Common secondary structure prediction from a multiple alignment of RNA sequences

Common secondary structure prediction from a given multiple alignment of RNA sequences plays important role in RNA research including non-coding RNA (ncRNA) [43] and viral RNAs [44], because it is useful for phylogenetic analysis of RNAs [45] and gene finding [43], [ 46][48]. In contrast to conventional secondary structure prediction of RNA sequences (Problem 2), the input of common secondary structure prediction is a multiple alignment of RNA sequences and the output is a secondary structure whose length is equal to the length of the input alignment (see Figure 6).

Figure 6. Common secondary structure prediction (Problem 11).

Figure 6

Problem 11 (Common secondary structure prediction) The data is represented as Inline graphic where Inline graphic is a multiple alignment of RNA sequences and the predictive space Inline graphic is identical to Inline graphic (the space of secondary structures whose length is equal to the alignment).

The representative estimator (Definition 10) directly gives an estimator for Problem 11.

Estimator 5 (The representative estimator for Problem 11) For Problem 11, we obtain the representative estimator (Definition 10) as follows. The gain function Inline graphic is the gain function of the Inline graphic -centroid estimator. The parameter space is equal to Inline graphic where Inline graphic is the space of secondary structures. The probability distribution on Inline graphic is given by Inline graphic where Inline graphic is the probability distribution of the secondary structures of Inline graphic after observing the alignment Inline graphic .

For example, Inline graphic can be given by extending the Inline graphic, although we have also proposed more appropriate probability distribution (see [49] for the details).

Corollary 2 proves the following properties of Estimator 5.

Property 13 (A relation of Estimator 5 with accuracy measures) Estimator 5 is consistent with an evaluation process for common secondary structure prediction: First, we map the predicted common secondary structure into secondary structures in the multiple alignment, and then the mapped structures are compared with the reference secondary structures based on TP, TN, FP and FN of the base-pairs using, for example, SEN, PPV and MCC ( Figure 7 ).

Figure 7. An evaluation process for common secondary structure prediction (Problem 11).

Figure 7

The comparison between each secondary structure and the reference secondary structure is done using TP, TN, FP and FN with respect to the base-pairs.

Much research into common secondary structure prediction employs the evaluation process in Figure 7 (e.g., [50]).

Property 14 (Computation of Estimator 5) The common secondary structure of Estimator 5 is given by maximizing the sum of the averaged base-pairing probabilities Inline graphic where

graphic file with name pone.0016450.e696.jpg (25)

Therefore, the common secondary structure of the estimator can be computed using the dynamic programming algorithm in Eq. (10) if we replace Inline graphic with Inline graphic .

Also, we can predict the secondary structure of Estimator 5 without conducting Nussinov-style DP:

Property 15 (Computation of Estimator 5 with Inline graphic ) The secondary structure of Estimator 5 with Inline graphic can be predicted by collecting the base-pairs whose averaged base-paring probabilities are larger than Inline graphic .

It should be noted that the tools of common secondary structure prediction, RNAalifold [50], PETfold [8] and McCaskill-MEA [7] are also considered as a representative estimators (Definition 10). In [49], the authors systematically discuss those points. See [49] for details.

Pairwise alignment using homologous sequences

As in the previous application to RNA secondary structure prediction using homologous sequences, if we obtain a set of homologous sequences Inline graphic for the target sequences Inline graphic and Inline graphic (see Figure 8), we would have more accurate estimator for the pairwise alignment of Inline graphic and Inline graphic than Estimator 1. The problem is formulated as follows.

Figure 8. Pairwise alignment using homologous sequences (Problem 12).

Figure 8

Problem 12 (Pairwise alignment using homologous sequences) The data is represented as Inline graphic where Inline graphic and Inline graphic are two biological sequences that we would like to align, and Inline graphic is a set of homologous sequences for Inline graphic and Inline graphic . The predictive space Inline graphic is given by Inline graphic which is the space of the pairwise alignments of two sequences Inline graphic and Inline graphic .

The difference between Problem 1 and this problem is that we can use other biological sequences (that seem to be homologous to Inline graphic and Inline graphic) besides the two sequences Inline graphic and Inline graphic which are being aligned.

We can introduce the probability distribution (denoted by Inline graphic) on the space of multiple alignments of three sequences Inline graphic, Inline graphic and Inline graphic (denoted by Inline graphic and whose definition is similar to that of Inline graphic) by a model such as the triplet HMM (which is similar to the pair HMM). Then, we obtain a probability distribution on the space of pairwise alignments of Inline graphic and Inline graphic (i.e., Inline graphic) by marginalizing Inline graphic into the space Inline graphic:

graphic file with name pone.0016450.e732.jpg (26)

where Inline graphic is the projection from Inline graphic into Inline graphic. Moreover, by averaging these probability distributions over Inline graphic, we obtain the following probability distribution on Inline graphic:

graphic file with name pone.0016450.e738.jpg (27)

where Inline graphic is the number of sequences in Inline graphic.

The Inline graphic-centroid estimator with the distribution in Eq. (27) directly gives an estimator for Problem 12. However, to compute the aligned-base-pairs (matching) probabilities Inline graphic with respect to this distribution demands a lot of computational time, so we employ the approximated Inline graphic-type estimator (Definition 12) of this Inline graphic-centroid estimator as follows.

Estimator 6 (Approximated Inline graphic -type estimator for Problem 12) We obtain the approximated Inline graphic -type estimator (Definition 12) for Problem 12 with the following settings. The parameter space is given by Inline graphic where

graphic file with name pone.0016450.e748.jpg

and the probability distribution on the parameter space Inline graphic is defined by

graphic file with name pone.0016450.e750.jpg (28)

for Inline graphic . The pointwise gain function (see Definition 4) in Eq. (11) is defined by

graphic file with name pone.0016450.e752.jpg (29)

where Inline graphic is the length of the sequence Inline graphic .

Property 16 (Computation of Estimator 6) The alignment of Estimator 6 is equal to the alignment that maximizes the sum of Inline graphic larger than Inline graphic where

graphic file with name pone.0016450.e757.jpg (30)

Therefore, the recursive equation of the dynamic program to calculate the alignment of Estimator 6 is given by replacing Inline graphic in Eq. (19) with Eq. (30) .

Moreover, by using Theorem 1, we have the following proposition, which enables us to compute the proposed estimator for Inline graphic without using (Needleman-Wunsch-type) dynamic programming.

Property 17 (Computation of Estimator 6 for Inline graphic ) The pairwise alignment of Estimator 6 with Inline graphic can be predicted by collecting the aligned-bases whose probability Inline graphic in (30) is larger than Inline graphic .

It should be noted that Inline graphic is identical to the probability consistency transformation (PCT) of Inline graphic and Inline graphic [19]. In ProbCons [19], the pairwise alignment is predicted by the Estimator 6 with sufficiently large Inline graphic. Therefore, the estimator for Problem 12 used in the ProbCons algorithm is a special case of Estimator 6.

RNA secondary structure prediction using homologous sequences

If we obtain a set of homologous RNA sequences for the target RNA sequence, we might have a more accurate estimator [23] for secondary structure prediction than the Inline graphic-centroid estimator (Estimator 2). This problem is formulated as follows and was considered in [23] for the first time (See Figure 9).

Figure 9. RNA secondary structure prediction using homologous sequences (Problem 13).

Figure 9

Problem 13 (RNA secondary structure prediction using homologous sequences) The data Inline graphic is represented as Inline graphic where Inline graphic is the target RNA sequence for which we would like to make secondary structure predictions and Inline graphic is the set of its homologous sequences. The predictive space Inline graphic is identical to Inline graphic , the space of the secondary structures of an RNA sequence Inline graphic .

The difference between this problem and Problem 2 is that we are able to employ homologous sequence information for predicting the secondary structure of the target RNA sequence. In this problem, it is natural that we assume the target sequence Inline graphic and each homologous sequence Inline graphic share common secondary structures. The common secondary structure is naturally modeled by a structural alignment (that considers not only the alignment between bases but also the alignment between base-pairs), and the probability distribution (denoted by Inline graphic) on the space of the structural alignments of two RNA sequences Inline graphic and Inline graphic (denoted by Inline graphic) is given by the Sankoff model [51]. By marginalizing the distribution Inline graphic into the space of secondary structures Inline graphic of the target sequence Inline graphic, we obtain more reliable distribution Inline graphic on Inline graphic:

graphic file with name pone.0016450.e787.jpg (31)

where Inline graphic is the projection from Inline graphic into Inline graphic. Moreover, by averaging these probability distributions on Inline graphic, we obtain the following probability distribution of secondary structures of the target sequence.

graphic file with name pone.0016450.e792.jpg (32)

where Inline graphic is the number of sequences in Inline graphic. The Inline graphic-centroid estimator with the probability distribution in Eq. (32) gives a reasonable estimator for Problem 13, because Eq. (32) considers consensus secondary structures between Inline graphic and Inline graphic. However, the calculation of the Inline graphic-estimator requires huge computational cost because it requires Inline graphic for computing the base-paring probability matrix Inline graphic where Inline graphic with the distribution of Eq. (32). Therefore, we employ the approximated Inline graphic-type estimator (Definition 12) of the Inline graphic-centroid estimator, which is equivalent to the estimator proposed in [23].

Estimator 7 (Approximated Inline graphic -type estimator for Problem 13) We obtain the approximated Inline graphic -type estimator (Definition 12) for Problem 13 with the following settings. The parameter space is given by Inline graphic where

graphic file with name pone.0016450.e807.jpg

and the probability distribution on Inline graphic is defined by

graphic file with name pone.0016450.e809.jpg

for Inline graphic . Moreover, Eq. (11) in the pointwise gain function is defined by

graphic file with name pone.0016450.e811.jpg

for Inline graphic .

It should be noted that Estimator 13 is equivalent to the estimator proposed in [23]. The secondary structure of the estimator can be computed by the following method.

Property 18 (Computation of Estimator 7) The secondary structure of Estimator 7 is computed by maximizing the sum of Inline graphic larger than Inline graphic where

graphic file with name pone.0016450.e815.jpg (33)

Here, Inline graphic and Inline graphic . Therefore, the secondary structure of Estimator 7 can be computed by the Nussinov-type DP of Eq. (10) in which we replace Inline graphic by Eq. (33) .

The computational cost with respect to time for computing the secondary structure of Estimator 7 is Inline graphic where Inline graphic is the number of RNA sequences and Inline graphic is the length of RNA sequences. In [23], we employed a further approximation of the estimator, and reduced the computational cost to Inline graphic. We implemented this estimator in software called CentroidHomfold. See [23] for details of the theory and results of computational experiments. Although the authors did not mention it in their paper [23], the following property holds.

Property 19 (Computation of Estimator 7 with Inline graphic ) Estimator 7 with Inline graphic can be predicted by collecting the aligned-bases where the (pseudo-)base-paring probability of Eq. (33) is larger than Inline graphic .

Pairwise alignment of structured RNAs

In this section, we focus on the pairwise alignment of structured RNAs. This problem is formulated as Problem 1, so the output of the problem is a usual alignment (contained in Inline graphic). In contrast to the usual alignment problem, we can consider not only nucleotide sequences but also secondary structures in each sequence for the problem. Note that this does not mean the structural alignment [51] of RNA sequences, because the structural alignment produces both alignment and the common secondary structure simultaneously.

The probability distributions Inline graphic on Inline graphic described in the previous section are not able to handle secondary structures of each RNA sequence. In order to obtain a probability distribution on Inline graphic that considers secondary structure, we employ the marginalization of the Sankoff model [51] that gives a probability distribution (denoted by Inline graphic) on the space of possible structural alignments between two RNA sequences (denoted by Inline graphic). In other words, we obtain a probability distribution on the space Inline graphic by marginalizing the probability distribution of structural alignments of two RNA sequences (given by the Sankoff model) into the space Inline graphic as follows.

graphic file with name pone.0016450.e834.jpg (34)

where Inline graphic is the projection from Inline graphic into Inline graphic, Inline graphic and Inline graphic. The difference between this marginalized probability distribution and the distributions such as Miyazawa model is that the former considers secondary structures of each sequence (more precisely, the former considers the common secondary structure).

Then, the Inline graphic-centroid estimator with this distribution Eq. (34) will give a reasonable estimator for the pairwise alignment of two RNA sequences. However, the computation of this estimator demands huge computational cost because it uses the Sankoff model (cf. it requires Inline graphic time for computing the matching probability matrix of structural alignments). Therefore, we employed the approximated Inline graphic-type estimator (Definition 12) of the Inline graphic-centroid estimator with the marginalized distribution as follows.

Estimator 8 (Approximated Inline graphic -type estimator for Problem 1 with two RNA sequences) In Problem 1 where Inline graphic and Inline graphic are RNA sequences, we obtain the approximated Inline graphic -type estimator (Estimator 2) with the following settings. The parameter space is given by Inline graphic where

graphic file with name pone.0016450.e849.jpg

and the probability distribution on the parameter space Inline graphic is defined by

graphic file with name pone.0016450.e851.jpg

for Inline graphic . The pointwise gain function of Eq. (11) is defined by

graphic file with name pone.0016450.e853.jpg

where

graphic file with name pone.0016450.e854.jpg
graphic file with name pone.0016450.e855.jpg
graphic file with name pone.0016450.e856.jpg

and Inline graphic , Inline graphic and Inline graphic are positive weights that satisfy Inline graphic .

This approximated Inline graphic-type estimator is equivalent to the estimator proposed in [52] and the alignment of the estimator can be computed by the following property.

Property 20 (Computation of Estimator 8) The alignment of Estimator 8 can be computed by maximizing the sum of probabilities Inline graphic that are larger than Inline graphic where

graphic file with name pone.0016450.e864.jpg (35)

Here, we define

graphic file with name pone.0016450.e865.jpg
graphic file with name pone.0016450.e866.jpg
graphic file with name pone.0016450.e867.jpg

Therefore, the pairwise alignment of Estimator 8 can be computed by a Needleman-Wunsch-type dynamic program of Eq. (19) in which we replace Inline graphic with Eq. (35).

Note that Inline graphic in Eq. (35) is considered as a pseudo-aligned base probability where Inline graphic aligns with Inline graphic.

By checking Eq. (14), we obtain the following property:

Property 21 (Computation of Estimator 8 with Inline graphic ) The pairwise alignment of Estimator 8 can be predicted by collecting aligned-bases where the probability in Eq. (35) is larger than Inline graphic .

Proofs

In this section, we give the proofs of the theorems, propositions and corollary.

Proof of Theorem 1

We will prove a more general case of Theorem 1 where the parameter space Inline graphic is different from the predictive space Inline graphic and a probability distribution on Inline graphic is assumed (cf. Assumption 2).

Theorem 4 In Problem 3 with Assumption 1 and a pointwise gain function, suppose that a predictive space Inline graphic can be written as

graphic file with name pone.0016450.e878.jpg (36)

where Inline graphic is defined as

graphic file with name pone.0016450.e880.jpg

for an index-set Inline graphic . If the pointwise gain function in Eq. (1) (we here think Inline graphic is in a parameter space Inline graphic which might be different from Inline graphic ) satisfies the condition

graphic file with name pone.0016450.e885.jpg (37)

for every Inline graphic and every Inline graphic ( Inline graphic ), then the consensus estimator is in the predictive space Inline graphic , and hence the MEG estimator contains the consensus estimator.

(proof) It is sufficient to show that the consensus estimator Inline graphic is contained in the predictive space Inline graphic because Inline graphic for all Inline graphic in the MEG estimators, where

graphic file with name pone.0016450.e894.jpg

If we assume that Inline graphic is not contained in the predictive space, Inline graphic that is, Inline graphic, then there exists a Inline graphic such that Inline graphic. Because Inline graphic is a binary vector, there exist indexes Inline graphic such that Inline graphic , Inline graphic and Inline graphic . By the definition of Inline graphic , we obtain

graphic file with name pone.0016450.e906.jpg

Therefore, we obtain

graphic file with name pone.0016450.e907.jpg

In order to prove the last inequality, we use Eq. (??). This leads to a contradiction and the theorem is proved.

Remark 3 It should be noted that the above theorem holds for an arbitrary parameter space including continuous-valued spaces.

Proof of Theorem 2. (proof) Because Inline graphic for arbitrary Inline graphic , we obtain, using the definitions given in equations (15 ),(16),(17) and (18),

graphic file with name pone.0016450.e910.jpg

Therefore, we have

graphic file with name pone.0016450.e911.jpg

and this leads to the proof of the theorem.

Proof of Theorem 3. (proof) The expectation of the gain function of the Inline graphic -centroid estimator is computed as

graphic file with name pone.0016450.e913.jpg

where Inline graphic is the marginalized probability. Therefore, we should always predict Inline graphic whenever Inline graphic, because the assumption of Theorem 3 ensures that the prediction Inline graphic never violate the condition of the predictive space Inline graphic . Theorem 3 follows by using those facts.

Proof of Corollary 1. (proof) For every Inline graphic , Inline graphic , Inline graphic , Inline graphic , we have

graphic file with name pone.0016450.e923.jpg

and the condition of Eq. (3) in Theorem 1 is satisfied (in order to prove the last inequality, we use Inline graphic because Inline graphic ). Therefore, by Theorem 1, the Inline graphic -centroid estimator contains its consensus estimator.

The last half of the corollary is easily proved using the equation

graphic file with name pone.0016450.e927.jpg

where Inline graphic .

Proof of Proposition 1. (proof) 5 The representative estimator in Definition 10 can be written as

graphic file with name pone.0016450.e929.jpg

Then, we finish the proof of Proposition 1.

Derivation of Eq. (14)

The equation is easily derived from the equality Inline graphic.

Acknowledgments

The authors are grateful to Drs. Luis E. Carvalho, Charles E. Lawrence, Kengo Sato, Toutai Mituyama and Martin C. Frith for fruitful discussions. The authors also thank the members of the bioinformatics group for RNA at the National Institute of Advanced Industrial Science and Technology (AIST) for useful discussions.

Footnotes

Competing Interests: The authors have declared that no competing interests exist. MH is an employee of Mizuho Information & Research Institute but there is no competing interest that can bias this work. This affiliation does not alter the authors' adherence to all the PLoS ONE policies on sharing data and materials.

Funding: This work was supported in part by the "Functional RNA Project" of the New Energy Technology Development Organization (NEDO), and in part by a Grant-in-Aid for Scientific Research on Innovative Areas. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Carvalho L, Lawrence C. Centroid estimation in discrete high-dimensional spaces with applications in biology. Proc Natl Acad Sci USA. 2008;105:3209–3214. doi: 10.1073/pnas.0712329105. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Bradley RK, Roberts A, Smoot M, Juvekar S, Do J, et al. Fast statistical alignment. PLoS Comput Biol. 2009;5:e1000392. doi: 10.1371/journal.pcbi.1000392. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Bradley RK, Pachter L, Holmes I. Specific alignment of structured RNA: stochastic grammars and sequence annealing. Bioinformatics. 2008;24:2677–2683. doi: 10.1093/bioinformatics/btn495. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Frith MC, Hamada M, Horton P. Parameters for accurate genome alignment. BMC Bioinformatics. 2010;11:80. doi: 10.1186/1471-2105-11-80. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Do C, Woods D, Batzoglou S. CONTRAfold: RNA secondary structure prediction without physics-based models. Bioinformatics. 2006;22:e90–98. doi: 10.1093/bioinformatics/btl246. [DOI] [PubMed] [Google Scholar]
  • 6.Lu ZJ, Gloor JW, Mathews DH. Improved RNA secondary structure prediction by maximizing expected pair accuracy. RNA. 2009;15:1805–1813. doi: 10.1261/rna.1643609. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Kiryu H, Kin T, Asai K. Robust prediction of consensus secondary structures using averaged base pairing probability matrices. Bioinformatics. 2007;23:434–441. doi: 10.1093/bioinformatics/btl636. [DOI] [PubMed] [Google Scholar]
  • 8.Seemann S, Gorodkin J, Backofen R. Unifying evolutionary and thermodynamic information for RNA folding of multiple alignments. Nucleic Acids Res. 2008;36:6355–6362. doi: 10.1093/nar/gkn544. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Kall L, Krogh A, Sonnhammer EL. An HMM posterior decoder for sequence feature prediction that includes homology information. Bioinformatics. 2005;21(Suppl 1):i251–257. doi: 10.1093/bioinformatics/bti1014. [DOI] [PubMed] [Google Scholar]
  • 10.Kato Y, Sato K, Hamada M, Watanabe Y, Asai K, et al. RactIP: fast and accurate prediction of RNA-RNA interaction using integer programming. Bioinformatics. 2010;26:i460–466. doi: 10.1093/bioinformatics/btq372. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Gross S, Do C, Sirota M, Batzoglou S. CONTRAST: a discriminative, phylogeny-free approach to multiple informant de novo gene prediction. Genome Biol. 2007;8:R269. doi: 10.1186/gb-2007-8-12-r269. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Hamada M, Kiryu H, Sato K, Mituyama T, Asai K. Prediction of RNA secondary structure using generalized centroid estimators. Bioinformatics. 2009;25:465–473. doi: 10.1093/bioinformatics/btn601. [DOI] [PubMed] [Google Scholar]
  • 13.Miyazawa S. A reliable sequence alignment method based on probabilities of residue correspondences. Protein Eng. 1995;8:999–1009. doi: 10.1093/protein/8.10.999. [DOI] [PubMed] [Google Scholar]
  • 14.McCaskill JS. The equilibrium partition function and base pair binding probabilities for RNA secondary structure. Biopolymers. 1990;29:1105–1119. doi: 10.1002/bip.360290621. [DOI] [PubMed] [Google Scholar]
  • 15.Sato K, Hamada M, Asai K, Mituyama T. CENTROIDFOLD: a web server for RNA secondary structure prediction. Nucleic Acids Res. 2009;37:W277–280. doi: 10.1093/nar/gkp367. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Metropolis N, Rosenbluth A, Teller M, Teller E. Equations of state calculations by fast computing machine. J Chem Phys. 1953;21:1087–1091. [Google Scholar]
  • 17.Robinson DF, Foulds LR. Comparison of phylogenetic trees. Mathematical Biosciences. 1981;53:131–147. [Google Scholar]
  • 18.Iwasaki W, Takagi T. An intuitive, informative, and most balanced representation of phylogenetic topologies. Syst Biol. 2010;59:584–593. doi: 10.1093/sysbio/syq044. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Do C, Mahabhashyam M, Brudno M, Batzoglou S. ProbCons: Probabilistic consistency-based multiple sequence alignment. Genome Res. 2005;15:330–340. doi: 10.1101/gr.2821705. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Baldi P, Brunak S, Chauvin Y, Andersen CA, Nielsen H. Assessing the accuracy of prediction algorithms for classification: an overview. Bioinformatics. 2000;16:412–424. doi: 10.1093/bioinformatics/16.5.412. [DOI] [PubMed] [Google Scholar]
  • 21.Schwartz AS, Myers EW, Pachter L. Alignment metric accuracy 2005.
  • 22.Hamada M, Sato K, Asai K. Prediction of RNA secondary structure by maximizing pseudo-expected accuracy. BMC Bioinformatics. 2010;11:586. doi: 10.1186/1471-2105-11-586. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Hamada M, Sato K, Kiryu H, Mituyama T, Asai K. Predictions of RNA secondary structure by combining homologous sequence information. Bioinformatics. 2009;25:i330–338. doi: 10.1093/bioinformatics/btp228. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Ding Y, Chan C, Lawrence C. RNA secondary structure prediction by centroids in a Boltzmann weighted ensemble. RNA. 2005;11:1157–1166. doi: 10.1261/rna.2500605. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Roshan U, Livesay D. Probalign: multiple sequence alignment using partition function posterior probabilities. Bioinformatics. 2006;22:2715–2721. doi: 10.1093/bioinformatics/btl472. [DOI] [PubMed] [Google Scholar]
  • 26.Do CB, Gross SS, Batzoglou S. Apostolico A, Guerra C, Istrail S, Pevzner PA, Waterman MS, editors. Contralign: Discriminative training for protein sequence alignment. 2006. pp. 160–174. RECOMB. Springer, volume 3909 of Lecture Notes in Computer Science.
  • 27.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]
  • 28.Dowell R, Eddy S. Evaluation of several lightweight stochastic context-free grammars for RNA secondary structure prediction. BMC Bioinformatics. 2004;5:71. doi: 10.1186/1471-2105-5-71. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Ronquist F, Huelsenbeck JP. MrBayes 3: Bayesian phylogenetic inference under mixed models. Bioinformatics. 2003;19:1572–1574. doi: 10.1093/bioinformatics/btg180. [DOI] [PubMed] [Google Scholar]
  • 30.Huelsenbeck JP, Ronquist F. MRBAYES: Bayesian inference of phylogenetic trees. Bioinformatics. 2001;17:754–755. doi: 10.1093/bioinformatics/17.8.754. [DOI] [PubMed] [Google Scholar]
  • 31.Durbin R, Eddy S, Krogh A, Mitchison G. Cambridge, UK: Cambridge University press; 1998. Biological sequence analysis. [Google Scholar]
  • 32.Needleman S, Wunsch C. A general method applicable to the search for similarities in the amino acid sequence of two proteins. J Mol Biol. 1970;48:443–453. doi: 10.1016/0022-2836(70)90057-4. [DOI] [PubMed] [Google Scholar]
  • 33.Frith MC, Wan R, Horton P. Incorporating sequence quality data into alignment improves DNA read mapping. Nucleic Acids Res. 2010;38:e100. doi: 10.1093/nar/gkq010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Holmes I, Durbin R. Dynamic programming alignment accuracy. J Comput Biol. 1998;5:493–504. doi: 10.1089/cmb.1998.5.493. [DOI] [PubMed] [Google Scholar]
  • 35.Griffiths-Jones S, Moxon S, Marshall M, Khanna A, Eddy SR, et al. Rfam: annotating non-coding RNAs in complete genomes. Nucleic Acids Res. 2005;33:121–124. doi: 10.1093/nar/gki081. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Andronescu M, Condon A, Hoos H, Mathews D, Murphy K. Efficient parameter estimation for RNA secondary structure prediction. Bioinformatics. 2007;23:19–28. doi: 10.1093/bioinformatics/btm223. [DOI] [PubMed] [Google Scholar]
  • 37.Nussinov R, Pieczenk G, Griggs J, Kleitman D. Algorithms for loop matchings. SIAM Journal of Applied Mathematics. 1978;35:68–82. [Google Scholar]
  • 38.Zuker M. Mfold web server for nucleic acid folding and hybridization prediction. Nucleic Acids Res. 2003;31:3406–3415. doi: 10.1093/nar/gkg595. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Hofacker I, Fontana W, Stadler P, Bonhoeffer S, Tacker M, et al. Fast folding and comparison of RNA secondary structures. Monatsh Chem. 1994;125:167–188. [Google Scholar]
  • 40.Mathews D, Disney M, Childs J, Schroeder S, Zuker M, et al. Incorporating chemical modification constraints into a dynamic programming algorithm for prediction of RNA secondary structure. Proc Natl Acad Sci USA. 2004;101:7287–7292. doi: 10.1073/pnas.0401799101. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Chan CY, Lawrence CE, Ding Y. Structure clustering features on the Sfold Web server. Bioinformatics. 2005;21:3926–3928. doi: 10.1093/bioinformatics/bti632. [DOI] [PubMed] [Google Scholar]
  • 42.Ding Y, Chan CY, Lawrence CE. Sfold web server for statistical folding and rational design of nucleic acids. Nucleic Acids Res. 2004;32:135–141. doi: 10.1093/nar/gkh449. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Bernhart SH, Hofacker IL. From consensus structure prediction to RNA gene finding. Brief Funct Genomic Proteomic. 2009;8:461–471. doi: 10.1093/bfgp/elp043. [DOI] [PubMed] [Google Scholar]
  • 44.Schroeder SJ. Advances in RNA structure prediction from sequence: new tools for generating hypotheses about viral RNA structure-function relationships. J Virol. 2009;83:6326–6334. doi: 10.1128/JVI.00251-09. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Stocsits RR, Letsch H, Hertel J, Misof B, Stadler PF. Accurate and efficient reconstruction of deep phylogenies from structured RNAs. Nucleic Acids Res. 2009;37:6184–6193. doi: 10.1093/nar/gkp600. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Washietl S, Hofacker IL, Stadler PF. Fast and reliable prediction of noncoding RNAs. Proc Natl Acad Sci U S A. 2005;102:2454–2459. doi: 10.1073/pnas.0409169102. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Washietl S, Hofacker IL, Lukasser M, Huttenhofer A, Stadler PF. Mapping of conserved RNA secondary structures predicts thousands of functional noncoding RNAs in the human genome. Nat Biotechnol. 2005;23:1383–1390. doi: 10.1038/nbt1144. [DOI] [PubMed] [Google Scholar]
  • 48.Okada Y, Sato K, Sakakibara Y. Improvement of structure conservation index with centroid estimators. Pac Symp Biocomput. 2010:88–97. doi: 10.1142/9789814295291_0011. [DOI] [PubMed] [Google Scholar]
  • 49.Hamada M, Sato K, Asai K. Improving the accuracy of predicting secondary structure for aligned RNA sequences. Nucleic Acids Res. 2010 doi: 10.1093/nar/gkq792. doi: 10.1093/nar/gkq792. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Bernhart S, Hofacker I, Will S, Gruber A, Stadler P. RNAalifold: improved consensus structure prediction for RNA alignments. BMC Bioinformatics. 2008;9:474. doi: 10.1186/1471-2105-9-474. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Sankoff D. Simultaneous solution of the RNA folding alignment and protosequence problems. SIAM J Appl Math. 1985:810–825. [Google Scholar]
  • 52.Hamada M, Sato K, Kiryu H, Mituyama T, Asai K. CentroidAlign: fast and accurate aligner for structured RNAs by maximizing expected sum-of-pairs score. Bioinformatics. 2009;25:3236–3243. doi: 10.1093/bioinformatics/btp580. [DOI] [PubMed] [Google Scholar]

Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES