- Research article
- Open Access
- Published:

# A dynamic Bayesian network approach to protein secondary structure prediction

*BMC Bioinformatics*
**volume 9**, Article number: 49 (2008)

## Abstract

### Background

Protein secondary structure prediction method based on probabilistic models such as hidden Markov model (HMM) appeals to many because it provides meaningful information relevant to sequence-structure relationship. However, at present, the prediction accuracy of pure HMM-type methods is much lower than that of machine learning-based methods such as neural networks (NN) or support vector machines (SVM).

### Results

In this paper, we report a new method of probabilistic nature for protein secondary structure prediction, based on dynamic Bayesian networks (DBN). The new method models the PSI-BLAST profile of a protein sequence using a multivariate Gaussian distribution, and simultaneously takes into account the dependency between the profile and secondary structure and the dependency between profiles of neighboring residues. In addition, a segment length distribution is introduced for each secondary structure state. Tests show that the DBN method has made a significant improvement in the accuracy compared to other pure HMM-type methods. Further improvement is achieved by combining the DBN with an NN, a method called DBNN, which shows better *Q*_{3} accuracy than many popular methods and is competitive to the current state-of-the-arts. The most interesting feature of DBN/DBNN is that a significant improvement in the prediction accuracy is achieved when combined with other methods by a simple consensus.

### Conclusion

The DBN method using a Gaussian distribution for the PSI-BLAST profile and a high-ordered dependency between profiles of neighboring residues produces significantly better prediction accuracy than other HMM-type probabilistic methods. Owing to their different nature, the DBN and NN combine to form a more accurate method DBNN. Future improvement may be achieved by combining DBNN with a method of SVM type.

## Background

Over past decades, the prediction accuracy of protein secondary structure has gained some improvements, largely due to the successful application of machine learning tools such as neural network (NN) and support vector machine (SVM). Qian and Sejnowski designed one of the earliest NN methods [1]. Rost and Sander introduced the alignment profile with multiple sequence alignment into the prediction. Their method, named as PHD, performed much better than previous ones, because of the use of alignment profile as the network's input [2]. Jones made an important improvement by pioneering the use of position-specific scoring matrices (PSSM) to generate the so-called PSI-BLAST profile and developed the method called PSIPRED [3]. Recently, new advances have been made in developing NN-based prediction methods [4–7]. Similarly, SVM-based methods were developed for protein secondary structure prediction, first taking the alignment profile as inputs and then being improved to use the PSI-BLAST profile [8–12]. Generally speaking, the *Q*_{3} of a modern NN or SVM-based method can reach over 76%.

In contrast to NN and SVM, probabilistic methods for protein secondary structure prediction such as those based on hidden Markov model (HMM) have had very limited accuracy [13–18]. Most of them were designed for single sequence prediction with prediction accuracy generally less than 70%. Recently, two profile-based HMM methods were proposed, which take either the alignment profile or PSI-BLAST profile as inputs [16, 18]. Both of the methods treat the profile as production from a multinomial distribution with 20 possible outcomes (20 amino acids), and thus lose the information about the correlation between entries of the profile. As a result, the prediction accuracy of the two methods, which is around 72%, is still much lower than the common level of NN or SVM-based methods. It is notable that there is a special HMM-type method, SAM-T04 [19], which has shown comparable accuracy to NN and SVM-based methods. However, with using a neural network for the sequence-to-structure prediction while building the HMM only at the secondary structure level [19, 20], SAM-T04 should not be regarded as a pure HMM-type method.

It would be interesting to break this apparent asymmetry in accuracy between machine learning-based methods and probabilistic model-based methods. The probabilistic model is of somewhat different nature from machine learning tools, and provides a complement to the latter. Thus, combining the two kinds of model is likely to produce a consensus prediction that has better accuracy than the prediction of individual program [21]. In addition, the probabilistic model outputs a set of knowledge about the property of secondary structure in an explicit way, including specific correlation structure between neighboring residues, while such information is implicit in NN or SVM. Hence, the development of an appropriate probabilistic model is interesting for understanding the mechanism by which sequence determines structure.

In this paper we introduce a new probabilistic model, dynamic Bayesian network (DBN), for protein secondary structure prediction. DBN represents a directed graphical model of a stochastic process, often regarded as a generalized HMM capable of describing correlation structure in a more flexible way [22]. A novel feature of our method is the introduction of a multivariate Gaussian distribution for the profile of each residue, which takes into account the correlation between entries of the PSSM. In addition, our method considers a high-ordered dependency between profiles of neighboring residues and introduces a segment length distribution for each secondary structure state. Testing results show that the DBN method has made a significant improvement in accuracy over previous pure HMM-type methods. Further improvement is achieved by combining the DBN with an NN, a method named DBNN, which has achieved better *Q*_{3} accuracy than many other popular methods and is competitive to the current state-of-the-arts. The most interesting feature of DBN/DBNN is that a significant improvement in the prediction accuracy is achieved when combined with other methods by a simple consensus.

## Results and Discussion

### Training and testing datasets

Three public datasets are employed for training and testing, i.e. CB513 [21], EVA [23] common set, and a large dataset containing 3,223 chains (denoted by EVAtrain) constructed by G. Karypis [12]. The first dataset contains 513 protein sequences with guaranteed non-redundancy via a strict criterion (z-score ≥ 5) for the sequence similarity; this dataset is used independently from two other datasets. The second is obtained from EVA server, where several secondary structure prediction servers are evaluated with sequences deposited in PDB [24]. In particular, a set labeled as "common set 6" (denoted by EVAc6) is selected, which contains 212 protein chains and has been used to test several popular prediction methods [25]. The third dataset, EVAtrain, is used in conjunction with EVAc6, with the former for training and the latter for testing. EVAtrain has been guaranteed to have less than 25% sequence identities to EVAc6.

Furthermore, we have built a fourth dataset based on the known tertiary structural similarity from the SCOP [26] database (release 1.69), to evaluate the performance of our methods when dealing with proteins of remote evolutionary relation. One protein domain for each superfamily of the four classes (all *α*, all *β*, *α* and *β*, *α*/*β*) is selected. The domains of multi-segment, of NMR structure, and of low X-ray resolution (> 2.5Å) are removed. Also, too short (< 30 residues) or too long (> 500 residues) sequences are removed. The final dataset contains 576 protein sequences and is referred to as SD576.

For all the datasets described above, the secondary structure is assigned by DSSP program [27], and the eight-state secondary structure is converted to three, according to the rule: H, G, and I to H (helix); E and B to E (sheet); all others to C (coil).

### Window sizes

The window sizes, denoted by *L*_{
AA
}and *L*_{
SS
}for profile and secondary structure respectively, describe the range of dependency of current site on its neighbors. The correlation between the *Q*_{3} accuracy of DBN and window sizes is studied via a set of seven-fold cross-validation tests of DBN_{sigmoid} (see Methods) on SD576 using different window sizes. Due to the limitation in the computational resources, the upper bounds of *L*_{
AA
}and *L*_{
SS
}are set to be 5 and 4, respectively.

As shown in Fig. 1, *Q*_{3} is improved significantly when *L*_{
SS
}> 0, and saturated when *L*_{
SS
}> 1, which indicates that there is strong short-range dependency between the profile of a residue and the secondary structure states of its neighbors. A similar phenomenon occurs for profiles' dependency of neighboring sites. Note that the model with either *L*_{
AA
}= 0 or *L*_{
SS
}= 0 is a special case of DBN, in which the distribution of the profile of each residue is independent from neighboring profiles or neighboring secondary structure states, respectively. As a result, its topology is different from that of a full-DBN version (*L*_{
AA
}> 0 and *L*_{
SS
}> 0) due to the removal of *R*_{
i
}or *d*_{
i
}nodes (see Fig. 2(c)).

Our results are in partial agreement with the conclusions of Crooks and Brenner, who claimed that each amino acid was dependent on the neighboring secondary structure states but was essentially independent from neighboring amino acids [16]. We argue, however, that the PSI-BLAST profile has quite different correlation structure from a single amino acid sequence, from which Crooks *et al*. derived their conclusions. In fact, the dependency between neighboring profiles are significant and helpful for improving the prediction accuracy.

Fig. 1 also shows that the most accurate model occurs when using the set (*L*_{
AA
}= 4, *L*_{
SS
}= 4), for which *Q*_{3} reaches about 77.5%. However, test shows that this model is very time-consuming. We choose a more economical set (*L*_{
AA
}= 4, *L*_{
SS
}= 3) which offers a similar *Q*_{3} (see Fig. 1) with a big saving in computational cost, for all the DBN models used in current study.

### The accuracy improvements through combinations

All the basic DBN- and NN-based models described in Methods are tested on the SD576 dataset, and the results shown in Table 1 report the performance of these models, as well as of their combinations. Specifically, both DBN_{linear} (combination of DBN_{linear+NC} and DBN_{linear+CN}) and DBN_{sigmoid} (combination of DBN_{sigmoid+NC} and DBN_{sigmoid+CN}) have significantly improved the performance in all the measures, indicating that the two directions of the sequence (i.e. from N-terminus to C-terminus and reverse) contain complementary information. In addition, the combination of the two different PSSM-transformation strategies (i.e. the combination of DBN_{linear} and DBN_{sigmoid} to produce DBN_{final}) also contributes to the accuracy improvement, increasing *Q*_{3} and *SOV* by 0.8% and 0.9%, respectively, for DBN-based models. Note that for NN-based models, the accuracy improvement by combination is much less evident, indicating that NN is not sensitive to PSSM-transformation strategies.

Table 1 shows that DBN_{final} has improved by 3.5% over NN_{final} in *SOV*. It can be understood, because DBN-based models explicitly incorporate the segment length distributions while NN-based models miss such information.

Finally, the combination of all the basic DBN- and NN-based models, which produces the resultant DBNN, has achieved further improvement in the accuracy, increasing *Q*_{3} and *SOV* by 1.8% and 1.3%, respectively, compared to DBN_{final} (see Table 1). This implies that the two types of models are indeed complementary.

### Secondary structure segment length distributions

To study the significance of the secondary structure segment length distributions introduced in DBN models, we define a degenerate DBN (denoted by DBN_{geo}), which has the same structure to DBN_{final} except *D*_{
max
}= 1 [see Eq. (10)]. As described in Methods, *D*_{
max
}= 1 implies a geometric distribution for the segment lengths. The segment length distributions of the predicted secondary structure by both DBN_{final} and DBN_{geo} are calculated and compared to the true distributions observed in the SD576 dataset, as shown in Fig. 3(b)–(d). In particular, Fig. 3(b) shows that, for helices, the segments of one and two residues are over-predicted, while those of three residues are under-predicted, by both DBN_{final} and DBN_{geo}. But longer segments are all predicted correctly by both models. Generally speaking, DBN_{final} has better performance than DBN_{geo}: the prediction of DBN_{final} for segments of 3 and 5–7 residues is much better than that of DBN_{geo}.

Fig. 3(c) and 3(d) show the segment length distributions for sheets and coils, respectively. Both DBN_{final} and DBN_{geo} have missed a rich population of one residue, and over-predicted segments of 3–5 residues, for sheets. DBN_{geo} has predicted a spurious peak for segments of 3 and 4 residues, which is absent in the true distribution. On the contrary, DBN_{final} gives a distribution closer to the observation, in which the peak is located at segments of about 5 residues. Fig. 3(d) shows that DBN_{final} and DBN_{geo} have very similar performance for coils: both under-predict the segments of 1 and 2 residues and over-predict those of 3 and 4 residues. However, DBN_{final} predicts a much better distribution for long coils (over 8 residues) than DBN_{geo}.

It is interesting to study whether we can modify the *a priori* segment length distribution, *g*_{
α
}(*n*) in Eq. (10), to get a predicted (posterior) distribution closer to the observation shown in Fig. 3(a). A calculation is made by using a modified version of DBN_{final}, denoted by DBN_{mod}, which is constructed as following: take the *a priori* segment length distribution directly from the training set, then run the prediction and calculate the posterior distribution, and finally modify the *a priori* distribution according to the following equation:

where *g*_{
α
}^{old}(*n*) is the *a priori* segment length distribution before the modification, *g*_{
α
}^{pre}(*n*) is the predicted distribution, *g*_{
α
}^{obs}(*n*) is the observed distribution, *α* = H, E, or C, and *n* = 1, 2, ... *D*_{
max
}. The quantity *g*_{
α
}^{new}(*n*) is then normalized to form the new *a priori* segment length distribution. The Eq. (1) enhances the population of deficient segments and reduces that of over-represented ones, in a linear fashion. All the three models, DBN_{final}, DBN_{geo}, and DBN_{mod}, are tested on SD576, and the performance on segment length distributions prediction is measured by "relative entropies", defined by

where *g*_{
α
}^{obs}(*n*), *g*_{
α
}^{pre}(*n*), and *D*_{
max
}have the same definitions as above, and *α* = H, E, or C.

The results presented in Table 2 show that DBN_{geo} has much higher relative entropies indicating a strong deviation of the predicted distributions from the observation, than other two models. Note that *Q*_{3} and *SOV* of DBN_{geo} are also much lower than that of DBN_{final} (Table 2), implying that the segment length distributions do have an effect on the prediction accuracy. On the other hand, DBN_{mod} shows the lowest relative entropies for all the three secondary structure states with almost the same *Q*_{3} and *SOV* to DBN_{final} (see Table 2), which indicates that Eq. (1) has effectively improved the prediction of segment length distributions.

### Comparison between DBN and leading HMM-type methods

The DBN method (DBN_{final}) developed in this work is also evaluated on the widely used CB513 dataset, and its performance is compared to two recently published HMM-type methods, denoted by HMMCrooks [16] and HMMChu [18], respectively, both of which have also been tested on the same or a similar dataset. In comparison, we have calculated the significant-difference margin (denoted by ErrSig) for each score, which is defined as the standard deviation divided by the square root of the number of proteins and was used by others [12]. The results presented in Table 3 show that DBN_{final} has made improvements for all measures compared to the two methods mentioned above. Specifically, DBN_{final} improves *Q*_{3} by 3.5% over HMMCrooks and 4.1% over HMMChu, and improves *SOV* by 4.4% over HMMChu. Since the ErrSig for *Q*_{3} and *SOV* are 0.41 and 0.63, respectively, the improvements are judged to be significant. Matthews' coefficients [28] shown in Table 3 indicate that DBN_{final} is particularly good at the prediction of helices and sheets, compared to above two methods.

The improvements made by DBN_{final} are believed mainly due to the use of a conditional linear Gaussian distribution to model the PSI-BLAST profile of each residue, in which the correlation between the 20 entries in the profile is considered (see Methods). In contrast, both HMMCrooks and HMMChu employ a multinomial distribution to model the profile, which lacks the above correlation information [16, 18]. The supporting experiment of our conjecture consists in constructing a degenerate DBN model (denoted by DBN_{diag}) that has the similar architecture to DBN_{final} but only has a diagonal covariance matrix for the distribution of *AA*_{
i
}[Eq. (7)], so that the correlation between entries of the profile is ignored. We have tested this model on the CB513 dataset, and the results (Table 3) show that the *Q*_{3} of DBN_{diag} drops down to 72.5%, similar to those of HMMCrooks and HMMChu, which highlights the importance of the non-diagonal entries in the covariance matrix.

### Comparison between DBNN and other popular methods

#### CB513 dataset

The best models developed in this work, DBNN, is then tested on the CB513 dataset and compared to other popular methods. Specifically, the methods SVM [8], PMSVM [11], SVMpsi [9], JNET [7], SPINE [6], and YASSPP [12] are selected for comparison, because they have been tested on the same (or a similar) dataset. Table 4 shows that DBNN has the best *Q*_{3} accuracy among all the methods mentioned above, with improvements ranging from 0.3% to 4.6%. Since the ErrSig is 0.41/0.40, this indicates that for all methods except YASSPP, the improvement made by DBNN is significant. In *SOV* measure, DBNN ranks second, below YASSPP but above SVMpsi. The comparison of the Matthews' coefficients between DBNN and YASSPP indicates that the two methods are complementary and may be combined to obtain further improvement in the prediction accuracy: DBNN has a better *C*_{H} while YASSPP has a better *C*_{C}.

#### EVA dataset

DBNN is also compared to some live prediction servers by using the EVAc6 dataset and EVA website. The methods selected to compare are: Prospect [29], PROF_king [30], SAM-T99 [31], PSIPRED [3], PROFsec (unpublished), and PHDpsi [32], and their evaluation results on EVAc6 are obtained directly from the EVA website [33]. Because not all sequences are tested against all methods, the EVAc6 dataset is rearranged into five subsets, and the comparison is made between methods that are tested on the same subset (see Table 5).

Table 5 shows that DBNN has generally a better *Q*_{3} than all other existing methods. In addition, the ErrSigs indicate that, for Prospect, PROF_king, and PHDpsi, the improvement made by DBNN is significant. In *SOV*, however, DBNN is modest: it is better than Prospect, PROF_king, and PHDpsi, but less well than SAM-T99, PROFsec, and PSIPRED, as shown in Table 5. Note that DBNN has the best *C*_{H} among all the methods.

The *t*-tests are also performed for rigorous pairwise comparison between different methods. Specifically, we test the hypothesis that "method X" gives a significantly higher mean score than "method Y", by calculated *t*-values as $t=\overline{d}/\sigma \sqrt{n}$, where *d* = (*x*-*y*); *x* is the accuracy score of "method X", and *y* is of "method Y"; $\sigma =\sqrt{({\displaystyle \sum {d}^{2}}-[{({\displaystyle \sum d})}^{2}/n]/(n-1)}$, and *n* = the number of proteins. We have evaluated all the methods on the subset 5 of EVAc6 (containing 73 chains), of which the prediction data of existing methods can be obtained directly from EVA website (Prospect is removed from the comparison because of the too many missing data for this method). The results shown in Table 6 indicate that DBNN has significantly better prediction, in both *Q*_{3} and *SOV*, than PROF_king and PHDpsi, and has competitive performance to the three state-of-the-arts: PSIPRED, SAM-T99, and PROFsec.

All the above evaluation work shows that prediction accuracy of protein secondary structure by any individual program seems to reach a limit, no better *Q*_{3} than 78% (see Table 5). Previous studies [21, 34] show that a simple way to achieve further improvement is to construct a consensus over several independent predictors. The consensus would be effective if the individual predictors are mutually complementary (more independent). So, the study of consensus performance is also a way to judge if a new method or program brings in new (complementary) information. This study is carried out with a design of three consensus methods (CM) using a simple "weighted vote" strategy to generate the final output: CM1 combines the five existing popular methods, PROF_king, SAM-T99, PSIPRED, PROFsec, and PHDpsi; CM2 repeatedly replaces one of the above five methods by DBN_{final}, and CM3 is the same as CM2 except DBNN is in the place of DBN_{final}. The weight for the vote of each method is set to be the success rate of the method for each type of secondary structure, which is derived from an individual evaluation of its own. The CM-series are evaluated on the subset 5 of EVAc6. The results shown in Table 5 indicate that CM3 has the top performance and that DBNN brings in complementary information to the family of existing methods. Note that CM2 ranks second (better than CM1 in both *Q*_{3} and *SOV*), indicating that the success of DBNN is derived from DBN.

The *t*-tests between the CM-series and the individual methods are also performed, and the results shown in Table 6 indicate that a simple combination of the five existing methods does not make significant improvement in accuracy: the individual method SAM-T99 has competitive *Q*_{3} to CM1. On the other hand, the inclusion of DBN or DBNN (both CM2 and CM3) has given rise to significantly better *Q*_{3} than all individual methods including SAM-T99. This is further enhanced by a direct comparison between CM3 and CM1; significant improvements in both *Q*_{3} and *SOV* are clearly evidenced. Finally, let us note that none of the consensus methods shows significant improvement in *SOV* over all individual methods, indicating that *SOV* is particularly hard to improve.

## Conclusion

A new method for protein secondary structure prediction of probabilistic nature based on dynamic Bayesian networks is developed and evaluated by several measures, which has shown significantly better prediction accuracy than previous pure HMM-type methods such as HMMCrooks and HMMChu. The improvement is mainly due to the use of a multivariate Gaussian distribution for the PSI-BLAST profile of each residue and the consideration of dependency between profiles of neighboring residues. In addition, because of the introduction of secondary structure segment length distributions in the model, DBN shows much better *SOV* than a typical NN.

The essentially different nature of DBN and NN inspires a model that combines the two and forms the DBNN with significant further improvements in both *Q*_{3} and *SOV*. DBNN is shown to be better than most of popular methods and competitive compared to the three state-of-the-art programs. We are then encouraged to explore further with consensus methods that combine all the best existing methods together. This study has demonstrated again the uniqueness of DBNN: the best consensus method is achieved by the inclusion of DBNN. This provides the evidence that DBNN brings in complementary information to the family of existing methods.

An interesting feature of our work here, compared to NN or SVM, is that it provides a set of distributions which have specific meanings and which can be studied further to improve our understanding of the model's behavior behind the prediction. An example is provided regarding the secondary structure segment length distributions used by the DBN, which is set to be an *a priori* distribution but can further be adjusted and improved. This points to a way for further improving the performance of DBN, by including modifications on more distributions, such as the transition probabilities between secondary structure states or the distribution of the profile of each residue. These distributions are also interesting for advancing the understanding of such fundamental problems as protein dynamics and protein folding, for which the information in implicit form in NN or SVM is of little use.

It appears that the limits of secondary structure prediction are being reached as no new method over the past decade has shown any major improvement since PSIPRED. All of the top methods are between 77%–80% accurate, in terms of *Q*_{3}, depending on data set used. This implies that the complexity of the sequence-structure relationship is such that any single tool, when it attempts to extract (during learning) and to extrapolate (during predicting) the knowledge, can only represent some facets of this relationship, but not the whole. Further hope lies in the possibility that more facets are covered by new models, and that new models are integrated with the existing ones. The consensus methods reported above are just a simple approach in that direction; more sophisticated strategy for combining multiple scores can be sought in the future.

## Methods

### Generation of the PSI-BLAST profile

Each protein sequence in the datasets described above is used as query to search against the NR database [35] by using PSI-BLAST program [36]. The number of iterations in running PSI-BLAST is set to be 3; all other options are set to be defaults. The PSSM produced by the program is a matrix of integers typically in the range of ± 7 (see Fig. 2(a)). Each row of the PSSM is a 20-dimension vector corresponding to 20 amino acids, which is used to derive the PSI-BLAST profile of the corresponding residue.

### Transformation of the PSSM

Similar to other secondary structure prediction methods [3, 6, 11], we transform the PSSM into the range from 0 to 1 before using it as input of models. Two strategies are employed for the transformation: one follows the function

and is referred to as "linear transformation"; the other follows the function

and is referred to as "sigmoid transformation".

### Assessment of the prediction accuracy

Several measures are adopted to assess the performance of our methods in a comprehensive way. The first is the overall three-state prediction accuracy, *Q*_{3}, defined by

where *n* is the number of correctly predicted residues and *N* is the total number of residues. The second, *SOV*, is a segment-level measure of the prediction accuracy, and its most recent definition can be found in [37]. At last, the Matthews' correlation coefficient [28] is used for each class of secondary structure, which is defined by

where *n*_{
i
}is the number of residues correctly predicted to be secondary structure of class *i*, *m*_{
i
}is the number of residues correctly not predicted to be secondary structure of class *i*, *u*_{
i
}is the number of residues observed but not predicted to be secondary structure of class *i*, and *o*_{
i
}is the number of residues predicted but not observed to be secondary structure of class *i* (*i* = H, E, and C).

### The dynamic Bayesian network

DBN is a directed graphical model in which nodes represent random variables and arcs represent dependency between nodes. The architecture of our DBN model is illustrated in Fig. 2(b). There are totally six nodes for each residue. Specifically, the node *AA*_{
i
}(*i* = 1, 2, 3...) contains the PSI-BLAST profile of residue *i*, which is a 20-dimensional vector corresponding to 20 scores in the PSSM. The node *R*_{
i
}stores replica of the profiles of a series of residues before *i*, i.e. the profiles of residues *i*-1, *i*-2, *i*-3, ... *i*-*L*_{
AA
}, as shown in Fig. 2(b), where *L*_{
AA
}is a profile window size indicating the range of the dependency for the profiles. As shown in Fig. 2(b), all the dependency between *AA*_{
i
}and its neighboring sites, *AA*_{i-1}, *AA*_{i-2}, ... *AA*_{i-LAA,}can be summarized into one single connection to *R*_{
i
}, simplifying the topology of the graph. The state-space of *R*_{
i
}is 21·*L*_{
AA
}-dimensional, with 20·*L*_{
AA
}storing the profiles of the past residues and extra *L*_{
AA
}dimensions representing the "over-terminus" state.

The node *SS*_{
i
}is used to describe the secondary structure state of residue *i*, which has a discrete state-space of three elements: H, E, and C. The node *d*_{
i
}has a similar role as *R*_{
i
}, but describes here the joint distribution with the secondary structure states of residues *i*-1, *i*-2, ... *i*-*L*_{
SS
}, where *L*_{
SS
}is the secondary structure window size indicating the range of the dependency, as shown in Fig. 2(b). Again, the node *d*_{
i
}is introduced to simplify the topology of the graph, yet to keep a long-range dependency between profile (*AA*_{
i
}) and secondary structure (*SS*_{i-1}, *SS*_{i-2}, ...). The dimension of *d*_{
i
}is 4·*L*_{
SS
}, where 3·*L*_{
SS
}are from the joint past secondary structure states and the extra *L*_{
SS
}from the "over-terminus" situation.

The nodes *D*_{
i
}and *F*_{
i
}are introduced to mimic a duration-HMM [22], with a specified parameter *D*_{
max
}and two elements, respectively. Specifically, *D*_{
i
}represents the distance (measured by the number of residues) from the position *i* to the end of the corresponding secondary structure segment. For example, in a segment with end residue at position *j*, the value of *D*_{
i
}is set to be *j*-*i*+1. Note that the state-space of *D*_{
i
}requires that the maximum length of segments should not exceed *D*_{
max
}. In order to cope with longer segments, a modified definition of *D*_{
i
}is introduced as following: when the length of a segment ≤ *D*_{
max
}, the value of *D*_{
i
}is set as described above; when the length of the segment > *D*_{
max
}, for example *D*_{
max
}+3, the *D*_{
i
}is set to be *D*_{
max
}for the first four residues of the segment and is set to be *D*_{
max
}-1, *D*_{
max
}-2, ... 1 for the rest. In this way, the lengths of segments longer than *D*_{
max
}are modeled by a geometric distribution (see below). The value of the node *F*_{
i
}is deterministically dependent on *D*_{
i
}: if *D*_{
i
}> 1, *F*_{
i
}= 1; if *D*_{
i
}= 1, *F*_{
i
}= 2.

Each node described above is assigned a specific conditional probability distribution (CPD) function according to the connections' pattern shown in Fig. 2(b), except for *R*_{
i
}, which is a "root" node [22] with no "parent node", and which is observable in both training and predicting. Specifically, the CPD of *AA*_{
i
}(*i* = 1, 2, 3) is modeled using a conditional linear Gaussian function, which is defined by:*P*(*AA*_{
i
}= **y** | *R*_{
i
}= **u**, *SS*_{
i
}= *α*, *d*_{
i
} = *γ*) = *N*(**y**;**w**_{α,γ}**u** + **c**_{α,γ}, Σ_{α,γ}),

where *N*(**y**;**μ**, **Σ**) represents a Gaussian distribution with mean **μ** and covariance **Σ**, **u** is a 21·*L*_{
AA
}-dimensional vector, *α* is one of H, E, and C, and *γ* is one of the *L*_{
SS
}-tuples formed by four elements: O, H, E, and C (O represents the "over-terminus" state). The distribution function is characterized by the mean **μ**_{α,γ}= **w**_{α,γ}**u** + **c**_{α,γ}, where **w**_{α,γ}is a 20 × 21 *L*_{
AA
}matrix and **c**_{α,γ}is a 20-dimensional vector, and the covariance **Σ**_{α,γ}. The subscripts *α* and *γ* indicate that the parameters **w**_{α,γ}, **c**_{α,γ}, and **Σ**_{α,γ}are dependent on the states of *SS*_{
i
}and *d*_{
i
}. Second, the CPD of *SS*_{
i
}(*i* = 2, 3, 4...) is defined by

where *T*_{
α
}(*β*) is the transition probability from the secondary structure state *α* to the state *β*. Third, the CPD of *d*_{
i
}(*i* = 2, 3, 4...) is defined by

where *λ*_{
j
}and *γ*_{
j
}(*j* = 1, 2, ... *L*_{
SS
}) are the *j* th elements of the *L*_{
SS
}-tuples *λ* and *γ*, respectively. Fourth, the CPD of *D*_{
i
}(*i* = 2, 3, 4...) is defined by

where *g*_{
α
}(*n*) is the segment length distribution given the secondary structure state *α* and *h*_{
α
}is the probability for *D*_{
i
}to maintain the value *D*_{
max
}given *SS*_{
i
}= *α* and *D*_{i-1}= *D*_{
max
}. Using this function, the probability of producing a segment with length *n* (*n* > = *D*_{
max
}) is proportional to (1-*h*_{
α
})*h*_{
α
}^{n-Dmax}, i.e. a geometric distribution. The validity of using such a distribution to model segments of length longer than *D*_{
max
}is supported by Fig. 3(a), in which all the helices, sheets, and coils show exponential tails in their segment length distributions. Fig. 3(a) also indicates that a proper *D*_{
max
}should be 13, after which all the distributions can be fitted well to exponential functions (see the inset of Fig. 3(a)). At last, the CPD of *F*_{
i
}(*i* = 1, 2, 3...) is defined by

Note that the CPDs of *SS*_{1}, *d*_{1}, and *D*_{1} have similar definition to CPDs of *SS*_{
i
}, *d*_{
i
}, and *D*_{
i
}(*i* = 2, 3, 4...) but with an independent set of parameters.

The parameters of the CPDs described above are derived by applying the maximum likelihood (ML) method to the training set. In prediction, the marginal probability distribution of *SS*_{
i
}(*i* = 1, 2, 3...) is computed by using the forward-backward (FB) algorithm [22], and then the state of *SS*_{
i
}with the maximum probability is the prediction of residue *i*. Both ML and FB algorithms are implemented by using the Bayes Net Toolbox [38].

### The neural network

The typical three-layered feed-forward back-propagation architecture is used in our NN-based models. The sliding window-based training and testing strategy are employed with an optimal window size of 15 derived from an empirical evaluation of varying window sizes from 7 to 19. The momentum terms and learning rates of the network are set to be 0.9 and 0.005, respectively, and the number of hidden units is set to be 75.

### Training and combinations

Training is done in two different ways, depending on datasets involved. For the dataset CB513 and SD576, the standard *N*-fold cross-validation testing strategy is adopted, where *N* is either 7 or 10. That is, the dataset is split into *N* subsets with approximately equal numbers of sequences in each, and then *N*-1 of them are used for training while the remaining one is used for testing; the process continues *N* times with a rotation of the testing subset, making sure that every protein sequence is tested once. The second way of training concerns the dataset EVAc6, for which there exists a separate large dataset EVAtrain with low sequence identity (< 25%) to EVAc6. So, it is customary to use EVAtrain as the training set and EVAc6 as the test set.

Note that the DBN and NN models are usually trained on the same training set, in order to make a comparison and to be combined later to form DBNN. However, the detailed training process of DBN is somewhat different from NN, owing to different architectures of the model. The DBN takes two sets of data as input, one for profile and the other for secondary structure; each set is a sliding window with the "current" residue located at the right end. The correlation information between "current" residue and its neighbors is stored in the data, but depends on the direction in which the window slides (from N-terminus to C-terminus or reverse). We actually run the DBN model in both directions and then average the results (see below). On the other hand, the NN takes only one sliding-window, with the "current" residue located at the center of the window. Finally, the training for DBNN is simple the training of DBN and NN on the same dataset.

When a sequence is selected for either training or testing, the original PSSM generated by PSI-BLAST can be transformed into [0 1] in two strategies: linear transformation [Eq. (3)] or sigmoid transformation [Eq. (4)]. In addition, as mentioned above, the direction from either N-terminus to C-terminus (NC) or the reverse (CN) gives rise to different correlation structure, so we treat them separately. As a result, four basic DBN models are generated corresponding to four above combinations: (i) DBN_{linear+NC}, (ii) DBN_{linear+CN}, (iii) DBN_{sigmoid+NC}, and (iv) DBN_{sigmoid+CN}, where the subscripts are self-explanatory. On the other hand, NN is split into two kinds according to the transformation for PSSM, and the corresponding models are denoted by NN_{linear} and NN_{sigmoid}, respectively.

The six basic models described above are believed to contain complementary information and need to be combined to form three final models. Two strategies for forming the final models are used. The first is a simple averaging of the output scores and is used to form the two architecture-based final models, DBN_{final} and NN_{final}. It is done in two steps. One first averages the outputs of DBN_{linear+NC} and DBN_{linear+CN} to form DBN_{linear}, and of DBN_{sigmoid+NC} and DBN_{sigmoid+CN} to form DBN_{sigmoid}. Then, DBN_{linear} and DBN_{sigmoid} are further combined to form DBN_{final}. Similarly, NN_{linear} and NN_{sigmoid} are combined to form NN_{final}.

The second strategy consists in using a new neural network, which has the same architecture to basic NN models except that it takes as inputs, the outputs of all the other scores (DBN_{linear+NC}, DBN_{linear+CN}, DBN_{sigmoid+NC}, DBN_{sigmoid+CN}, NN_{linear}, and NN_{sigmoid}). This final model is named DBNN, and is the one that shows the best performance among the models mentioned above.

## Availability

All the codes and datasets described above are available from our homepage [39].

## References

- 1.
Qian N, Sejnowski TJ: Predicting the secondary structure of globular proteins using neural network models.

*J Mol Biol*1988, 202: 865–884. 10.1016/0022-2836(88)90564-5 - 2.
Rost B, Sander C: Prediction of protein secondary structure at better than 70% accuracy.

*J Mol Biol*1993, 232: 584–599. 10.1006/jmbi.1993.1413 - 3.
Jones DT: Protein secondary structure prediction based on position-specific scoring matrices.

*J Mol Biol*1999, 292: 195–202. 10.1006/jmbi.1999.3091 - 4.
Pollastri G, McLysaght A: Porter: a new, accurate server for protein secondary structure prediciton.

*Bioinformatics*2005, 21: 1719–1720. 10.1093/bioinformatics/bti203 - 5.
Adamczak R, Porollo A, Meller J: Combining prediction of secondary structure and solvent accessiblility in proteins.

*Proteins*2005, 59: 467–475. 10.1002/prot.20441 - 6.
Dor O, Zhou Y: Achieving 80% ten-fold cross-validated accuracy for secondary structure prediction by large-scale training.

*Proteins*2007, 66: 838–845. 10.1002/prot.21298 - 7.
Cuff JA, Barton GJ: Application of multiple sequence alignment profiles to improve protein secondary structure prediction.

*Proteins*2000, 40: 502–511. 10.1002/1097-0134(20000815)40:3<502::AID-PROT170>3.0.CO;2-Q - 8.
Hua S, Sun Z: A novel method of protein secondary structure prediction with high segment overlap measure: support vector machine approach.

*J Mol Biol*2001, 308: 397–407. 10.1006/jmbi.2001.4580 - 9.
Kim H, Park H: Protein secondary structure prediction based on an improved support vector machines approach.

*Protein Eng*2003, 16: 553–560. 10.1093/protein/gzg072 - 10.
Ward JJ, McGuffin LJ, Buxton BF, Jones DT: Secondary structure prediction with support vector machines.

*Bioinformatics*2003, 19: 1650–1655. 10.1093/bioinformatics/btg223 - 11.
Guo J, Chen H, Sun Z, Lin Y: A novel method for protein secondary structure prediction using dual-layer SVM and profiles.

*Proteins*2004, 54: 738–743. 10.1002/prot.10634 - 12.
Karypis G: YASSPP: better kernels and coding schemes lead to improvements in protein secondary structure prediction.

*Proteins*2006, 64: 575–586. 10.1002/prot.21036 - 13.
Stultz CM, White JV, Smith TF: Structural analysis based on state-space modeling.

*Protein Sci*1993, 2: 305–314. - 14.
Thompson MJ, Goldstein RA: Predicting protein secondary structure with probabilistic schemata of evolutionarily derived information.

*Protein Sci*1997, 6: 1963–1975. - 15.
Schmidler SC, Liu JS, Brutlag DL: Bayesian segmentation of protein secondary structure.

*J Comput Biol*2000, 7: 233–248. 10.1089/10665270050081496 - 16.
Crooks GE, Brenner SE: Protein secondary structure: entropy, correlations and prediction.

*Bioinformatics*2004, 20: 1603–1611. 10.1093/bioinformatics/bth132 - 17.
Aydin Z, Altunbasak Y, Borodovsky M: Protein secondary structure prediction for a single-sequence using hidden semi-Markov models.

*BMC Bioinformatics*2006, 7: 178–192. 10.1186/1471-2105-7-178 - 18.
Chu W, Ghahramani Z, Podtelezhnikov A, Wild DL: Bayesian segmental models with multiple sequence alignment profiles for protein secondary structure and contact map prediction.

*IEEE Trans Comput Biol Bioinfo*2006, 3: 98–113. 10.1109/TCBB.2006.17 - 19.
Karplus K, Katzman S, Shackleford G, Koeva M, Draper J, Barnes B, Soriano M, Hughey R: SAM-T04: what is new in protein-structure prediction for CASP6.

*Proteins*2005, Suppl 7: 135–142. 10.1002/prot.20730 - 20.
Prediction scheme of SAM-T04[http://www.soe.ucsc.edu/research/compbio/SAM_T06/faq.html]

- 21.
Cuff JA, Barton GJ: Evaluation and improvement of multiple sequence methods for protein secondary structure prediction.

*Proteins*1999, 34: 508–519. 10.1002/(SICI)1097-0134(19990301)34:4<508::AID-PROT10>3.0.CO;2-4 - 22.
Murphy KB: Dynamic Bayesian networks: representation, inference and learning. In

*Computer Science*.*Volume PHD*. U. C. Berkeley; 2002:225. - 23.
Koh IY, Eyrich VA, Marti-Renom MA, Przybylski D, Madhusudhan MS, Eswar N, Grana O, Pazos F, Valencia A, Sali A, Rost B: EVA: evaluation of protein structure prediction servers.

*Nucleic Acids Res*2003, 31: 3311–3315. 10.1093/nar/gkg619 - 24.
Berman HM, Westbrook J, Feng Z, Gilliland G, Bhat TN, Weissig H, Shindyalov IN, Bourne PE: The protein data bank.

*Nucleic Acids Res*2000, 28: 235–242. 10.1093/nar/28.1.235 - 25.
EVA common set 6[http://cubic.bioc.columbia.edu/eva/sec/set_com6.html]

- 26.
Andreeva A, Howorth D, Brenner SE, Hubbard TJP, Chothia C, Murzin AG: SCOP database in 2004: refinements integrate structure and sequence family data.

*Nucleic Acids Res*2004, 32: D226-D229. 10.1093/nar/gkh039 - 27.
Kabsch W, Sander C: Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features.

*Biopolymers*1983, 22: 2577–2637. 10.1002/bip.360221211 - 28.
Matthews BW: Comparison of the predicted and observed secondary structure of T4 phage lysozyme.

*Biochim Biophys Acta*1975, 405: 442–451. - 29.
Xu Y, Xu D: Protein threading using PROSPECT: design and evaluation.

*Proteins*2000, 40: 343–354. 10.1002/1097-0134(20000815)40:3<343::AID-PROT10>3.0.CO;2-S - 30.
Ouali M, King RD: Cascaded multiple classifiers for secondary structure prediction.

*Protein Sci*2000, 9: 1162–1176. - 31.
Karplus K, Barrett C, Cline M, Diekhans M, Grate L, Hughey R: Predicting protein structure using only sequence information.

*Proteins*1999, Suppl. 3: 121–125. Publisher Full Text 10.1002/(SICI)1097-0134(1999)37:3+<121::AID-PROT16>3.0.CO;2-Q - 32.
Przybylski D, Rost B: Alignments grow, secondary structure prediction improves.

*Proteins*2002, 46: 197–205. 10.1002/prot.10029 - 33.
EVA results[http://cubic.bioc.columbia.edu/eva/sec/common3.html]

- 34.
McGuffin LJ, Jones DT: Benchmarking secondary structure prediction for fold recognition.

*Proteins*2003, 52: 166–175. 10.1002/prot.10408 - 35.
NR database[ftp://ftp.ncbi.nih.gov/blast/db]

- 36.
Altschul SF, Madden TL, Schaffer AA, Zhang J, Zhang Z, Miller W, Lipman DJ: Gapped BLAST and PSI-BLAST: a new generation of protein database search programs.

*Nucleic Acids Res*1997, 25: 3389–3402. 10.1093/nar/25.17.3389 - 37.
Zemla A, Venclovas C, Fidelis K, Rost B: A modified definition of sov, a segment-based measure for protein secondary structure prediction assessment.

*Proteins*1999, 34: 220–223. 10.1002/(SICI)1097-0134(19990201)34:2<220::AID-PROT7>3.0.CO;2-K - 38.
Bayes net toolbox[http://bnt.sourceforge.net]

- 39.
DBNN homepage[http://ctb.pku.edu.cn/main/SheGroup/Software/DBNN]

## Acknowledgements

We acknowledge the support by the National Natural Science Foundation of China (No. 10225210 and No. 30300071), and the National Basic Research Program of China (973 Program) under grant No. 2003CB715905.

## Author information

### Affiliations

### Corresponding author

## Additional information

### Authors' contributions

ZSS and HQZ supervised the whole process of the work. XQY wrote the codes and did the tests. XQY, HQZ, and ZSS draft the manuscript.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

**Open Access**
This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License (
https://creativecommons.org/licenses/by/2.0
), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Yao, XQ., Zhu, H. & She, ZS. A dynamic Bayesian network approach to protein secondary structure prediction.
*BMC Bioinformatics* **9, **49 (2008). https://doi.org/10.1186/1471-2105-9-49

Received:

Accepted:

Published:

### Keywords

- Support Vector Machine
- Secondary Structure
- Hide Markov Model
- Dynamic Bayesian Network
- Conditional Probability Distribution