In this repository, you will find tutorials that you can use to further your understanding in phylogenetics and the usage of PAML programs.
Before going through the tutorials available in this repository, please make sure that you have correctly installed PAML as detailed in the section below. In addition, please take your time to go through the PAML Wiki to familiarise yourself with the control files that you will need to use to run PAML programs as well as specific notation and format that you will need to consider when preparing your input files.
Note
One of the main problems users face is data formatting. To this end, please make sure that you go through the section Data formatting in the PAML Wiki before running PAML programs and format your input data files and control files accordingly.
Important
- Problems with input data, control files, error/warning messages output by the
PAMLprograms (which inform users about formatting issues in their input files or wrong settings in their control files), and general questions should be posted in thePAMLdiscussion group. Before posting a message, please use the search tool in thePAMLdiscussion group to check whether your question/s have already been asked by otherPAMLusers. You should also refer to the FAQs document. If you still cannot find an answer to your question/s, please post them in thePAMLdiscussion group. - Please, do not paste the screen output and the error/warning that you get without any reference when you are requesting help. Instead, make sure that you attach the input data and the control files you are using, explain how you ran
PAML, whichPAMLversion you are using, etc. In that way, your issue will be much easier and faster to troubleshoot. You can find more information about how to report your warning/error message on this website. - Please, only raise an issue on the
PAMLGitHub repository when you experience technical problems such as compiling issues, programs aborting or not running at all, etc.
ANSI C source codes and executable files are distributed for UNIX, Linux, and Mac OS X (see the latest stable release available on the PAML GitHub repository). To download and install PAML software, please follow the next links included in the PAML wiki:
- Downloading and installing
PAML
We have created a PAML Wiki where the contents of the PAML documentation in PDF format have been migrated. We are continuously working and improving this Wiki to make the documentation more interactive and easy to follow!
At the time of writing, you can access the following sections, which are also detailed in the PAML Wiki home section:
- Overview
- Data formatting
- Substitution models
PAMLprograms
If you use PAML, please cite the following:
- Yang, Z (1997). PAML: a program package for phylogenetic analysis by maximum likelihood. Comput. Appl. Biosci. 13, 555-556.
- Yang, Z (2007). PAML 4: Phylogenetic Analysis by Maximum Likelihood. Mol. Biol. Evol. 24, 1586-1591.
If you use the PAML program MCMCtree, please cite the following papers if you have used/run...
- ... the approximate likelihood calculation to speed up analyses with phylogenomic datasets (calculating branch lengths, Hessian, and gradient):
- ... Bayesian model selection analyses:
- ... the models for continuous morphological characters implemented in
MCMCtree: - ... the protocol Bayesian Molecular Clock Dating Using Genome-Scale Datasets:
- dos Reis M and Yang, Z (2019). Bayesian Molecular Clock Dating Using Genome-Scale Datasets. In: Anisimova, M. (eds) Evolutionary Genomics. Methods in Molecular Biology, vol 1910. Humana, New York, NY. You can also access this chapter and the code used throughout the protocol on the
divtimeGitHub repository maintained by Mario dos Reis.
- dos Reis M and Yang, Z (2019). Bayesian Molecular Clock Dating Using Genome-Scale Datasets. In: Anisimova, M. (eds) Evolutionary Genomics. Methods in Molecular Biology, vol 1910. Humana, New York, NY. You can also access this chapter and the code used throughout the protocol on the
- ... the protocol Environmental Microbial Evolution: Methods and Protocols:
- ... the Bayesian sequential-subtree (BSS) approach and/or the scripts to fit skew-t distributions to fossil calibrations:
If you use the PAML program CODEML, please cite the following papers if you have used/run...
- ... the protocol A Beginners guide to estimating the non-synonymous to synonymous rate ratio of all protein-coding genes in a genome:
- ... the protocol Beginner's guide on the use of PAML to detect positive selection and/or the corresponding GitHub tutorial on the
positive-selectionrepository:- Álvarez-Carretero S, Kapli P, Yang Z (2023). Beginner's guide on the use of PAML to detect positive selection, Mol Biol Evol, 40(4):msad041.. Remember to read the supplementary material where we discuss (i) analyses and checks you should carry out before running tests of positive selection with CODEML, (ii) gene tree VS species tree, and (iii) the usage of rooted and unrooted trees.