Modeladvanced
Codon substitution model
Also called Goldman-Yang model, Muse-Gaut model.
A Markov model on the 61 sense codons with transition, codon frequency and omega parameters, used to estimate dN/dS by likelihood.
A codon substitution model is a continuous-time Markov chain on the 61 sense codons of the genetic code. It describes how a codon in a protein-coding gene changes along a branch of a tree, one base at a time, with a rate that depends on whether the change is a transition or a transversion, on how common the new codon is, and on whether the change keeps the amino acid. The last factor, , is the dN/dS ratio, so fitting the model by maximum likelihood estimates and gives tests of selection. Goldman and Yang, and Muse and Gaut, proposed the first such models in 1994. The model extends the nucleotide substitution models to the unit on which selection on proteins acts.
The machine
The state. One of the 61 sense codons of the standard code; the three stop codons are left out, because a working gene does not have them inside its reading frame. A gene of codons is independent copies of the chain, one per codon, along the same tree.
The parameters. The transition to transversion rate ratio , the nonsynonymous to synonymous rate ratio , and the equilibrium codon frequencies . Branch lengths are in expected nucleotide substitutions per codon.
The rates. For codons , the rate in the widely used form of the model of Goldman and Yang is
The diagonal is . The matrix is scaled by a constant so that , one expected substitution per codon per unit of . The original 1994 model also had a factor for the physicochemical distance between the two amino acids; later work dropped it and kept a single .
The model of Muse and Gaut. It uses the frequency of the target nucleotide at the changed position instead of the frequency of the target codon, and writes the synonymous and nonsynonymous rates as and , so that . For a change from codon to codon at position with new base , or . Later versions multiply these rates by those of a nucleotide model, such as for transitions.
Codon frequencies. Common choices: all equal to ; the products of the four base frequencies over the three positions (F1x4) or of position-specific base frequencies (F3x4), normalized over the sense codons; or 61 free frequencies (F61).
Transition probabilities and the likelihood. Over a branch of length , by the matrix exponential, usually through the eigendecomposition of the symmetrized matrix. The likelihood of an alignment on a tree is the product over codons of the phylogenetic likelihood of each column, computed by Felsenstein's pruning with matrices.
A small example. With equal codon frequencies, and , the unscaled rates out of TTA (Leu) are: to CTA (Leu, transition, synonymous) ; to TTG (Leu, transition, synonymous) ; to ATA (Ile) and GTA (Val), transversions, each; to TCA (Ser, transition) ; to TTT and TTC (Phe), transversions, each; to TAA and TGA, stop codons, . All rates carry the common factor . The total rate is 7 times that factor, and of it is synonymous.
What it counts
- Substitutions per codon. The branch length is the expected number of substitutions per codon. Under the model, the expected numbers of synonymous and nonsynonymous substitutions on a branch are and , where and for the scaled matrix.
- Synonymous and nonsynonymous sites. The sites are defined from the same model with : the synonymous sites per codon are and the nonsynonymous sites are , where is at . With these sites, and are the substitutions of each kind per site of that kind.
- The likelihood of an alignment, as a function of , , the frequencies and the branch lengths.
Relation to other models
- Nucleotide models. The HKY model is the nucleotide model with transition bias and base frequencies; a codon model with and F1x4 frequencies is close to HKY applied to the three positions jointly, but it still forbids changes to stop codons. GTR rates can replace the single .
- Counting methods. The Nei-Gojobori method is the counting analogue with and equal weights for all pathways. A codon model replaces the pathway average by the full matrix exponential, which accounts for multiple changes in the same codon.
- Amino acid models. Grouping the 61 codons by amino acid gives a chain on 20 amino acids only approximately, because the process on codons is not lumpable in general.
- Variation of omega. Site models let vary among codons as a mixture of classes or a distribution, branch models let it vary among branches, and branch-site models do both. A likelihood ratio test of a model with a class with against one without tests for positive selection at some sites. Rate heterogeneity among codons in the overall rate is a related extension.
- Population genetics. For a site with scaled selection coefficient , is the ratio of the fixation rates of nonsynonymous and synonymous mutations; mutation-selection codon models make the codon frequencies and the rates depend on fitnesses of the codons.
Known results in the model
Reversibility. For the rates of the model of Goldman and Yang, , because depends only on the pair, through the type of change. So the chain is reversible with stationary distribution , is similar to a symmetric matrix, its eigenvalues are real, and the likelihood does not depend on the position of the root.
dN/dS equals omega. With sites defined at as above, exactly for every and .
Proof. Write the unscaled rates as the sum of a synonymous part with total flow and a nonsynonymous part , where and do not depend on . After scaling, the share of the synonymous flow is and that of the nonsynonymous flow is . The sites per codon are and . So and , and their ratio is .
Sites in the standard code. The 61 sense codons have single-base changes; of them lead to a stop codon and are synonymous. With equal frequencies and , the synonymous share at is , so there are synonymous sites per codon. The Nei-Gojobori method gives , because it counts changes to stop codons as nonsynonymous sites. With the synonymous sites rise to per codon, and with to , because many third-position transitions are synonymous.
Two sequences. With two sequences the tree has one branch, and the model gives estimates of , and for the pair by likelihood, and from them and . This is the likelihood counterpart of the counting methods.
Saturation. As , tends to the matrix with every row equal to , and the information about is lost; synonymous sites saturate first.
References
- Nick Goldman and Ziheng Yang, A codon-based model of nucleotide substitution for protein-coding DNA sequences, Molecular Biology and Evolution 11(5), 1994, pp. 725-736 (the Markov model on the 61 sense codons with codon frequencies, the transition to transversion ratio and a nonsynonymous rate factor, fitted by likelihood)
- Spencer V. Muse and Brandon S. Gaut, A likelihood approach for comparing synonymous and nonsynonymous nucleotide substitution rates, with application to the chloroplast genome, Molecular Biology and Evolution 11(5), 1994, pp. 715-724 (the codon model with nucleotide frequencies and separate synonymous and nonsynonymous rates)
- Ziheng Yang, Molecular Evolution, A Statistical Approach, Oxford University Press, 2014, Chapter 2 (codon substitution models, codon frequency models, and the definition of dN and dS under a codon model)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 0C36AP Edit this page History Report an error Markdown