Skip to main content

K2D2: Estimation of protein secondary structure from circular dichroism spectra



Circular dichroism spectroscopy is a widely used technique to analyze the secondary structure of proteins in solution. Predictive methods use the circular dichroism spectra from proteins of known tertiary structure to assess the secondary structure contents of a protein with unknown structure given its circular dichroism spectrum.


We developed K2D2, a method with an associated web server to estimate protein secondary structure from circular dichroism spectra. The method uses a self-organized map of spectra from proteins with known structure to deduce a map of protein secondary structure that is used to do the predictions.


The K2D2 server is publicly accessible at It accepts as input a circular dichroism spectrum and outputs the estimated secondary structure content (alpha-helix and beta-strand) of the corresponding protein, as well as an estimated measure of error.


Circular dichroism (CD) spectroscopy is a widely used technique to analyze the secondary structure of proteins in solution. It is based on the dependence of the optical activity of the protein in the 170–240 nm wavelength with the backbone orientation of the peptide bonds with minor influences from the side chains [1]. Different types of secondary structure producing characteristic spectra, the spectrum of a given protein can be used to estimate its percentage content on the major secondary structure types. During the past 30 years, many methods that address this problem have been developed, which apply a variety of approaches from singular value decomposition to optimization algorithms, regression or neural networks [213]. One of these methods is K2D [8]. It uses a self-organizing map (SOM) algorithm, a type of neural network. Spectra from proteins with solved tertiary structure are used as training set to produce the SOM. From the resulting map of spectra, "secondary structure maps" are derived. The secondary structure map is directly related to the spectra SOM and this relation is applied to estimate the percentages of content in alpha helix and beta strand of a protein given its CD spectrum.

Here we present K2D2, a re-implementation of K2D using the latest version of the SOM_PAK package [14]. K2D2 accepts a broader wavelength range for the input spectra, 190 to 240 nm further to the 200 to 240 nm wavelength range originally accepted by K2D, and has been trained with a much extended set of spectra. As a result K2D2 displays a considerable advance in performance over K2D.


CD spectra and structural data

A number of 43 CD spectra from proteins was obtained from CDPRO reference set CDDATA.43 constructed from different contributors (W. C. Johnson and [1517]). It consists of spectra for soluble proteins with a variety of secondary structure composition: mainly alpha (myoglobin, hemoglobin, hemerythrin, etc.), mainly beta (elastase, tumor necrosis factor, alpha-chymotrypsin, etc.) and alpha/beta (triose phosphate isomerase, lactate dehydrogenase, lysozime, thermolysine, etc) (see Table 1). Our attempt to use a larger CD data set that includes 13 transmembrane proteins resulted in a poorer performance of the method, which suggests that these proteins require a specialized method trained only with transmembrane proteins. The difficulties in predicting the secondary structure of transmembrane proteins with CD methods trained with globular proteins have been noted before [18].

Table 1 Performance on benchmarks for K2D and K2D2.

We selected best resolution tertiary structures corresponding to the proteins in the reference set from the Protein Data Bank (PDB) [19]. We used the DSSP program [20] on the PDB files in order to assign secondary structure class to the individual amino acids in every protein in the reference set. We assigned alpha-helix to the protein residues labeled as H and beta-strand to those labeled E and then computed the fraction of amino acids in the protein in each conformation (see Table 1). In addition to the CDDATA.43 spectra, we included in the training set six additional reference spectra from [21]: three spectra of poly(L-lysine) in aqueous solution in alpha, beta and random conformations, and three model spectra in alpha, beta and random conformation constructed from 15 proteins [16].

Spectra SOM and secondary structure maps

A map of 18 × 18 neurons was trained with the 49 CD spectra using the SOM_PAK package [14]. Small variations on the map size and training parameters that produced smooth maps did not produce big differences in performance. The final map was produced by averaging 100 randomly started maps. Once the spectra SOM is obtained we produce two "secondary structure maps", one for alpha-helix and another for beta-strand. We start with grids of 18 × 18 nodes (same size as the SOM), and we compare each spectrum in the training set with the weight vectors associated to the neurons of the SOM. Given a spectrum, we find its "closer" neuron in the SOM map, and we assign the fraction of secondary structure of the corresponding protein to the equivalent (same coordinates) node in the grid. In order to produce smooth maps (see Figure 1), instead of considering only the closer neuron in the spectra SOM we take into account a number n of the closest neurons, and the final value of secondary structure fraction is the linear combination of the values of the respective neurons weighed by the inverse of their distances. The inclusion of more than 6 neighboring neurons produced the best results. Better performance was obtained if the extra six reference spectra from [21] were not included in the computation of the secondary structure map, although performance decreased if we removed them as well from the training set of the spectra SOM. Therefore, we kept them for the training.

Figure 1
figure 1

K2D2 web server input and output. (A) Window for input spectrum. (B) Comparison of input and predicted spectra.

Estimated maximum error

In principle, the more similar a given spectrum is to its closest SOM spectra node, the better would be the prediction. In other words, if a spectrum is very different to anything the method has "previously seen" (as for training set), results cannot be expected to be very accurate. To provide users with an estimate of the maximum total error of the prediction (as sum for the errors for the alpha and beta predictions) we used the distances to the closest node map and the corresponding observed total errors from the benchmark. At a given distance, the maximum error is the largest total error that was observed in the benchmark. Thus, the total error for the prediction is expected to be less than the estimated maximum error. If the distance is larger than anything observed in the benchmark, a message is given indicating that an estimation of maximum error is not possible; in this situation the structure prediction should not be taken into account.

Web server

K2D2 can be accessed at K2D2 site [22]. Users must choose the input wavelength range (200–240 nm or 190–240 nm) and provide the spectrum of the problem protein (see Figure 1A). Spectra must be in Δε units. As results are better for the 190–240 nm wavelength range, this option is recommended if the user can supply spectra in this range, although we maintain the short range input as it is sometimes difficult to obtain the former. The results consist of the estimated values for percentages of residues in alpha-helix and beta-strand, an estimated error for the prediction, and a graphic comparing the predicted spectrum with the user input (see Figure 1B). The plot provides a visual assessment of the accuracy of the prediction.

Results and Discussion

The performance of K2D2 was measured in a left-one-out benchmark, comparing real and predicted values, by means of the Pearson correlation coefficient (r) and the root mean square deviation (RMSD). We obtained averages of r of 0.93 for alpha and 0.82 for beta, and average values of RMSD of 0.08 and 0.09, respectively (see Table 1). In comparison, K2D was reported to produce average r values of 0.91 for alpha and 0.73 for beta, and average RMSD values of 0.11 and 0.14, respectively [8]. The performance of K2D2 for alpha helix did not improve much, something to expect, as K2D's prediction was already very good. In contrast, the prediction for beta strand was much improved. Furthermore, K2D was originally tested with only 24 proteins, and when evaluating it with the expanded set of 43 proteins we observed an even bigger difference (see Table 1). Thus, K2D2 produces significantly better predictions than K2D.


We have presented K2D2, a re-implementation of the K2D method for prediction of protein secondary structure from CD spectra. By using a larger wavelength range and larger dataset training, K2D2 represents an important improvement over K2D.

As for K2D [8], we chose to offer predictions for alpha and beta percentages and not for other structures that are sometimes considered by similar prediction algorithms. Beta-turns are predicted by various methods with mild success (see Table 2). Recent publications point out that protein CD spectra does not have good predictive value for beta-turns [23], the reasons being the small number of residues in turns and the heterogeneity of their conformation [24].

Table 2 Reported performance for different implementations of published methods.

K2D2 compares well with other published methods for prediction of protein secondary structure from CD spectra (see Table 2). We note, however, that the performance values are not readily comparable across methods because they have been trained and evaluated with different datasets (See the effect of this on K2D's performance in Table 1). Moreover, performance from methods that predict different number of secondary structure types are also not comparable because the variance of the predictions for methods that predict more types would be smaller as the predictions are normalized.

In any case, K2D2 and its predecessor, K2D, have a feature that we believe make them unique when compared to other methods, that is to warn conclusively the user when the prediction is not reliable according to the similarity between the user's input spectrum and the one computed from the training set. In summary, we believe that K2D2 represents a significant improvement and we have strived to make it easy to access and to use. We encourage users to provide suggestions for further improvements and to share novel CD spectra of proteins of known structures that can be used by us and by other developers of similar methods to improve the accuracy of the predictions.

Finally, since other methods might present alternative features not considered by us and since the benchmark results are apparently not that different, we recommend users to follow recent bibliography to see which prediction programs are used by colleagues doing similar type of analyses, and to try more than one method if the results of the predictions are unconvincing.

Availability and requirements

Project name: K2D2

Project home page:

Operating systems: Platform independent

Programming language: Perl



Circular Dichroism




correlation coefficient


root mean square deviation


Self Organizing Map


Protein Data Bank.


  1. Fasman GD: Circular Dichroism and the Conformational Analysis of Biomolecules. In Plenum Press. New York; 1996.

    Google Scholar 

  2. Chen YH: A new approach to the calculation of secondary structures of globular proteins by optical rotatory dispersion and circular dichroism. Biochem Biophys Res Commun 1971, 44: 1285–1291. 10.1016/S0006-291X(71)80225-5

    Article  Google Scholar 

  3. Brahms S: Determination of protein secondary structure in solution by vacuum ultraviolet circular dichroism. J Mol Bio 1980, 138: 149–178. 10.1016/0022-2836(80)90282-X

    Article  Google Scholar 

  4. Hennessey JP Jr: Information content in the circular dichroism of proteins. Biochemistry 1981, 20: 1085–1094. 10.1021/bi00508a007

    Article  Google Scholar 

  5. Provencher SW: Estimation of globular protein secondary structure from circular dichroism. Biochemistry 1981, 20: 33–37. 10.1021/bi00504a006

    Article  Google Scholar 

  6. Perczel A: Convex constraint analysis: a natural deconvolution of circular dichroism curves of proteins. Protein Eng 1991, 669–679.

    Google Scholar 

  7. Böhm G: Quantitative analysis of protein far UV circular dichroism spectra by neural networks. Protein Eng 1992, 5(3):191–195. 10.1093/protein/5.3.191

    Article  Google Scholar 

  8. Andrade MA: Evaluation of secondary structure of proteins from UV circular dichroism spectra using an unsupervised learning neural network. Protein Eng 1993, 6(4):383–390. 10.1093/protein/6.4.383

    Article  Google Scholar 

  9. Sreerama N: A self-consistent method for the analysis of protein secondary structure from circular dichroism. Anal Biochem 1993, 209: 32--44. 10.1006/abio.1993.1079

    Article  Google Scholar 

  10. Johnson WC: Analyzing protein circular dichroism spectra for accurate secondary structures. Proteins 1999, 35: 307–312. 10.1002/(SICI)1097-0134(19990515)35:3<307::AID-PROT4>3.0.CO;2-3

    Article  CAS  Google Scholar 

  11. Sreerama N: Estimation of protein secondary structure from circular dichroism spectra: comparison of CONTIN, SELCON, and CDSSTR methods with an expanded reference set. Anal Biochem 2000, 287: 252–260. 10.1006/abio.2000.4880

    Article  Google Scholar 

  12. Unneberg P: SOMCD: method for evaluating protein secondary structure from UV circular dichroism spectra. Proteins 2001, 42: 460–470. 10.1002/1097-0134(20010301)42:4<460::AID-PROT50>3.0.CO;2-U

    Article  Google Scholar 

  13. Manavalan P: Variable selection improves the prediction of protein secondary structure from circular dichroism. Anal, Biochem 1987, 167: 76–85. 10.1016/0003-2697(87)90135-7

    Article  Google Scholar 

  14. Kohonen T: SOM_PAK: The Self-Organizing Map Program Package. Espoo, Finland, Helsinki University of Technology; 1996.

    Google Scholar 

  15. Pancoska P: Comparison of and limits of accuracy for statistical analyses of vibrational and electronic circular dichroism spectra in terms of correlations to and predictions of protein secondary structure. Protein Sci 1995, 4: 1384–1401.

    Article  Google Scholar 

  16. Chang CT: Circular dichroic analysis of protein conformation: inclusion of the beta-turns. Anal Biochem 1978., 91:

    Google Scholar 

  17. Sreerama N: Analysis of protein circular dichroism spectra based on the tertiary structure classification. Anal Biochem 2001, 299: 271–274. 10.1006/abio.2001.5420

    Article  Google Scholar 

  18. Wallace BA: Analyses of circular dichroism spectra of membrane proteins. Protein Sci 2003, 12: 875–884. 10.1110/ps.0229603

    Article  Google Scholar 

  19. Berman H: The worldwide Protein Data Bank (wwPDB): ensuring a single, uniform archive of PDB data. Nucleic Acids Res 2007, 25: D301–3. 10.1093/nar/gkl971

    Article  Google Scholar 

  20. Kabsch W: Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features. Biopolymers 1983, 22: 2577–2637. 10.1002/bip.360221211

    Article  Google Scholar 

  21. Yang JT: Calculation of protein conformation from circular dichroism. Methods Enzymol 1986, 130: 208–269.

    Article  Google Scholar 

  22. K2D2[]

  23. Lees JG: Novel methods for secondary structure determination using low wavelength (VUV) circular dichroism spectroscopic data. BMC Bioinformatics 2006, 7: 507. 10.1186/1471-2105-7-507

    Article  Google Scholar 

  24. Lees JG: A reference database for circular dichroism spectroscopy covering fold and secondary structure space. Bioinformatics 2006, 22: 1955–1962. 10.1093/bioinformatics/btl327

    Article  Google Scholar 

Download references


We thank N. Sreerama and R.W. Woody for making accessible the spectra data at their CDPRO site. MAA is a recipient of a Canada Research Chair.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Carolina Perez-Iratxeta.

Additional information

Authors' contributions

CP–I and MAA–N participated in the development and testing of K2D2, the web server implementation and in the manuscript's preparation. Both authors read and approved the final manuscript.

Authors’ original submitted files for images

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

Authors’ original file for figure 1

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Perez-Iratxeta, C., Andrade-Navarro, M.A. K2D2: Estimation of protein secondary structure from circular dichroism spectra. BMC Struct Biol 8, 25 (2008).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: