Literature DB >> 15927081

Empirical codon substitution matrix.

Adrian Schneider1, Gina M Cannarozzi, Gaston H Gonnet.   

Abstract

BACKGROUND: Codon substitution probabilities are used in many types of molecular evolution studies such as determining Ka/Ks ratios, creating ancestral DNA sequences or aligning coding DNA. Until the recent dramatic increase in genomic data enabled construction of empirical matrices, researchers relied on parameterized models of codon evolution. Here we present the first empirical codon substitution matrix entirely built from alignments of coding sequences from vertebrate DNA and thus provide an alternative to parameterized models of codon evolution.
RESULTS: A set of 17,502 alignments of orthologous sequences from five vertebrate genomes yielded 8.3 million aligned codons from which the number of substitutions between codons were counted. From this data, both a probability matrix and a matrix of similarity scores were computed. They are 64 x 64 matrices describing the substitutions between all codons. Substitutions from sense codons to stop codons are not considered, resulting in block diagonal matrices consisting of 61 x 61 entries for the sense codons and 3 x 3 entries for the stop codons.
CONCLUSION: The amount of genomic data currently available allowed for the construction of an empirical codon substitution matrix. However, more sequence data is still needed to construct matrices from different subsets of DNA, specific to kingdoms, evolutionary distance or different amount of synonymous change. Codon mutation matrices have advantages for alignments up to medium evolutionary distances and for usages that require DNA such as ancestral reconstruction of DNA sequences and the calculation of Ka/Ks ratios.

Entities:  

Mesh:

Substances:

Year:  2005        PMID: 15927081      PMCID: PMC1173088          DOI: 10.1186/1471-2105-6-134

Source DB:  PubMed          Journal:  BMC Bioinformatics        ISSN: 1471-2105            Impact factor:   3.169


Background

Models for codon substitutions are used in computational biology for a wide range of applications such as reconstructing ancestral DNA sequences, determining Ka/Ks ratios to identify periods of adaptive evolution and aligning coding DNA. Methods for estimating mutation matrices from observed substitutions in sequence alignments of proteins were established by Dayhoff [1]. These matrices contain the probabilities of amino acid mutations for a given period of evolution and have long been used for scoring protein sequence alignments, evolutionary studies and homology searches. More than a decade ago, when large-scale protein databases became established, several amino acid substitution matrices based on observed mutation counts in protein alignments were constructed [2-4], replacing the original Dayhoff matrices that were based on relatively few alignments. However, to describe substitutions at the codon level, parameterized models have been developed [5,6] and are widely used in the study of molecular evolution. In the same way that the growth of protein databases allowed refined construction of amino acid substitution matrices, the recent increase of nucleotide sequence data made it possible to apply these methods at the codon level. The matrices presented here were constructed using the approach of Gonnet [4]. This implies that pairwise alignments using full dynamic programming [7,8] were used in order to count the observed transitions between codons. The sequence data was taken from the complete vertebrate genome databases of ENSEMBL [9].

Results

The additional files contain the 64 × 64 matrices presented here. Various aspects of the matrices will be discussed in this section. We present the matrix with the exact counts of the observed substitutions (Additional file 1), the matrix containing the substitution probabilities derived therefrom (Additional file 2) and a matrix containing similarity scores for all possible substitutions (Additional file 3).

Substitution counts

The 17,502 alignments that have been used to construct the matrix presented here contained 8.3 million aligned codon pairs. From each of these aligned pairs, the number of each of the 3730 (61 × 61 + 3 × 3) possible substitutions were counted. The difference between the numbers of frequent and rare substitution is high with the most frequent substitution (the GAG identity) being observed 153,040 times, and the rarest substitution, between TGG and GAG, being counted only 45 times, about 3400 times less often. To estimate the precision of the count of the rarest substitution, a binomial distribution of the counts can be assumed. The substitution with minimal count coccurs with probability p = 45/(8.3·106) = 5.4·10-6. The variance of a binomial distribution is σ2 = N(1 - p)p and thus for very small p, the variance of cis almost equal to c= 45 and the standard deviation σ is 6.7. This means that although a very large amount of data is used to construct the matrix, it is just enough to produce codon counts that are of a tolerable accuracy for rare transitions. Only a further increase of high-quality genomic data will allow the clustering of the data into specific subsets. These possibilities will be discussed below.

Substitution probabilities

The mutation matrix M constructed from the counts contains the substitution probabilities for the individual codons. Entry Mgives the probability that codon j mutates to codon i. (As a consequence, each column of M sums to 1). A convenient measure to express the amount of mutations in a matrix is the percentage identity with fbeing the natural frequencies of the codons. For the matrix reported here, p is .35, meaning that in the alignments used, 65% of the codons have undergone substitution (to any other codon, thereby involving up to three nucleotide changes). It is also possible to calculate the percentage of identical amino acids resulting from this matrix: In the second sum, i goes over all codons that code for the same amino acid as j does. The result for pis .69, therefore 31% of the amino acids are expected to mutate. This allows the determination of the relationship between the codon substitution matrices and amino acid substitution matrices, because the amino acid PAM distance can be derived from the percentage of amino acid identity. Analogously to the definition of 1 PAM, 1 Codon-PAM can be defined as the distance at which 1% of the codons undergo substitution. Again, a codon substitution can involve up to three nucleotide base changes. The substitution matrix for any distance d is approximated by raising the 1 CodonPAM matrix to the power of d. The relationship between CodonPAM, PAM and f2 is shown in Figure 2. It shows that amino acid PAM increases almost linearly with CodonPAM. The curve is slightly steeper for the low distances and flattens with increasing distance. The amount of synonymous substitution decays from 1 to .51 (f2 being a measure of synonymous mutation described in the Methods section).
Figure 2

CodonPAM vs PAM and f2

Mutation scores

Since the substitution probabilities are influenced by the codon frequencies, it is not possible to see directly which substitutions occur more than expected and which occur less. This issue is corrected in the scoring matrix D, where entry Dexpresses how much more likely it is that codons i and j were derived from a common ancestral codon compared to a random pairing of them. A higher score for a transition means that this transition is indeed more likely than one with a lower score. The scoring matrix is symmetric, i.e. the transition from codon i to j has the same score as the transition from j to i. Table 1 displays average scores for different categories of substitutions. It confirms the fact that synonymous substitution scores are generally higher than non-synonymous scores. But it can also be seen that as more nucleotides change, the scores become lower. Synonymous substitutions in which all three bases change, have lower scores than non-synonymous substitutions with only one base change.
Table 1

Analysis of the scores. Average scores for different categories of substitutions. The stop codons are excluded from this analysis.

n SubstitutionsAvg. Score
Identity6112.9

Synonymous: all878.7
Synonymous: 1 base change6710.0
Synonymous: 2 base changes146.6
Synonymous: 3 base changes6-1.7

Non-syn.: all1743-7.3
Non-syn.: 1 base change196-1.3
Non-syn.: 2 base changes770-5.9
Non-syn.: 3 base changes777-10.3

All Substitutions1891-5.9

Discussion

Synonymous mutations

It has been observed that different genes have different Ka/Ks ratios and therefore the fraction of synonymous substitutions will differ between different gene pairs having a certain PAM distance. This is because there are no strong selective constraints on synonymous substitutions and therefore the number of these substitutions accumulates in a clock-like manner [10] while the number of nonsynonymous substitutions is governed by functional constraints. Increasing amounts of genomic data would allow the construction and comparison of matrices from alignments with differing amounts of synonymous and non-synonymous substitutions, representing a two-dimensional array of matrices, where one dimension is the evolutionary distance and the other corresponds to the amount of synonymous change. Unfortunately, the current size of the nucleotide databases does not yet allow such a clustering of the available data. Instead, the alignments selected to construct the matrices were filtered to fall within a window of synonymous mutations, thereby excluding the most extreme values. (see the Methods section for details). Figure 1 shows the distribution of the alignments' f2 values.
Figure 1

f2 histogram. Histogram of the f2 values from the 17,502 alignments used to construct the matrix.

Range of applicability

One possible application of scoring matrices is protein and coding DNA alignment. In order to compare alignments based on amino acid substitution matrices and the codon matrices presented here, the likelihood scores are compared. Since these scores express the probability ratios of the two sequences having evolved from a common ancestor to them being aligned by random chance, they serve as a confidence measure of an alignment. The higher the score, the higher the likelihood that the alignment is by reasons of ancestry than by random chance. As the likelihood scores serve as an indicator of alignment quality, orthologous sequences for species pairs of various distance and classes were used to determine when codon matrix based alignments produced higher scores than amino-acid PAM matrices. Table 2 displays for several pairs of species, the number of orthologs used to perform the alignment analysis, the average PAM distance between these orthologs (found by selecting the highest-scoring PAM matrix) and the average ratio of codon based scores to amino acid based scores. A number greater than 1 means that on an average, the codon based scores were higher.
Table 2

Range of applicability. Ratios of likelihood scores for amino acid and codon based alignments for orthologs between several species pairs, where N is the number of orthologs used.

NAvg. PAMScores ratio
Homo sapiens
vs. Mus musculus1465517.41.150
vs. Gallus gallus927229.31.060
vs. X. tropicalis995339.11.026
vs. B. rerio750743.71.013

Drosophila melanogaster
vs. A. gambiae505957.3.995
vs. H. sapiens337177.5.959
vs. C. elegans215688.8.945

Saccharomyces cerevisiae
vs. C. glabrata346752.71.002
vs. A. gossypii290961.4.978
vs. H. sapiens118794.1.931

Escherichia coli
vs. E. coli strain O631562.01.323
vs. Salmonella typhi255714.21.067
vs. P. aeruginosa123471.6.980
vs. B. japonicum76590.2.959
The result is that for closely related species, the codon based scores are always higher, but the more distant two species are, the better the performance of the amino acid based alignments. An interesting point is that although codon mutations in different sets of species were found to be significantly different (χ2 tests, data not shown here), the above finding holds not only for the vertebrates, from which the matrices were constructed, but also for the invertebrates, yeasts and even bacteria. From the results in Table 2, a PAM distance smaller than 50 would favor the use of codon substitution matrices instead of amino acid based matrices.

Conclusion

Because codon substitution matrices are substantially bigger than amino acid matrices and also because some of the substitutions are extremely rare compared to the most frequent ones, large amounts of genomic data are necessary to model the transitions accurately. The 17,502 alignments used here produce enough aligned codons to fulfill this criterium, but do not allow further clustering of the data set in order to create more specific matrices. The codon substitution matrix presented here is to our knowledge the first based entirely on empirical data and can serve in many fields of computational biology. We have found that at long distances, when the synonymous mutations have reached saturation, amino acid matrices are better suited for alignments and long-distance homology searching. Codon mutation matrices have advantages for alignment up to medium evolutionary distances and for usages that require DNA such as ancestral reconstruction of DNA sequences and the calculation of Ka/Ks ratios.

Methods

The basic methods to create scoring matrices are well established. The construction of codon substitution matrices is analogous to that of amino acid transition matrices. The main difference lies in the fact that codon matrices are much larger (4096 elements (64 × 64) instead of 400 elements (20 × 20)). In addition, the stop codons need special consideration. Substitutions between stop codons and sense codons are assumed to be very rare because the effect of such substitutions on the function of the protein would probably be very serious thus the chance of acceptance is very small and usually limited to the 3' end of the nucleotide sequence. This makes it almost impossible to observe such events. Therefore, these substitutions are not included in the matrices presented here. Substitutions between stop codons, however, are counted and thus also contained in the matrices. This means that the 64 × 64 matrices are block diagonal composed of a 61 × 61 matrix for the coding codons and a 3 × 3 matrix describing substitutions between stop codons.

Using orthologs

The matrices are constructed from pairwise alignments of orthologous sequences from five vertebrates – human (Homo sapiens), mouse (Mus musculus), chicken (Gallus gallus), frog (Xenopus tropicalis) and zebrafish (Brachydanio rerio). The complete genome databases from ENSEMBL [9] were used for this purpose. Using only orthologs has the advantage that no gene is overrepresented in the data set. This is because a particular gene can have many paralogous genes in a genome, but we allowed at most one ortholog per other genome.

Circular tours

When counting the substitutions in alignments from all pairs of species, substitutions that occurred early in the tree are counted more often than those that happened later, because paths between two species include the branches near the root more often than those near the leaves. This bias can be prevented by using only species pairs along a circular tour. This way every branch of the tree (and therefore every substitution that ever happened in the history of the genes) examined, is counted at most twice. Concretely, this means that only the orthologs between human and mouse (3107 pairs), mouse and chicken (3691 pairs), chicken and frog (3671 pairs), frog and fish (3441 pairs) and fish and human (3592 pairs) are counted, resulting in 17,502 alignments.

Counting substitutions

These alignments must fulfill several criteria: 1) they should all be of similar evolutionary distance because substitution probability depends on evolutionary distance. A trade-off exists for the acceptable range of distances as including a broad range of distances, increases the amount of data but at the same time blurs the distance specific information. 2) The alignments must be of a distance that is high enough to allow the observation of rarer substitutions. 3) There must be enough alignments to have statistically significant data for the rare substitutions. After some observations performed on a subset of the data, a distance range of 25 to 60 PAM (57% to 78% identity) of the protein alignments was found to best satisfy these criteria. Another selection criterium was based on the amount of synonymous substitutions between the sequences to eliminate saturation effects from the observed synonymous substitutions. One way to estimate the amount of synonymous substitution is f2, the percentage of conserved synonymous codons at two-fold redundant amino acid sites. Two identical sequences have an f2 value of 1 and it will decay to a value near .5 for increasing amounts of substitutions. An f2 range between .50 and .95 was found to exclude the most extreme cases of synonymous substitutions while leaving enough alignments to fill the matrices. Figure 1 shows the distribution of f2 values for all alignments within the PAM range of 25 to 60. The sequence pairs with f2 values between .50 and .95 are shown in green and were used to construct the matrices, while the alignments corresponding to the red bins were discarded. Full dynamic programming [4,7,8] was employed in order to construct the alignments. The DNA alignment was obtained by mapping the coding DNA to the aligned proteins. Directly aligning the DNA was not yet possible, because no a priori knowledge about codon similarities was assumed. However, in the refinement steps (see further below), the DNA itself was aligned using the codon substitution matrices from the previous refinement round. Once the sequences were aligned, the actual substitution matrices could be computed. This included counting the observed codon substitutions in the collected alignments and storing them in a 64 × 64 count matrix C. Since the direction of a substitution is not known, for each observed substitution between codons i and j, Cas well as Cis increased by 1/2. Insertion or deletion sites were ignored since they provide no information about actual substitutions. From the count matrix, the mutation matrix was derived according to equation 3:

Calculating similarity scores

The transition scores for a given substitution matrix express the relative probabilities of two codons originating from a common ancestor compared to the probability of them being paired by random chance. The logarithm is taken to make the scores additive, thereby speeding up the computation of alignment scores. D is calculated as where fis the frequency of codon i in the observed data set. The factor 10 is used for purely historical reasons. In an iterative process, the sequence pairs were aligned again with dynamic programming [7,8] but this time directly on the codon sequences using the substitution matrices obtained before. Exponentiation of the mutation matrix was used to approximate matrices for different evolutionary distances [12], allowing a maximum-likelihood estimation of the best-fitting matrix to align the sequences. From these new alignments new mutation matrices and finally scoring matrices were constructed in the way described above, until after six iterations a sufficient convergence of the matrix was reached.

Authors' contributions

GMC initiated and guided this project and contributed to the programming. AS did the majority of the programming and analysis. Some of the work was based on previous research by GHG. All work was supervised by GHG. AS and GMC drafted the manuscript which was approved by GHG.

Additional File 1

The 64 × 64 matrix containing the observed substitution counts as described in the results section. Click here for file

Additional File 2

The 64 × 64 matrix containing the substitution probabilities. Click here for file

Additional File 3

The 64 × 64 matrix of the transition scores. Click here for file
  10 in total

1.  Codon-substitution models for heterogeneous selection pressure at amino acid sites.

Authors:  Z Yang; R Nielsen; N Goldman; A M Pedersen
Journal:  Genetics       Date:  2000-05       Impact factor: 4.562

2.  Amino acid substitution matrices from protein blocks.

Authors:  S Henikoff; J G Henikoff
Journal:  Proc Natl Acad Sci U S A       Date:  1992-11-15       Impact factor: 11.205

3.  The rapid generation of mutation data matrices from protein sequences.

Authors:  D T Jones; W R Taylor; J M Thornton
Journal:  Comput Appl Biosci       Date:  1992-06

4.  Exhaustive matching of the entire protein sequence database.

Authors:  G H Gonnet; M A Cohen; S A Benner
Journal:  Science       Date:  1992-06-05       Impact factor: 47.728

5.  A general method applicable to the search for similarities in the amino acid sequence of two proteins.

Authors:  S B Needleman; C D Wunsch
Journal:  J Mol Biol       Date:  1970-03       Impact factor: 5.469

6.  A codon-based model of nucleotide substitution for protein-coding DNA sequences.

Authors:  N Goldman; Z Yang
Journal:  Mol Biol Evol       Date:  1994-09       Impact factor: 16.240

7.  Nucleotide sequence divergence and functional constraint in mRNA evolution.

Authors:  T Miyata; T Yasunaga; T Nishida
Journal:  Proc Natl Acad Sci U S A       Date:  1980-12       Impact factor: 11.205

8.  An improved algorithm for matching biological sequences.

Authors:  O Gotoh
Journal:  J Mol Biol       Date:  1982-12-15       Impact factor: 5.469

9.  Mutation rates in mammalian genomes.

Authors:  Sudhir Kumar; Sankar Subramanian
Journal:  Proc Natl Acad Sci U S A       Date:  2002-01-15       Impact factor: 11.205

10.  Ensembl 2005.

Authors:  T Hubbard; D Andrews; M Caccamo; G Cameron; Y Chen; M Clamp; L Clarke; G Coates; T Cox; F Cunningham; V Curwen; T Cutts; T Down; R Durbin; X M Fernandez-Suarez; J Gilbert; M Hammond; J Herrero; H Hotz; K Howe; V Iyer; K Jekosch; A Kahari; A Kasprzyk; D Keefe; S Keenan; F Kokocinsci; D London; I Longden; G McVicker; C Melsopp; P Meidl; S Potter; G Proctor; M Rae; D Rios; M Schuster; S Searle; J Severin; G Slater; D Smedley; J Smith; W Spooner; A Stabenau; J Stalker; R Storey; S Trevanion; A Ureta-Vidal; J Vogel; S White; C Woodwark; E Birney
Journal:  Nucleic Acids Res       Date:  2005-01-01       Impact factor: 16.971

  10 in total
  30 in total

1.  FastML: a web server for probabilistic reconstruction of ancestral sequences.

Authors:  Haim Ashkenazy; Osnat Penn; Adi Doron-Faigenboim; Ofir Cohen; Gina Cannarozzi; Oren Zomer; Tal Pupko
Journal:  Nucleic Acids Res       Date:  2012-05-31       Impact factor: 16.971

2.  Empirical analysis of the most relevant parameters of codon substitution models.

Authors:  Stefan Zoller; Adrian Schneider
Journal:  J Mol Evol       Date:  2010-06-05       Impact factor: 2.395

3.  Codon-based tests of positive selection, branch lengths, and the evolution of mammalian immune system genes.

Authors:  Austin L Hughes; Robert Friedman
Journal:  Immunogenetics       Date:  2008-06-26       Impact factor: 2.846

4.  Predicting Amino Acid Substitution Probabilities Using Single Nucleotide Polymorphisms.

Authors:  Francesca Rizzato; Alex Rodriguez; Xevi Biarnés; Alessandro Laio
Journal:  Genetics       Date:  2017-07-28       Impact factor: 4.562

5.  A model-independent approach to infer hierarchical codon substitution dynamics.

Authors:  Olof Görnerup; Martin Nilsson Jacobi
Journal:  BMC Bioinformatics       Date:  2010-04-23       Impact factor: 3.169

6.  An analysis of substitution, deletion and insertion mutations in cancer genes.

Authors:  Prathima Iengar
Journal:  Nucleic Acids Res       Date:  2012-04-09       Impact factor: 16.971

7.  Surprising results on phylogenetic tree building methods based on molecular sequences.

Authors:  Gaston H Gonnet
Journal:  BMC Bioinformatics       Date:  2012-06-27       Impact factor: 3.169

8.  CodonPhyML: fast maximum likelihood phylogeny estimation under codon substitution models.

Authors:  Manuel Gil; Marcelo Serrano Zanetti; Stefan Zoller; Maria Anisimova
Journal:  Mol Biol Evol       Date:  2013-02-23       Impact factor: 16.240

9.  Accurate discrimination of conserved coding and non-coding regions through multiple indicators of evolutionary dynamics.

Authors:  Matteo Rè; Graziano Pesole; David S Horner
Journal:  BMC Bioinformatics       Date:  2009-09-08       Impact factor: 3.169

10.  Back-translation for discovering distant protein homologies in the presence of frameshift mutations.

Authors:  Marta Girdea; Laurent Noe; Gregory Kucherov
Journal:  Algorithms Mol Biol       Date:  2010-01-04       Impact factor: 1.405

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.