- Introduced by
- James McDonald & Martin Kreitman
- Year
- 1991
- Type
- Hypothesis test
- Family
- Selection testing
What does it do?
The McDonald-Kreitman (MK) test is a statistical method for detecting adaptive evolution in protein-coding genes.
It compares the ratio of nonsynonymous to synonymous changes fixed between species with the same ratio for polymorphisms within a species. James McDonald and Martin Kreitman introduced it in 1991, and it is now widely used to identify genes that show signs of positive selection.
The intuition behind the method
DNA changes in protein-coding genes fall into two classes: synonymous changes, which do not alter the encoded amino acid and are usually treated as close to neutral, and nonsynonymous changes, which do alter the amino acid and can be affected by selection. Under neutrality, both classes should accumulate in the same proportions both within a species, as polymorphisms, and between species, as fixed differences. If some nonsynonymous changes are advantageous, selection can drive them to fixation, which adds nonsynonymous differences between species. Mildly deleterious nonsynonymous changes are removed by selection over time, but they persist for a while as rare polymorphisms within a population. The MK test therefore compares Dn/Ds with Pn/Ps. A higher ratio for fixed differences than for polymorphisms indicates an excess of nonsynonymous fixations, which is the pattern expected from positive selection.
History
McDonald and Kreitman (1991) introduced the test while studying the Adh locus in Drosophila, where they reported evidence for positive selection. The method was then taken up as a standard approach for detecting adaptive evolution at the molecular level, and its counts also underpin estimates of the proportion of adaptive nonsynonymous substitutions.
When to use it
Use the MK test when you have coding sequences from two species and polymorphism data from at least one of them, and want to test whether a gene shows an excess of nonsynonymous fixations. It is most informative for protein-coding genes where population sample data are available and where the two species are diverged enough for fixed differences to accumulate. Do not use it when synonymous sites are unlikely to be close to neutral, for example when codon usage bias or other non-neutral forces act on synonymous changes, because the test's reference class then no longer represents neutral evolution. It is also unsuitable when there is no polymorphism data, or when the sequences are pseudogenes or come from a genetic code that has not been accounted for.
Limitations and considerations
- Assumes that synonymous sites are effectively neutral and that demographic and mutational processes affect the two site classes similarly; violations of either can bias the comparison
- Limited power when few synonymous or nonsynonymous fixed differences are observed, which is typical for closely related species
- Cannot pinpoint which codons or sites within a gene are the targets of selection
- Sensitive to demographic history and population structure, which shape polymorphism counts and can distort Pn/Ps
- Codon usage bias and other non-selective forces acting on synonymous sites can change the reference ratio and affect the inference
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Simple to perform and interpret, requiring sequence alignment and a basic count of site classes
- Does not require a specific fitness landscape or explicit selection model, because it contrasts two classes of changes
- Uses synonymous sites within the same gene as an internal reference, so shared differences in mutation rate between the two classes partly cancel in the ratio
- With enough sites, even modest enrichment of nonsynonymous fixations can reach statistical significance
- Gives an estimate of the proportion of nonsynonymous substitutions that are adaptive, derived from the same counts under the test's assumptions
Applications
- Identifying genes under positive selection during human evolution by comparing humans and chimpanzees
- Detecting adaptive evolution in pathogen genes responsible for immune evasion or drug resistance
- Finding selected genes in domesticated crop species by comparing with wild relatives
- Identifying brain genes under accelerated evolution in primate lineages
- Detecting positive selection on reproductive proteins, which often show rapid divergence
How it works
How it works
Obtain DNA sequences of a protein-coding gene from two species, and sequence several individuals within at least one of them to record polymorphisms.
Align the sequences across species and individuals, identify start and stop codons, and classify each segregating site and fixed difference as synonymous or nonsynonymous.
Count synonymous polymorphisms (Ps), nonsynonymous polymorphisms (Pn), synonymous fixed differences (Ds), and nonsynonymous fixed differences (Dn) between the species.
Compute Dn/Ds and Pn/Ps, then compare them with a contingency table or Fisher's exact test to assess whether Dn/Ds is significantly higher than Pn/Ps.
If Dn/Ds is higher than Pn/Ps and the difference is significant, infer that nonsynonymous fixations are enriched, which is consistent with positive selection, and use the counts to estimate the proportion of nonsynonymous substitutions that are adaptive under the test's assumptions. This estimate is unstable when counts are small, and it can fall below zero when slightly deleterious polymorphisms inflate Pn. An elevated Dn/Ds alone does not establish positive selection, because relaxed constraint can produce the same pattern.
Common pitfalls
- Treating an elevated Dn/Ds as proof of adaptive evolution; relaxed selection on nonsynonymous sites can produce the same pattern
- Using species that are too closely related, where few substitutions have accumulated and noise dominates the fixed-difference counts
- Ignoring heterogeneity in selection across nonsynonymous sites; some may be neutral or deleterious, which dilutes the signal
- Applying the test to pseudogenes or to genes with a non-standard genetic code without adjusting the site classification
- Overlooking slightly deleterious nonsynonymous polymorphisms, which raise Pn and reduce the contrast between Dn/Ds and Pn/Ps, so that a real adaptive signal can be masked; in this respect the test is conservative
Frequently asked questions
What does it mean if Dn/Ds > Pn/Ps?
This pattern means nonsynonymous changes are overrepresented among fixed differences compared with polymorphisms. It is consistent with positive selection having fixed advantageous nonsynonymous mutations. Other explanations, such as relaxed selection against nonsynonymous changes, can produce the same pattern, so the result should be interpreted alongside the assumptions of the test. Conversely, if Dn/Ds < Pn/Ps, it suggests purifying selection is removing nonsynonymous changes.
Why are synonymous sites assumed to be neutral?
Synonymous changes do not alter the amino acid sequence, so they were traditionally assumed to be invisible to selection. However, synonymous sites can affect mRNA stability, translation efficiency, and codon usage, so they may experience weak selection. This assumption should be checked for the gene and organisms under study, because departures from it affect the test.
Can the MK test detect weak positive selection?
Yes, if sample sizes are large. The test compares ratios, so even modest enrichment of nonsynonymous substitutions can be significant when many sites are included. However, power decreases as effect sizes diminish, and very weak selection may be undetectable.
How are synonymous and nonsynonymous sites counted when codons overlap or have incomplete information?
Standard approaches count potential synonymous and nonsynonymous sites based on codon positions. For example, third codon positions are often silent (synonymous), while first and second positions are typically nonsynonymous. Detailed counting accounts for wobble base pairing and degenerate codon patterns.
Related methods
Sources
McDonald, J. H., & Kreitman, M. (1991). Adaptive protein evolution at the Adh locus in Drosophila. Nature, 351(6328), 652–654.
Open DOI referenceSmith, N. G., & Eyre-Walker, A. (2002). Estimating the proportion of sites subject to positive selection across a large dataset. Genetics, 160(3), 1079–1086.
Open publication referenceCharlesworth, B. (2010). The rate of adaptive evolution. Trends in Ecology & Evolution, 11(1), 22–26.
Open publication reference