---
title: "Models of Sequence Evolution and Maximum Likelihood Trees"
description: "Estimating a tree by likelihood needs an explicit model of how sites change: a rate matrix, an account of rate variation across sites, and a way to compare candidate models. This stop connects the mod"
canonical: https://lightmysky.com/learn/science/models-of-sequence-evolution-and-maximum-likelihood-trees-mt_Ujtg0xul9N
source: https://lightmysky.com/learn/science/models-of-sequence-evolution-and-maximum-likelihood-trees-mt_Ujtg0xul9N.md
retrieved: 2026-09-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Models of Sequence Evolution and Maximum Likelihood Trees

Estimating a tree by likelihood needs an explicit model of how sites change: a rate matrix, an account of rate variation across sites, and a way to compare candidate models. This stop connects the model chosen to the tree that comes out.

Subject: Science · Area: Genetics & Evolution · Ages 22 to 23
Page: https://lightmysky.com/learn/science/models-of-sequence-evolution-and-maximum-likelihood-trees-mt_Ujtg0xul9N

## Ready when they can

- Compare Jukes-Cantor, HKY and the general time-reversible model by the parameters each adds
- Explain what a gamma rate parameter corrects for and what goes wrong when it is left out
- Interpret the likelihood of a tree given an alignment and a stated model

## Lesson: The model behind the tree

Estimating a tree by likelihood needs an explicit model of how sites change. The simplest model treats all changes as equally likely with equal base frequencies. HKY adds realistic unequal base composition plus a bias toward transitions. The general time reversible model goes furthest, allowing each pair of nucleotides its own rate alongside unequal base frequencies. Each step adds parameters that correct hidden changes, where letters flip back and forth and distant sequences match by chance.

**Example.** Suppose two fast evolving lineages pile up many overlapping changes. A model without rate variation averages one speed across all sites and underestimates those long branches. A gamma rate parameter fixes this by letting sites evolve at different speeds, which you already met as position-specific thinking in profile models. Leave gamma out and the method can group the two fast lineages together incorrectly, fooled by their coincidental matches.

The likelihood of a tree given an alignment and a model is the probability of the observed alignment under that tree and model, computed by summing over every possible ancestral state at the internal nodes. Maximum likelihood then asks which candidate tree makes the alignment most probable. Because every topology score runs through the model, changing the model changes branch lengths and can crown a different winner.

**Tip.** To defend a published tree, justify its substitution model and show the result holds under richer ones. Read trees from shared nodes, never from the order of names at the tips, and remember rooting choices tell their own stories. A poor model can favour the wrong topology with high apparent confidence, so checking richer models is part of honest inference.

**Recap.** Models price hidden changes, gamma spreads speeds across sites, and likelihood crowns the tree that best explains the alignment.

## Practice

8 questions on this page, each with its working shown.

## Needs first

- [Likelihood and the Maximum Likelihood Estimate](https://lightmysky.com/learn/computing/likelihood-and-the-maximum-likelihood-estimate-mt_crcBnSqkTE)
- [Distance and Likelihood Trees, and What Branch Support Means](https://lightmysky.com/learn/science/distance-and-likelihood-trees-and-what-branch-support-means-mt_mEO9PUEdh6)

## Opens up

- [Bayesian Phylogenetics: Priors, Sampling and Judging Convergence](https://lightmysky.com/learn/science/bayesian-phylogenetics-priors-sampling-and-judging-convergence-mt_7jWhYh1n5X)
