A Summary of Phylogenetic Analysis

TL;DR

This article summarizes information and tools related to each step of phylogenetic analysis: Alignment, Trimming, Model Selection, and Tree Construction.

There is an excellent Japanese-language review that is very well organized, so I recommend reading it as well.

Frontiers of Molecular Phylogenetic Analysis

Alignment

This step involves computing a Multiple Sequence Alignment (MSA) for the sequences of interest.

Benchmarks for various tools are available in Mohamed et al., 2018. The datasets used are BALIBASE, with SPscore and TCscore as scoring metrics.

The general conclusions can be summarized as follows. Refer to the paper for detailed scores.

Tool NameMethodSeq typeAccuracyTime
CLUSTAL-OMEGAglobal/ ProgressiveProtein, DNA, RNALess accuracyLess time
MAFFTglobal/ IterativeProtein, DNA, RNAHigh alignment qualityHigher than KALIGN
KALIGNProgressiveProtein, DNA, RNALess accuracy as compared with PROBCONS and MAFFTLowest
MUSCLEProgressive Step1 and Step2 iterative Step 3ProteinMore accurate than CLUSTAL-OMEGALess time with a minimum number of iteration
RETALINGProgressive Cornercutting Multiple Sequence AlignmentProteinMore accurate than CLUSTAL-OMEGAHigher than KALIGN
PROBCONSProbabilistic Consistency-based Multiple Alignment of Amino Acid SequencesProteinThe highest alignment accuracyHighest

Modified from Mohamed et al., 2018 Table 1 and Table 5

My takeaways from reading the paper are as follows. Since MUSCLE and MAFFT are the tools most commonly seen in publications, none of these findings are groundbreaking, but they are worth considering when alignments are not working well.

  • PROBCONS is highly accurate for protein alignment, but slow.
  • For DNA/RNA alignment, MAFFT is the way to go.
  • KALIGN is fast and achieves accuracy close to MAFFT.

Many of these tools have a long history, with some dating back to the 1990s and still in active use. Be aware that when building from source with make, they may assume older compilers like g++ (4.3).

m-coffee

After computing MSAs with the tools listed above, m-coffee creates an improved MSA by taking their consensus. It is used in the PhylomeDB pipeline. When I tried it out, it even distributes binaries for the tools mentioned above, which is very convenient.

Trimming

This step removes subsequences with low homology.

Software List

  1. ClipKIT Steenwyk et al., 2020
  2. BMGE Criscuolo A et al., 2010
  3. Gblocks Talavera G et al., 2007
  4. Noisy Dress AW et al., 2008
  5. trimAl Capella-Gutierrez S et al., 2009
  6. Aliscore Kuck et al., 2010
  7. Zorro Wu et al., 2012
  8. Guidance Penn et al., 2010

According to the ClipKIT paper, ClipKIT performs the best among tools 1-5 (which is expected, given it is their own paper). However, as also mentioned in the ClipKIT paper, Ge Tan et al., 2015 reports that trimming can actually worsen results on real datasets, and the factors contributing to this are not yet well understood.

Therefore, the option of not trimming should also be considered.

Model Selection

This step involves selecting an evolutionary model. It is required when using maximum likelihood or Bayesian methods.

There is an argument that simply choosing the parameter-rich GTR + I + G model is sufficient. However, appropriate model selection can yield better branch-length estimates than GTR + I + G (Shiran Abadi et al., 2019). Since this step is not time-consuming, it is generally worth doing.

Software List

modeltest-ng performs model selection using the traditional LRT (Likelihood Ratio Test). In contrast, modelteller uses Random Forest for selection. modelteller focuses on optimizing branch-length estimation.

The modelteller website does not use HTTPS (which is why I have not linked it here), but it reportedly offers a web-based interface as well.

Tree Construction

While distance matrix methods and maximum parsimony methods exist, maximum likelihood and Bayesian methods are generally recommended. Since maximum likelihood and Bayesian methods can sometimes produce different results, comparison may be necessary. The most widely used tools are probably iqtree, raxml, and mrbayes. For special cases, when evolutionary distances are very large, the Graph Splitting method (gs2) can be used, and when domain shuffling has occurred, constructing a phylogenetic network using SplitsTree is recommended.

Software List

Maximum Likelihood

Bayesian Methods

A tutorial on implementing Bayesian methods can also be a useful reference.

Evolutionary Models

On the maximum likelihood side, model selection tools generally output models in the format expected by the tree-building software, so there is usually little difficulty. However, when using MrBayes, the format is quite different, so caution is needed. See the Manual for details. MrBayes supports a somewhat smaller set of evolutionary models, but according to the manual, using lset nst=mixed to let MCMC sampling determine the model is the more Bayesian approach.

Visualization

The tools I personally use most often are the following two, and they have covered most of my needs. iTOL becomes more comfortable to use with a paid subscription.

For programmatic visualization, ETE3 (Python) and ggtree (R) are strong options.

Create an issue on GitHub about this article

Read Next