Beginner's Guide on the Use of PAML to Detect Positive Selection
Open accessThe DOI matches its Crossref record; 15 of the 15 references it cites were found in a registry or an index.
Abstract
The CODEML program in the PAML package has been widely used to analyze protein-coding gene sequences to estimate the synonymous and nonsynonymous rates (dS and dN) and to detect positive Darwinian selection driving protein evolution. For users not familiar with molecular evolutionary analysis, the program is known to have a steep learning curve. Here, we provide a step-by-step protocol to illustrate the commonly used tests available in the program, including the branch models, the site models, and the branch-site models, which can be used to detect positive selection driving adaptive protein evolution affecting particular lineages of the species phylogeny, affecting a subset of amino acid residues in the protein, and affecting a subset of sites along prespecified lineages, respectively. A data set of the myxovirus (Mx) genes from ten mammal and two bird species is used as an example. We discuss a new feature in CODEML that allows users to perform positive selection tests for multiple genes for the same set of taxa, as is common in modern genome-sequencing projects. The PAML package is distributed at https://github.com/abacus-gene/paml under the GNU license, with support provided at its discussion site (https://groups.google.com/g/pamlsoftware). Data files used in this protocol are available at https://github.com/abacus-gene/paml-tutorial.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing
Benjamini, Y., & Hochberg, Y. (1995) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1995.tb02031.x · Cited by 109,482 · cited 1×
“One may also use procedures that control the false discovery rate (FDR), which is the expected proportion of true nulls among all rejected null hypotheses or the proportion of false positive results among all positive test results (Benjamini and Hochberg 1995, 2000).”
BackgroundRAxML version 8: a tool for phylogenetic analysis and post-analysis of large phylogenies
Stamatakis, A. (2014) · Bioinformatics · doi:10.1093/bioinformatics/btu033 · Cited by 32,291
IQ-TREE 2: New Models and Efficient Methods for Phylogenetic Inference in the Genomic Era
Minh, B. Q., Schmidt, H. A., Chernomor, O., Schrempf, D., Woodhams, M. D., von Haeseler, A., & Lanfear, R. (2020) · Molecular Biology and Evolution · doi:10.1093/molbev/msaa015 · Cited by 16,873 · cited 2×
“2019), IQ-TREE (Minh et al. 2020), and MrBayes (Ronquist et al.”
HyPhy: hypothesis testing using phylogenies
Pond, S. L. K., Frost, S. D. W., & Muse, S. V. (2005) · Bioinformatics · doi:10.1093/bioinformatics/bti079 · Cited by 2,866
Codon-substitution models for heterogeneous selection pressure at amino acid sites
Yang, Z., Nielsen, R., Goldman, N., & Pedersen, A.-M. K. (2000) · Genetics · doi:10.1093/genetics/155.1.431 · Cited by 2,286
Self-citationOn the adaptive control of the false discovery rate in multiple testing with independent statistics
Benjamini, Y., & Hochberg, Y. (2000) · Journal of Educational and Behavioral Statistics · doi:10.3102/10769986025001060 · Cited by 2,015
A codon-based model of nucleotide substitution for protein-coding DNA sequences.
(1994) · Molecular Biology and Evolution · doi:10.1093/oxfordjournals.molbev.a040153 · Cited by 1,960 · cited 2×
“The main feature of codon-substitution models, compared with models of nucleotide or amino acid substitution, is that the codon triplet is considered the unit of evolution (Goldman and Yang 1994).”
MethodSelf-citationDetecting Individual Sites Subject to Episodic Diversifying Selection
Murrell, B., Wertheim, J. O., Moola, S., Weighill, T., Scheffler, K., & Kosakovsky Pond, S. L. (2012) · PLoS Genetics · doi:10.1371/journal.pgen.1002764 · Cited by 1,811 · cited 18×
“To compare the nested site models, we use the LRT statistic, defined as twice the difference in log-likelihood be-tween the null and alternative hypotheses, 2 Δ ℓ = 2( ℓ 1 − ℓ 0 ), where ℓ 0 is the log-likelihood score for the null model, whereas ℓ 1 is the log-likelihood under the alternative model.”
MethodInfluentialZhang, J. (2005) · Molecular Biology and Evolution · doi:10.1093/molbev/msi237 · Cited by 1,785
Nielsen, R., & Yang, Z. (1998) · Genetics · doi:10.1093/genetics/148.3.929 · Cited by 1,622
Self-citation
Cited by
The role of metabolism in shaping enzyme structures over 400 million years
(2025) · doi:10.1038/s41586-025-09205-6 · Cited by 28
Detecting Interspecific Positive Selection Using Convolutional Neural Networks
West, C., Walker, C. R., Arasti, S., Vasilev, V., Xu, X., De Maio, N., & Goldman, N. (2025) · Molecular Biology and Evolution · doi:10.1093/molbev/msaf154 · Cited by 1
Detecting interspecific positive selection using convolutional neural networks
West, C., Walker, C. R., Arasti, S., Vasilev, V., Xu, X., De Maio, N., & Goldman, N. (2024) · doi:10.1101/2024.11.18.624117 · Cited by 1
Metadata
- Authors
- Álvarez-Carretero, S., Kapli, P., & Yang, Z.
- Venue
- Molecular Biology and Evolution
- Publisher
- Oxford University Press (OUP)
- Published
- 2023-04-01
- Volume
- 40
- Issue
- 4
- ISSN
- 0737-4038 (ISSN-L)
- 1537-1719
- OpenAlex
- W4366992709
- Cited by
- 208
- References
- 15
- FWCI
- 30.47
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.