Bayesian Phylogenetics

Graduate Depth 191 in the knowledge graph I know this Set as goal
Unlocks 1 downstream topic
phylogenetics statistics bayesian

Core Idea

Bayesian phylogenetics integrates over uncertainty in tree topology, branch lengths, and evolutionary model parameters using posterior probability. MCMC sampling allows efficient exploration of tree space and produces credible intervals for evolutionary parameters. Bayesian methods naturally incorporate prior information and are powerful for dating divergences.

Explainer

You already understand maximum likelihood phylogenetics, where you search for the tree and parameter values that maximize the probability of observing your sequence data. And from Bayes' theorem, you know that posterior probability is proportional to the likelihood times the prior: P(hypothesis|data) ∝ P(data|hypothesis) × P(hypothesis). Bayesian phylogenetics applies this framework to tree inference, and the shift in perspective is profound: instead of finding a single best tree, you estimate the posterior probability distribution over all possible trees, branch lengths, and model parameters.

The practical difference is in how uncertainty is handled. Maximum likelihood gives you a point estimate — the single best tree — and you assess confidence through bootstrapping, which resamples your data and re-estimates the tree many times. Bayesian inference instead directly calculates the probability that each possible tree is correct, given the data and your prior beliefs. A posterior probability of 0.95 on a clade means there is a 95% probability that clade is real, given your data and model — a more intuitive interpretation than a bootstrap value, which measures how often a clade appears under resampling. The Bayesian framework also naturally handles nuisance parameters: rather than fixing the substitution model and estimating the tree, you can let the model parameters (substitution rates, base frequencies, rate variation across sites) vary and integrate over their uncertainty.

The computational challenge is that the number of possible tree topologies grows super-exponentially with the number of taxa — for just 50 species, there are more possible unrooted trees than atoms in the observable universe. You cannot evaluate every tree, so Bayesian phylogenetics relies on Markov chain Monte Carlo (MCMC) sampling. The MCMC algorithm starts with a random tree, proposes small modifications (rearranging branches, adjusting lengths), and accepts or rejects each proposal based on whether it increases the posterior probability. Over millions of iterations, the chain converges to a stationary distribution that samples trees in proportion to their posterior probability. The set of sampled trees is summarized as a consensus tree with posterior probabilities on each branch.

Prior distributions are both the strength and the controversy of Bayesian phylogenetics. You must specify priors on tree topology (usually uniform), branch lengths (often exponential), and model parameters. For molecular dating, priors on divergence times incorporate fossil calibration points — known minimum or maximum ages for specific nodes. When data are abundant, the prior has minimal influence and Bayesian and likelihood results converge. When data are sparse, the prior matters more, which is why sensitivity analysis (running the analysis with different priors and checking whether conclusions change) is essential practice. Programs like MrBayes and BEAST implement these methods and have become standard tools for phylogenetic inference and molecular dating.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsGreen's TheoremSurface Integrals and Flux of Vector FieldsSurface Integrals and Flux of Vector FieldsDivergence Theorem: Flux and OutflowDivergence TheoremElectric FluxGauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesThe Electromagnetic SpectrumBlackbody Radiation and Planck's LawPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthHeisenberg Uncertainty PrincipleWavefunction and the Born RuleThe Schrödinger EquationState Vectors and WavefunctionsQuantum SuperpositionQuantum EntanglementBell Theorem and Bell InequalitiesPostulates of Quantum MechanicsScattering TheoryIntroduction to Scattering TheoryPartial Wave Analysis in ScatteringSpin Angular MomentumElectron Spin and Intrinsic Magnetic MomentStern-Gerlach Experiment: Spin Quantization and MeasurementElectron Diffraction and Matter Wave PropertiesDavisson-Germer Experiment: Crystal Diffraction of ElectronsElectron Diffraction and Matter Wave InterferenceWavefunctions and Probability Density InterpretationQuantum Superposition and Linear Combinations of StatesQuantum Operators and ObservablesCanonical Commutation Relations and UncertaintyHeisenberg Uncertainty Principle and Measurement LimitsTime-Independent Schrödinger Equation and EigenvaluesHydrogen Atom in Quantum MechanicsSpectral Lines and Energy TransitionsSelection Rules for Atomic TransitionsLS and jj Coupling Schemes in Multi-Electron AtomsPauli Exclusion Principle and Antisymmetric WavefunctionsElectron Configuration and the Aufbau PrincipleThe Periodic Table and Atomic Electronic StructureThe Periodic TableElectron ConfigurationPeriodic TrendsIonization EnergyIonic BondingLewis StructuresResonance Structures and Delocalized ElectronsResonance and Formal ChargeMolecular Polarity and Dipole MomentsIntermolecular ForcesStates of Matter and Phase Changes: Melting, Boiling, and SublimationGas Laws and the Ideal Gas EquationGas Stoichiometry and Volume-Volume CalculationsThermochemistry and EnthalpyHeat Capacity and CalorimetryEntropy and Molecular DisorderSpontaneity and ΔGEntropy and Gibbs Free EnergyChemical EquilibriumChemical KineticsRate Law DeterminationEnzyme KineticsCell Cycle Regulation and CheckpointsMitosisCytokinesisMeiosisChromosomal Theory of InheritanceMendelian GeneticsDominance, Recessiveness, and Allelic InteractionsSex-Linked InheritanceNon-Mendelian Inheritance PatternsPopulation Genetics and Hardy-Weinberg EquilibriumNatural SelectionGenetic DriftEvolutionary Genetics FoundationsAllele Frequency Change and Evolutionary DynamicsGene Flow and Population StructureGene Flow and Selection: Opposing ForcesGene FlowHardy-Weinberg EquilibriumSpeciationPhylogenetics and Evolutionary TreesPhylogenetic Inference FundamentalsParsimony in Phylogenetic ReconstructionMaximum Likelihood PhylogeneticsBayesian Phylogenetics

Longest path: 192 steps · 927 total prerequisite topics

Prerequisites (2)

Leads To (1)