Phylogenetic Tree Maker: Methods, Tools, and Best Practices

By Dr. Zubair Khalid, DVM, MS, PhD ·

Phylogenetic Tree Maker: Methods, Tools, and Best Practices

Introduction to Phylogenetic Tree Makers

What is a Phylogenetic Tree Maker?

A phylogenetic tree maker is any computational tool—software package, web server, or scripted pipeline—that reconstructs the evolutionary relationships among a set of biological sequences, organisms, or genes. The output is a bifurcating or multifurcating tree structure in which terminal nodes (leaves) represent the input taxa, internal nodes represent inferred ancestral sequences, and branch lengths typically reflect the amount of evolutionary change along each lineage.

The term "tree maker" encompasses a broad spectrum of implementations, from GUI-driven applications like MEGA that guide a novice through every click, to high-performance command-line programs like IQ-TREE or RAxML that can analyze genome-scale datasets with thousands of taxa. Regardless of the interface, all phylogenetic tree makers share a common conceptual pipeline: they take aligned sequences, apply an explicit or implicit model of sequence evolution, and search for the tree topology and branch lengths that best explain the observed data under that model.

The biological rationale for this enterprise rests on the central premise that heritable sequence similarity reflects shared ancestry. When two homologous sequences differ, the differences accumulated through mutation, drift, and selection since their divergence from a common ancestor. By quantifying these differences and modeling the substitution process, we can estimate the order and timing of divergence events. This logic extends from the Phylogenetic Tree of Life at the macroevolutionary scale down to the relationships among recently duplicated gene family members, where distinguishing Paralog and Ortholog relationships requires precisely the kind of gene-level phylogenies that tree makers produce.

The Phylogenetic Inference Workflow

A standard phylogenetic analysis proceeds through five discrete stages:

  1. Data acquisition: Collect homologous sequences from public databases (GenBank, UniProt, Ensembl) or your own sequencing efforts. For protein-coding genes, you must decide whether to analyze nucleotide or amino acid sequences; for non-coding loci, the choice is typically nucleotide.
  1. Multiple sequence alignment: Align the sequences so that homologous positions correspond. This step is the single most consequential decision in the entire workflow—garbage alignment in, garbage tree out.
  1. Model selection: Determine which substitution model best fits your data. This involves comparing models of varying complexity using statistical criteria such as the Akaike Information Criterion (AIC) or Bayesian Information Criterion (BIC).
  1. Tree inference: Apply a tree-building algorithm—distance, parsimony, maximum likelihood, or Bayesian inference—to search for the optimal tree under your chosen model.
  1. Support assessment: Evaluate the statistical confidence of each clade in the inferred tree using bootstrap resampling, approximate likelihood ratio tests, or Bayesian posterior probabilities.

Each stage carries its own methodological pitfalls, and the choices made at one stage propagate downstream. A poor alignment cannot be rescued by a sophisticated model; an inappropriate model can produce a confidently supported but incorrect topology. The remainder of this article dissects each stage in mechanistic detail.

Input Data Preparation: Sequence Alignment

Choosing the Right Alignment Program

Multiple sequence alignment (MSA) is the computational problem of arranging homologous sequences to maximize positional correspondence. The dynamic programming algorithm that guarantees an optimal alignment for two sequences (Needleman-Wunsch for global alignment) becomes computationally intractable for more than a handful of sequences, because the search space grows exponentially with sequence number. Consequently, practical MSA tools use heuristic strategies.

The dominant paradigm is progressive alignment, implemented in Clustal Omega and the original ClustalW. Progressive alignment works by:

  1. Computing all pairwise distances between sequences (typically using a fast k-mer-based method).
  2. Building a guide tree from these distances using neighbor-joining.
  3. Aligning sequences in order of increasing divergence, starting with the most closely related pair and successively adding more distant sequences, using profile-profile alignment at each step.

The critical weakness of progressive alignment is that once a gap is introduced at an early step, it is never revisited. Errors propagate: an early misalignment between two closely related sequences becomes frozen into the final alignment, and all subsequently added sequences are forced to accommodate it.

Iterative refinement methods, implemented in MAFFT and MUSCLE, address this limitation. These programs build an initial progressive alignment and then repeatedly split the alignment into two sub-alignments, realign the sub-alignments to each other, and evaluate whether the new alignment improves the objective score. This cycle repeats until convergence or a maximum iteration count is reached. MAFFT's L-INS-i strategy, which uses a consistency-based objective function that considers how each sequence aligns to all others simultaneously, is generally regarded as the most accurate option for datasets with fewer than ~200 sequences of moderate length. For larger datasets, MAFFT's FFT-NS-2 or MUSCLE's default settings provide a favorable speed-accuracy tradeoff.

For nucleotide alignments of protein-coding genes, a further refinement is available: codon-aware alignment. Tools like MACSE and PRANK align codons as units, preventing frameshifting gaps that would otherwise disrupt the reading frame. This is essential when the downstream analysis will estimate dN/dS ratios or detect Positive and Negative Selection, because a misaligned codon destroys the signal.

Handling Gaps and Divergent Sequences

Gaps in an alignment represent insertion/deletion (indel) events. Standard practice is to treat gaps as missing data during tree inference, but the placement of gaps themselves carries phylogenetic information that is discarded by this approach. For most analyses, treating gaps as missing data is acceptable, but two situations warrant special attention.

First, divergent sequences with <30% identity across the full length may align unreliably. In such cases, consider analyzing only conserved regions. Programs like Gblocks identify and extract alignment columns that are confidently aligned, excluding ambiguous regions. However, be aware that aggressive trimming can remove informative sites; a balance must be struck between alignment confidence and phylogenetic signal.

Second, length-variable regions such as the complementarity-determining regions of immunoglobulins or the loop regions of ribosomal RNA create alignment ambiguity. The standard solution is to use a program with good gap handling (MAFFT with the E-INS-i strategy for sequences with large internal gaps) and then manually inspect the alignment in a viewer like Jalview or AliView. For large datasets, manual curation is impractical, and automated trimming with trimAl (using the automated1 heuristic) is a reasonable substitute.

A practical recommendation: always align nucleotide sequences as codons if they are protein-coding, always inspect the alignment visually before proceeding, and always report the alignment parameters (program, version, and strategy) in your methods section.

Evolutionary Models and Substitution Matrices

Nucleotide vs. Amino Acid Models

A substitution model specifies the relative rates at which one character state changes to another. For nucleotide sequences, the simplest model is Jukes-Cantor (JC69), which assumes equal base frequencies and equal substitution rates among all four nucleotides. This model has a single parameter, the overall substitution rate, and is almost never adequate for real data.

The General Time Reversible (GTR) model is the most parameter-rich nucleotide model commonly used. It has four base frequency parameters (πA, πC, πG, πT, summing to 1) and six rate parameters (one for each pair of nucleotides, with the assumption of reversibility: rate A→C equals rate C→A, etc.). Intermediate models—K80, HKY85, TN93—impose constraints on the GTR parameters, such as equal transversion rates or equal transition rates. The choice among these models is a bias-variance tradeoff: overly simple models ignore real biological processes, while overly complex models may overfit and reduce the precision of branch length estimates.

For amino acid sequences, the situation is more complex because there are 20 character states, yielding 190 possible pairwise exchangeabilities. Empirical amino acid substitution matrices—WAG, LG, JTT, and others—pre-estimate these exchangeabilities from large databases of aligned protein families. The LG matrix (Le and Gascuel 2008) is currently the default choice for most analyses because it was estimated from a larger and more diverse dataset than its predecessors. The WAG matrix remains popular for mitochondrial proteins. Some models, such as the empirical codon model and the generalist codon model, operate at the codon level, explicitly modeling the fact that synonymous substitutions are more frequent than non-synonymous ones.

Model Testing with jModelTest or ProtTest

Model selection is not an exercise in picking your favorite model; it is a statistical procedure. The standard approach is to compute the likelihood of the data under each candidate model on a fixed tree (usually a neighbor-joining tree) and compare the models using an information criterion.

The Akaike Information Criterion is computed as AIC = 2k − 2lnL, where k is the number of model parameters and lnL is the maximized log-likelihood. The model with the lowest AIC is preferred. The Bayesian Information Criterion is BIC = k·ln(n) − 2lnL, where n is the number of sites in the alignment. BIC penalizes additional parameters more heavily than AIC, especially for large alignments, and tends to select simpler models.

Software tools automate this process: jModelTest2 for nucleotide data and ProtTest3 for amino acid data. Both programs evaluate up to 56 nucleotide models or 112 protein models, respectively, and report the best-fitting model under AIC, BIC, and likelihood ratio tests. In practice, the selected model is almost always GTR + I + Γ for nucleotides (where I is the proportion of invariable sites and Γ is the gamma-distributed rate heterogeneity) or LG + I + Γ for proteins. The gamma distribution, with its shape parameter α, models the variation in substitution rates across sites: a small α (e.g., 0.2) indicates extreme rate heterogeneity, while a large α (e.g., 2.0) approaches equal rates across sites.

A common mistake is to conflate the invariable sites parameter with the gamma distribution. The I parameter assumes a fraction of sites that never change, while Γ assumes that all sites can change but at different rates. Models with both parameters (GTR+I+Γ) are often selected by AIC, but some statisticians argue that the I parameter is redundant when Γ is present, because the gamma distribution already accommodates very slow sites. In practice, the difference in tree topology between GTR+Γ and GTR+I+Γ is usually negligible.

Tree Inference Methods: Distance, Parsimony, and Likelihood

Neighbor-Joining and UPGMA

Distance-based methods reduce the alignment to a matrix of pairwise evolutionary distances and then construct a tree from that matrix. The simplest is UPGMA (Unweighted Pair Group Method with Arithmetic Mean), which assumes a molecular clock—that is, equal evolutionary rates across all lineages. UPGMA builds a tree by successively clustering the two closest taxa and averaging their distances to all others. Because the molecular clock assumption is rarely met, UPGMA trees are frequently wrong, and the method is now used mainly for exploratory analysis or for constructing guide trees for alignment.

Neighbor-Joining (NJ) relaxes the molecular clock assumption. NJ starts with a star tree and iteratively pairs taxa (neighbors) that minimize the total branch length of the tree, using a criterion that accounts for the average distance of each taxon to all others. NJ is fast—O(n³) for n taxa—and produces an unrooted tree. Its main limitation is that it produces a single tree with no measure of confidence, and it is sensitive to the accuracy of the distance estimates. For closely related sequences with high similarity, NJ performs well; for divergent sequences with substantial rate heterogeneity, it can be misled by long-branch attraction.

Distance methods are now rarely used as the final inference method in publishable analyses, but they remain valuable for rapid exploratory analysis and for generating starting trees for more sophisticated likelihood searches.

Maximum Parsimony: When to Use It

Maximum parsimony (MP) seeks the tree that minimizes the total number of character state changes required to explain the observed data. For each site in the alignment, parsimony counts the minimum number of substitutions needed on a given tree using the Fitch algorithm, which assigns ancestral states to internal nodes in a way that minimizes changes. The parsimony score of a tree is the sum over all sites.

MP makes no explicit model of sequence evolution. It implicitly assumes that changes are rare and that shared derived characters (synapomorphies) are more informative than shared ancestral characters (symplesiomorphies). This assumption fails when substitution rates are high or when rates vary substantially across lineages, because parallel and reverse substitutions become common and are misinterpreted as shared ancestry—the phenomenon of long-branch attraction.

MP is still useful in two contexts. First, for morphological data, where explicit models of character evolution are difficult to formulate, MP remains the standard. Second, for very small datasets of closely related sequences with low divergence, MP can perform as well as likelihood methods. For most molecular datasets, however, MP is statistically inconsistent: as more data are added, it converges to the wrong tree when rates vary across lineages. It should not be the primary method for a serious molecular phylogenetic analysis.

Maximum Likelihood: Statistical Framework

Maximum likelihood (ML) is the gold standard for phylogenetic inference. The likelihood of a tree is the probability of observing the aligned sequences given the tree topology, branch lengths, and substitution model. The ML principle is to find the tree and model parameters that maximize this probability.

Computing the likelihood for a given tree requires the pruning algorithm of Felsenstein, which calculates the probability of the data at each site by integrating over all possible ancestral states at internal nodes. This is done efficiently using dynamic programming: starting at the tips, the algorithm computes conditional likelihoods for each internal node, working toward the root. The total likelihood is the product over all sites.

The computational challenge is that the number of possible tree topologies grows super-exponentially with the number of taxa (for 10 taxa, there are ~2 million unrooted trees; for 50 taxa, ~3×10⁷⁴). Exhaustive search is impossible beyond ~12 taxa. Heuristic search strategies are therefore required:

  1. Stepwise addition: Build an initial tree by adding taxa one at a time in the position that maximizes the likelihood.
  2. Nearest-neighbor interchange (NNI): Swap adjacent branches to explore neighboring topologies.
  3. Subtree pruning and regrafting (SPR): Cut a subtree and reattach it elsewhere on the tree.
  4. Tree bisection and reconnection (TBR): Split the tree into two parts and reconnect them by any pair of branches.

Modern ML programs like IQ-TREE and RAxML combine these moves with sophisticated search algorithms. IQ-TREE, for instance, uses an initial tree built by a fast distance method, then applies NNI and SPR moves, with a stochastic perturbation step to escape local optima. The search typically converges on a tree within a few hours for datasets of hundreds of taxa and thousands of sites.

Bayesian Inference and MCMC Sampling

Understanding Priors and Posteriors

Bayesian phylogenetic inference treats the tree and model parameters as random variables with a posterior distribution—the probability of a tree given the data. By Bayes' theorem:

P(Tree | Data) = P(Data | Tree) × P(Tree) / P(Data)

The term P(Tree) is the prior, representing our belief about the tree before seeing the data. In most analyses, a flat prior is used over tree topologies (all topologies equally probable) and a diffuse prior over branch lengths (e.g., an exponential distribution with mean 0.1 substitutions per site). The prior on substitution model parameters is typically uniform over a reasonable range.

The posterior distribution cannot be computed analytically, so it is approximated by Markov Chain Monte Carlo (MCMC) sampling. The algorithm works as follows:

  1. Start with an initial tree and parameter values.
  2. Propose a modification to the current state (e.g., change a branch length, swap a subtree, or update a rate parameter).
  3. Compute the acceptance probability of the proposal using the Metropolis-Hastings ratio, which compares the likelihood of the proposed state to the current state, adjusted for the prior and the proposal probability.
  4. Accept the proposal with that probability; otherwise, stay at the current state.
  5. Record the current state at regular intervals.

Over time, the chain converges to the stationary distribution, which is the posterior distribution. The frequency with which a particular tree or clade appears in the sampled states is an estimate of its posterior probability.

Assessing Convergence with Tracer

The critical practical issue with MCMC is ensuring that the chain has converged—that it is sampling from the true posterior rather than a local mode. Several diagnostics are standard:

  • Effective Sample Size (ESS): The number of independent samples equivalent to the correlated samples in your chain. An ESS above 200 for all parameters is the conventional threshold for reliable estimation.
  • Trace plots: Visual inspection of the parameter values over the course of the run. A well-mixed chain shows a "hairy caterpillar" pattern with no trends or long plateaus.
  • Multiple runs: Run two independent chains (or more) and compare their posterior distributions. The average standard deviation of split frequencies (ASDSF) between runs should approach zero; values below 0.01 indicate good convergence.

The program Tracer provides all of these diagnostics in a GUI. It reads the log files produced by MrBayes or BEAST and displays trace plots, ESS values, and posterior density estimates. A common mistake is to set the number of generations too low. For a dataset of 50 taxa and 1,000 sites, 10 million generations with sampling every 1,000 generations is a reasonable starting point; larger datasets require more.

The burn-in period—the initial portion of the chain before convergence—must be discarded. A typical burn-in is 25% of the run, but this should be confirmed by examining when the trace stabilizes.

Popular Phylogenetic Tree Maker Software

SoftwareMethodInterfaceKey StrengthBest For
MEGAML, MP, NJGUIEase of use, integrated alignment and model selectionBeginners, teaching, small datasets
IQ-TREEMLCommand lineSpeed, model selection (ModelFinder), ultrafast bootstrapLarge datasets, high-performance ML
RAxMLMLCommand lineScalability to thousands of taxaGenome-scale phylogenomics
PhyMLMLCommand line/GUIFast heuristic searches, aLRT supportMedium datasets
MrBayesBayesianCommand lineFlexible models, posterior probabilitiesBayesian inference, hypothesis testing
BEAST2BayesianCommand line/XMLTime-calibrated trees, coalescent modelsMolecular dating, phylodynamics

MEGA for Beginners

MEGA (Molecular Evolutionary Genetics Analysis) is the most accessible entry point. Its GUI guides users through alignment (using MUSCLE or ClustalW internally), model selection (with a built-in model test), and tree inference (ML, MP, or NJ). MEGA's strengths are its integrated workflow and its ability to produce publication-quality tree figures with minimal effort. Its limitations are speed (it cannot handle genome-scale datasets) and the relative opacity of its model selection procedure. For a first phylogenetic analysis, MEGA is the recommended starting point.

IQ-TREE for High-Performance Likelihood

IQ-TREE has become the default ML program for many phylogenomic studies. Its key innovations include:

  • ModelFinder: An integrated model selection tool that tests up to 506 substitution models, including mixture models and codon models, using AIC, BIC, or the corrected Akaike Information Criterion (AICc).
  • Ultrafast bootstrap (UFBoot): A computationally efficient approximation of the standard bootstrap that is 10–100 times faster while providing comparable accuracy. UFBoot uses a resampling strategy that accounts for the fact that the tree search is heuristic.
  • Tree search: An efficient combination of NNI and SPR moves with a stochastic perturbation step, making it competitive with RAxML in speed and often superior in likelihood score.

A typical IQ-TREE command for a nucleotide alignment is:

__MASK_1__

The __MASK_2 flag tells IQ-TREE to select the best model using ModelFinder; MASK_3 performs 1,000 ultrafast bootstrap replicates; MASK_4__ computes the approximate likelihood ratio test (SH-aLRT) with 1,000 replicates.

BEAST for Time-Calibrated Trees

BEAST2 (Bayesian Evolutionary Analysis by Sampling Trees) is the standard tool for inferring time-calibrated phylogenies. It implements a relaxed molecular clock model, allowing substitution rates to vary across lineages according to a specified distribution (e.g., uncorrelated lognormal or exponential). BEAST2 requires a prior on node ages, which can be specified as calibration points from the fossil record or from known divergence times.

BEAST2 operates through an XML configuration file, which can be generated using the BEAUti GUI. The analysis produces a posterior distribution of trees, from which a maximum clade credibility (MCC) tree is computed—the tree with the highest product of posterior clade probabilities. The MCC tree includes node heights (times) with confidence intervals.

BEAST2 is also the platform for phylodynamic analyses, such as estimating population size changes over time from viral sequences, and for testing hypotheses about __MASK_8__ timing using species-tree/gene-tree reconciliation.

Assessing Tree Support: Bootstrapping and Bayesian Posterior Probabilities

Bootstrap Replicates and Their Interpretation

The nonparametric bootstrap is the most widely used method for assessing clade support in ML and distance analyses. The procedure is:

  1. Resample the alignment columns with replacement to create a new alignment of the same length as the original.
  2. Infer a tree from the resampled alignment using the same method and model as the original analysis.
  3. Repeat steps 1–2 many times (typically 100–1,000).
  4. For each clade in the original tree, record the proportion of bootstrap trees that contain that clade.

A bootstrap support value of 95% means that the clade appeared in 95% of the resampled datasets. The interpretation is not a probability that the clade is correct; it is a measure of the robustness of the result to sampling variation in the alignment. Values above 70% are generally considered moderate support, above 90% strong support, and above 95% very strong support.

The standard bootstrap is computationally expensive because it requires a full tree search for each replicate. The ultrafast bootstrap (UFBoot) in IQ-TREE reduces this cost by using a more efficient resampling strategy and by limiting the tree search to NNI moves around the original tree. UFBoot values are generally comparable to standard bootstrap values, though they tend to be slightly higher for well-supported clades.

Posterior Probability vs. Bootstrap Support

Bayesian posterior probabilities (PP) and bootstrap support values are often conflated, but they measure different quantities. A posterior probability of 0.95 means that, under the model and priors, there is a 95% probability that the clade is correct. This is a direct probability statement, whereas bootstrap support is a resampling-based measure.

In practice, PP values tend to be higher than bootstrap values for the same clade. This discrepancy arises because the Bayesian analysis integrates over model parameters (branch lengths, substitution rates) rather than conditioning on point estimates, and because the prior can inflate support when the data are ambiguous. A clade with PP = 0.95 might have bootstrap support of only 60%. The converse—high bootstrap with low PP—is rare.

The practical recommendation is to report both measures when using Bayesian methods, and to interpret PP > 0.95 as strong support and bootstrap > 90% as strong support. When the two measures disagree substantially, treat the clade with caution and investigate whether the result is driven by a few influential sites or by model misspecification.

Common Pitfalls and Practical Recommendations

Long-Branch Attraction and How to Avoid It

Long-branch attraction (LBA) is the most notorious artifact in phylogenetic inference. It occurs when two lineages with high substitution rates (long branches) are incorrectly grouped together, regardless of their true relationship, because the model interprets their convergent changes as shared derived characters. LBA is most severe for parsimony and distance methods, but it can affect ML and Bayesian analyses when the model is misspecified.

The classic example is the placement of microsporidia (highly divergent parasites) as the earliest branching eukaryotes, an artifact that was corrected when more slowly evolving genes were analyzed. LBA is diagnosed by:

  • The presence of long branches in the tree that group together with high support.
  • A result that changes when fast-evolving sites are removed or when a more complex model is used.

Strategies to mitigate LBA include:

  1. Add more taxa to break up long branches. The addition of intermediate lineages reduces the distance between the long branch and the rest of the tree.
  2. Remove fast-evolving sites using a site-rate filter or by analyzing only conserved regions.
  3. Use a more realistic model, such as a codon model or a model with a gamma distribution of rates, which better accommodates rate heterogeneity.
  4. Use Bayesian inference with a model that allows for site-specific rates, as this is less prone to LBA than parsimony.

Data Partitioning and Model Selection

For multi-gene datasets or protein-coding genes with different codon positions, the assumption that all sites evolve under the same model is untenable. Data partitioning divides the alignment into subsets (partitions), each with its own model parameters. For example, a protein-coding gene can be partitioned into first, second, and third codon positions, or into stem and loop regions of an RNA gene.

The choice of partitioning scheme is itself a model selection problem. The greedy partitioning algorithm in IQ-TREE (implemented in PartitionFinder) starts with all sites in one partition and iteratively splits partitions when the improvement in model fit justifies the additional parameters. The BIC is the recommended criterion for comparing partitioning schemes.

Over-partitioning is a real risk: each additional partition adds parameters, and with too many partitions, the analysis becomes computationally expensive and may overfit. A reasonable rule of thumb is to use no more than one partition per gene per codon position, and to merge partitions when their estimated model parameters are similar.

Reporting and Visualizing Trees

A phylogenetic tree is only as useful as its presentation. The standard output formats are Newick (a simple parenthetical text format) and NEXUS (which can include additional data blocks for character matrices and assumptions). Most programs can export both.

For visualization, FigTree is the standard tool for viewing and annotating trees, with options for coloring clades, displaying support values, and adjusting branch lengths. iTOL (Interactive Tree of Life) is a web-based tool that produces publication-quality figures with extensive annotation options, including heatmaps, bar charts, and custom labels. ggtree in R provides programmatic control over tree visualization and is ideal for reproducible analyses.

When reporting a tree in a publication, include:

  • The alignment source and length.
  • The substitution model and how it was selected.
  • The tree inference method and search parameters.
  • The support measure (bootstrap, PP, or aLRT) and the number of replicates.
  • The rooting method (outgroup, midpoint, or molecular clock).
  • The software versions.

Frequently Asked Questions

What is the best phylogenetic tree maker for beginners?

MEGA is the best starting point. It provides a graphical interface that integrates alignment, model selection, and tree inference, and it produces publication-quality figures. Once you are comfortable with the workflow, transition to IQ-TREE for more rigorous analyses, as it offers superior model selection and faster searches.

How do I choose between maximum likelihood and Bayesian methods?

Use maximum likelihood (IQ-TREE or RAxML) when you need a single best tree with bootstrap support and when computational speed is a priority. Use Bayesian inference (MrBayes or BEAST2) when you want to integrate over model uncertainty, when you need time-calibrated trees, or when you want posterior probabilities as a direct measure of clade support. In practice, well-supported clades will be identified by both methods; disagreements warrant investigation.

What is the first step in building a phylogenetic tree?

The first step is multiple sequence alignment. Without a reliable alignment, no downstream analysis is meaningful. Choose an appropriate alignment program (MAFFT for most datasets, MACSE for codon-aware alignment), inspect the alignment visually, and trim ambiguous regions if necessary.

Why do different tree-making programs give different trees?

Differences arise from three sources: (1) different substitution models, (2) different heuristic search strategies that may settle on different local optima, and (3) different treatments of gaps and ambiguous characters. If two programs give substantially different trees, investigate whether the difference is driven by model choice, alignment, or a few influential taxa.

What is bootstrap support in phylogenetic trees?

Bootstrap support is the proportion of resampled datasets (bootstrap replicates) in which a particular clade appears in the inferred tree. It measures the robustness of the result to sampling variation in the alignment, not the probability that the clade is correct. Values above 90% are generally considered strong support.

Can I build a phylogenetic tree from protein sequences?

Yes. Protein sequences are often preferred for deep evolutionary relationships because amino acid substitutions are less saturated than nucleotide substitutions over long timescales. Use an empirical amino acid substitution matrix such as LG or WAG, and consider analyzing the corresponding nucleotide alignment as codons if you need to distinguish Paralog and Ortholog relationships or detect Positive Selection Pressure.

How do I root a phylogenetic tree?

The most reliable method is outgroup rooting: include one or more taxa that are known to be outside the group of interest (the ingroup) based on prior knowledge. The root is placed on the branch connecting the outgroup to the ingroup. If no outgroup is available, midpoint rooting places the root at the midpoint of the longest path between two tips, which assumes a rough molecular clock. For Bayesian analyses, the root can be estimated as part of the MCMC sampling if a relaxed clock model is used.

Key Takeaways

  • Multiple sequence alignment is the most consequential step in phylogenetic inference; invest time in choosing the right alignment program and inspecting the result.
  • Model selection matters: use jModelTest2 or ProtTest3 (or ModelFinder in IQ-TREE) and report the chosen model with its parameters.
  • Maximum likelihood and Bayesian inference are the preferred methods; distance and parsimony methods are useful for exploration but are statistically inconsistent under realistic conditions.
  • Bootstrap support and posterior probabilities measure different quantities; report both when using Bayesian methods and interpret them with appropriate caution.
  • Long-branch attraction is a pervasive artifact; mitigate it by adding taxa, removing fast-evolving sites, and using realistic models.
  • Partition multi-gene datasets and select the partitioning scheme using information criteria, not intuition.
  • Always report software versions, model parameters, and support measures to ensure reproducibility.

Related Clinical & Scientific Guides