Phylodynamic Inference of Outbreak Transmission Trees
Phylodynamic inference of outbreak transmission trees is a computational framework that jointly models pathogen evolution, within-host dynamics, and between-host transmission to reconstruct the unobserved network of who infected whom [1, 33]. This approach integrates genomic sequence data, sampling times, and epidemiological information to estimate transmission events and key epidemiological parameters such as the effective reproduction number [2, 3]. The following sections systematically review the biological, statistical, and computational foundations of this field, with emphasis on applications in veterinary medicine.
Core Concepts and Definitions
A transmission tree is a directed graph in which nodes represent infected hosts (animals or humans) and edges represent documented transmission events from an infector to an infectee [1, 4]. In contrast, a pathogen phylogeny (or gene tree) describes the evolutionary relationships among sampled pathogen genomes and may diverge substantially from the transmission tree because of within-host pathogen diversity and incomplete transmission bottlenecks [5, 35]. The mapping between these two trees is obscured by four unobserved processes: transmission, case observation, within-host pathogen dynamics, and mutation [1, 33]. Phylodynamic inference methods aim to reverse these processes by probabilistically reconstructing the transmission tree from the observed sequence data, sampling times, and potentially other data types such as contact tracing records [6, 7, 4].
The fundamental unit of phylodynamic modeling is the birth-death process, in which "birth" corresponds to transmission (or speciation) and "death" corresponds to removal (recovery, death, or culling) [8, 9]. Birth-death-sampling (BDS) models extend this framework to account for non-random sampling of infected hosts through time [8, 10]. The coalescent model provides an alternative framework that describes the ancestral relationships among sequences backward in time and is commonly used for population-level inference [11, 10, 5]. The choice between these modeling families depends on the outbreak setting, sampling scheme, and evolutionary rate of the pathogen [10].
Methodological Families
Methods for transmission tree inference can be grouped into three families according to how genomic data are handled: non-phylogenetic (genetic distance based), sequential phylogenetic (phylogenetic inference first, then transmission reconstruction), and simultaneous phylogenetic (joint inference of phylogeny and transmission tree) [33]. The simultaneous phylogenetic family is considered the most statistically rigorous because it preserves the dependency among mutation, within-host dynamics, transmission, and observation [1, 33].
The R package phybreak implements a simultaneous Bayesian approach that combines elementary models for each of the four unobserved processes and uses Markov chain Monte Carlo (MCMC) to sample from the posterior distribution of transmission trees [1]. Phybreak has been extended to allow for multiple independent introductions of the pathogen into the study population, a critical feature for outbreaks in which spillover events occur repeatedly from an external reservoir, such as severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) introductions into Dutch mink farms [12]. The method estimates the number of introductions and attributes each host to either an importation event or a local transmission chain [12, 13].
Another method, BadTrIP (Bayesian reconstruction of transmission histories from genomic polymorphisms), estimates transmission trees using whole-genome sequence data and uncertain infection times [14, 15]. It treats internal nodes of the transmission tree as transmission events and computes the likelihood under a phylogenetic model [14]. BadTrIP has been applied to outbreak investigations of multidrug-resistant Acinetobacter (MDRA) and SARS-CoV-2, demonstrating that inference accuracy depends on outbreak duration, genetic diversity, and the quality of infection time data [15].
ScITree and its predecessor ScTree are scalable spatio-temporal phylodynamic frameworks that adopt the infinite-sites assumption for modeling mutations, thereby avoiding explicit nucleotide-level modeling and achieving linear computational scaling with outbreak size [16, 17]. These methods have been validated on simulated data and applied to a foot-and-mouth disease (FMD) outbreak dataset, producing estimates consistent with earlier Bayesian approaches [16]. Their implementation in an R package facilitates real-time outbreak response.
EpiFusion integrates phylodynamic and epidemiological (case incidence) data using particle filtering to jointly estimate the effective reproduction number (Rt) through time [18, 3]. The framework weights simulated outbreak trajectories according to both a phylogenetic observation model (based on a time-scaled tree) and an epidemiological observation model (based on case counts) [3]. EpiFusion accommodates phylogenetic uncertainty by allowing a posterior distribution of trees as input [18].
Deep learning has emerged as a scalable alternative to traditional Bayesian MCMC for large outbreaks. PhyloDeep uses convolutional neural networks trained on simulated outbreak phylogenies to estimate epidemiological parameters such as the basic reproduction number (R0) and the superspreading parameter [7]. However, its predictive accuracy declines when phylogenies are poorly resolved (i.e., when genetic diversity is low) [7]. The integration of minimal contact tracing data substantially improves performance in such scenarios [7].
PhyloRt is a deep-learning framework that decomposes large phylogenies into overlapping subtrees and applies hierarchical inference to classify subtrees as having constant or time-varying reproductive numbers [2]. It has been applied to SARS-CoV-2 and influenza outbreaks, recovering transmission dynamics consistent with classical Bayesian phylodynamic analyses [2].
BELLA uses unsupervised Bayesian neural networks to flexibly model non-linear relationships between phylodynamic parameters (speciation, extinction, transmission, migration) and external covariates such as traits or environmental variables [19]. The method does not require training data and provides interpretable estimates of predictor importance through explainable artificial intelligence [19].
Key Parameters and Models
The effective reproduction number (Rt) is the most commonly estimated epidemiological parameter in phylodynamic analyses [2, 3, 8]. Birth-death skyline models allow Rt to vary piecewise-constantly over time, reflecting changes in transmission due to interventions, seasonality, or depletion of susceptible hosts [8]. The identifiability of time-varying birth-death parameters from phylogenetic trees alone has been formally studied: parameter identifiability is restored when additional information on hidden birth events (unsampled transmissions) is available from mutation accumulation at birth events [9].
The transmission bottleneck size (the number of pathogen genomes transmitted from donor to recipient) is another crucial parameter that influences the relationship between phylogeny and transmission tree [20, 21]. Methods that account for a relaxed bottleneck and use multiple genomes per host dramatically improve inference accuracy and allow estimation of within-host growth rates and bottleneck size [20, 21].
Superspreading (the phenomenon where a small proportion of hosts is responsible for a large proportion of transmissions) can be quantified by the dispersion parameter k of a negative-binomial offspring distribution [7]. Deep learning approaches can estimate k from phylogenies, but accuracy is limited in poorly resolved trees unless contact tracing data are incorporated [7].
Data Integration
The combination of genomic data with epidemiological data such as sampling times, infection times, and contact records consistently improves transmission tree inference [4, 6, 22]. A systematic review found that 17 of 22 identified methods model the transmission process, but only 8 account for imperfect case detection (unsampled hosts) [33]. Contact data are particularly informative when genetic diversity is low, as is the case in fast-spreading outbreaks of RNA viruses with high evolutionary rates but short timescales [6, 7].
The method developed by Roest et al. (2025) extends phybreak to incorporate data on different types of contact between cases (e.g., shared personnel, shared equipment, geographic proximity) and estimates the fraction of transmissions attributable to each contact type [6]. Applied to the SARS-CoV-2 outbreak in Dutch mink farms, the model estimated that 76% of between-farm transmissions occurred through shared personnel links [6]. This approach can guide targeted interventions in veterinary settings, such as movement restrictions or disinfection protocols.
For outbreaks with multiple introductions, the method by van der Roest et al. (2023) does not a priori partition the outbreak into phylogenetic clusters but instead infers the number and timing of introductions jointly with the transmission tree [12]. This is essential for settings such as influenza A virus in swine, where repeated incursions from wild birds or humans occur.
Computational Scalability
The computational cost of Bayesian MCMC methods has historically limited their application to outbreaks of moderate size (few hundred sequences) [16, 17]. ScITree achieves linear scaling by adopting the infinite-sites assumption and developing efficient data-augmentation MCMC, making it tractable for large outbreaks [16]. Gradient-based Hamiltonian Monte Carlo (HMC) sampling, as implemented for episodic birth-death-sampling models, provides a 10- to 200-fold increase in effective sample size per unit time compared to Metropolis-Hastings, enabling inference with high-dimensional parameter vectors [8].
Online Bayesian inference allows the posterior distribution to be updated sequentially as new sequences become available, without recomputing the entire phylogeny from scratch [23]. This framework, implemented in BEAST, uses a distance-based measure to insert new taxa into the current tree and reuses tuned transition kernels, substantially reducing the time to converge [23].
Simulation-based inference (SBI) methods, particularly neural posterior estimation (NPE), avoid explicit likelihood calculations and are well suited for models with intractable likelihoods [24]. NPE uses neural density estimators to learn the posterior directly from simulated data and has been applied to both compartmental transmission models and birth-death phylodynamic models for Ebola virus [24].
Applications in Veterinary Medicine
Phylodynamic inference has been applied to several veterinary outbreaks, including FMD in the United Kingdom [16, 17, 25], SARS-CoV-2 in farmed mink [6, 12], and bacterial infections such as methicillin-resistant Staphylococcus aureus (MRSA) in remote communities in Australia and Papua New Guinea [26]. In the FMD outbreak, transmission tree inference using a relaxed bottleneck model with multiple genomes per host (if available) provides more precise estimates than single-genome approaches [20, 21].
For livestock diseases, the ability to identify the contribution of different contact types (e.g., shared transport, feed suppliers, veterinary services) to transmission is valuable for designing biosecurity measures [6]. In the Dutch mink farm outbreak, veterinary service providers and feed suppliers were less strongly associated with transmission than shared personnel, suggesting a prioritization of biosecurity resources [6].
The use of portable nanopore sequencing combined with random forest SNP polishing and birth-death skyline models enables real-time outbreak reconstruction in settings with limited infrastructure [26]. This approach was used to estimate effective reproduction numbers for two MRSA outbreaks in remote communities, demonstrating epidemic growth (Re > 1) and providing actionable information for infection control [26].
Future Directions
Several challenges remain. Low sequence diversity during the early stages of an outbreak hinders phylodynamic inference, but the birth-death model outperforms the coalescent under such conditions because it explicitly uses sampling times [10]. Contact data and multiple genomes per host further mitigate this limitation [6, 20]. Parameter identifiability for time-varying rates can be ensured by exploiting mutation accumulation at transmission events [9].
Deep learning methods continue to improve scalability, but they require pathogen-specific training datasets that match the expected phylogenetic resolution [2]. The development of amortized posterior estimators, such as those used in NPE, may eventually enable real-time phylodynamic inference without the need for model-specific training [24].
Finally, the integration of phylodynamic inference with spatial and ecological models is a growing area, as demonstrated by phylogeographic analyses of SARS-CoV-2 Delta variant spread using novel transmission count statistics [27] and the use of kernel-based ABC for discriminating contact network structures in HIV epidemics [34, 35]. In veterinary medicine, such approaches could be used to infer transmission networks for pathogens such as avian influenza virus, which spread across wild bird and poultry populations, or Pasteurella multocida in waterfowl (see Avian Cholera in Waterfowl and Avian Cholera (Pasteurella multocida) in Poultry).
Workflow for Transmission Tree Inference
graph TD
A[Pathogen genomes from host samples], > B[Multiple sequence alignment]
B, > C[Phylogenetic inference (time-scaled tree)]
C, > D[Phylodynamic model specification]
E[Sampling times & infection windows], > D
F[Contact tracing data (optional)], > D
D, > G{Inference engine}
G, > H[Outline: Bayesian MCMC | Deep learning | Particle filter]
H, > I[Posterior distribution of transmission trees]
I, > J[Consensus transmission tree & parameter estimates]
J, > K[Epidemiological interpretation (Rt, bottleneck, introductions)]
K, > L[Targeted control measures]
Frequently Asked Questions
What is the difference between a phylogenetic tree and a transmission tree?
A phylogenetic tree (or gene tree) represents the evolutionary relationships among sampled pathogen genomes, while a transmission tree represents the epidemiological relationships among infected hosts [1, 5]. The two trees can differ substantially because of within-host pathogen diversity, incomplete transmission bottlenecks, and unsampled hosts [5, 35].
What types of data are required for transmission tree inference?
The minimal data required are pathogen genome sequences (or alignments) and sampling times for each infected host [1, 33]. Additional data such as infection windows, contact tracing records, and spatial locations improve inference accuracy, particularly when genetic diversity is low [6, 7, 4].
How do phylodynamic models account for multiple introductions?
Methods such as the extended phybreak package estimate the number and timing of introductions jointly with the transmission tree, without requiring a priori clustering of sequences [12, 13]. This is essential for outbreaks where spillover from an external reservoir occurs repeatedly, such as SARS-CoV-2 in mink farms [12].
Can transmission tree inference be performed in real time?
Online Bayesian inference allows posterior updating as new sequences are collected, reducing computational time compared to full rerunning of MCMC [23]. Deep learning methods such as PhyloRt provide near-instantaneous estimation of time-varying Rt from large tree files [2]. Portable sequencing combined with rapid phylodynamic pipelines enables real-time outbreak response in remote settings [26].
Why is contact data important for poorly resolved phylogenies?
When genetic diversity is low (e.g., fast-spreading outbreaks of RNA viruses), phylogenies contain little information about transmission links. Contact tracing data, even if sparse or imperfect, can dramatically improve the posterior probability of the correct transmission tree [7, 4]. The method by Roest et al. (2025) uses structured contact data to estimate the contribution of different contact types to transmission [6].
How is the transmission bottleneck size inferred?
Methods that use multiple genomes per host can estimate the bottleneck size by examining the distribution of genetic variants shared between donor and recipient [20, 21]. A relaxed bottleneck model, where a small number of genomes are transmitted, improves the accuracy of transmission tree reconstruction compared to a strict bottleneck assumption [20].
What are the main computational challenges in phylodynamic inference?
Traditional Bayesian MCMC methods scale poorly with outbreak size, often exhibiting exponential increases in runtime [16, 17]. Scalable approaches include the use of the infinite-sites assumption (ScITree), gradient-based HMC sampling, deep learning surrogates, and simulation-based inference with neural posterior estimation [16, 8, 2, 24].
References
[1] Klinkenberg D, Backer J, Didelot X, et al. Simultaneous inference of phylogenetic and transmission trees in infectious disease outbreaks. PLoS Computational Biology. 2017. URL: https://www.semanticscholar.org/paper/aca8bb9d59ec092c1bb83b1a42686b0c6e4999c9
[2] Xie R, Zhukova A, Pena P, et al. Scalable deep-learning-based inference of time-varying transmission dynamics from outbreak phylogenies. medRxiv. 2026. URL: https://www.semanticscholar.org/paper/2ea5f487a58656614bbef697e77aae21f479690e
[3] Judge C, Vaughan T, Russell T, et al. EpiFusion: Joint inference of the effective reproduction number by integrating phylodynamic and epidemiological modelling with particle filtering. bioRxiv. 2023. URL: https://www.semanticscholar.org/paper/3e0ba0e6dab799a63de6cae16971a93a0c79855f
[4] Campbell F, Cori A, Ferguson N, et al. Bayesian inference of transmission chains using timing of symptoms, pathogen genomes and contact data. PLoS Computational Biology. 2019. URL: https://www.semanticscholar.org/paper/d486d51868e8d420880e5f21ae906a5150642763
[5] Volz E, Romero-Severson E, Leitner T. Phylodynamic Inference across Epidemic Scales. Molecular Biology and Evolution. 2017. URL: https://www.semanticscholar.org/paper/db53fc9d9456e64196ef00ad563eaf86f1757423
[6] Roest B, Klinkenberg D, Fischer EAJ, et al. Phylodynamic inference of the contribution of transmission routes in infectious disease outbreaks. medRxiv. 2025. URL: https://www.semanticscholar.org/paper/64de97898a815d0d440669e326ae665bd3a10fcd
[7] Xie R, Adam D, Hu S, et al. Integrating Contact Tracing Data to Enhance Outbreak Phylodynamic Inference: A Deep Learning Approach. Molecular Biology and Evolution. 2024. URL: https://www.semanticscholar.org/paper/4bc9891c7d197ac88b9d7fd03a7b7bb2cb6551ef
[8] Shao Y, Magee AF, Vasylyeva TI, et al. Scalable gradients enable Hamiltonian Monte Carlo sampling for phylodynamic inference under episodic birth-death-sampling models. PLoS Computational Biology. 2024. URL: https://www.semanticscholar.org/paper/0f3979b81cd2679db0c5aa3976f6006b3302f3e2
[9] Dieselhorst T, Stadler T. Information on hidden birth events restores identifiability in phylodynamic inference. Journal. 2026. URL: https://www.semanticscholar.org/paper/48454a207691ed073da9510dbead04735fb071c3
[10] Lam A, Duchêne S. The Impacts of Low Diversity Sequence Data on Phylodynamic Inference during an Emerging Epidemic. Viruses. 2021. URL: https://www.semanticscholar.org/paper/114e9e78d11f0d1c47ae72cb815484d517cb122c
[11] Featherstone LA, Duchêne S, Vaughan T. Decoding the Fundamental Drivers of Phylodynamic Inference. bioRxiv. 2023. URL: https://www.semanticscholar.org/paper/c1cf935abbfbc9338b1eb1c7bd23e8b7b7cd7803
[12] Van der Roest BR, Bootsma M, Fischer EAJ, et al. A Bayesian inference method to estimate transmission trees with multiple introductions; applied to SARS-CoV-2 in Dutch mink farms. bioRxiv. 2023. URL: https://www.semanticscholar.org/paper/c259945bf42e755dbb55d29c74c401b489c5c936
[13] Van der Roest BR, Fischer EA, Klinkenberg D, et al. Phylodynamic inference suggests introductions as main driver of Mpox Clade II outbreak in 2022 in Slovenia. Epidemiology and Infection. 2025. URL: https://www.semanticscholar.org/paper/5f48ff860eff0fa65c3fd51d84d7fd1ac6591cc6
[14] Montazeri H, Little S, Mozaffarilegha M, et al. Bayesian reconstruction of transmission trees from genetic sequences and uncertain infection times. Statistical Applications in Genetics and Molecular Biology. 2020. URL: https://www.semanticscholar.org/paper/3bfb74bba52d38c5ec964515afd7b84042f90230
[15] Fujikura Y, Ichie N, Hamamoto T. Clinical utility and limitations of whole-genome sequencing via nanopore technology and Bayesian modeling for outbreak transmission inference. Antimicrobial Resistance and Infection Control. 2026. URL: https://www.semanticscholar.org/paper/1082646426634a059b3d2f89bb8dfa2482cca773
[16] Waddel H, Koelle K, Lau MSY. ScITree: Scalable Bayesian inference of transmission tree from epidemiological and genomic data. PLoS Computational Biology. 2025. URL: https://www.semanticscholar.org/paper/e8d57888db15fe670cfc74ce10fd67e9de6a50cf
[17] Waddel H, Koelle K, Lau MSY. ScTree: Scalable and robust mechanistic integration of epidemiological and genomic data for transmission tree inference. bioRxiv. 2024. URL: https://www.semanticscholar.org/paper/b7e3fc5f185b2c4cc2a5820f25b7012fdfcf579e
[18] Judge C, Brady OJ, Hill SC. The EpiFusion Analysis Framework for joint phylodynamic and epidemiological analysis of outbreak characteristics. F1000Research. 2025. URL: https://www.semanticscholar.org/paper/238941f748f1dae59a96c59b02e1df238ddf4bb7
[19] Marino G, Stolz U, Valenzuela Agüí C, et al. Bayesian neural networks enable inference of complex phylodynamic processes. bioRxiv. 2026. URL: https://www.semanticscholar.org/paper/87634e43c560c3eca499dc839b53ff0ba664108c
[20] Carson J, Keeling M, Wyllie D, et al. Inference of Infectious Disease Transmission through a Relaxed Bottleneck Using Multiple Genomes Per Host. Molecular Biology and Evolution. 2024. URL: https://www.semanticscholar.org/paper/641020d2b997971a9235656d936eb59709814058
[21] Carson J, Keeling M, Wyllie D, et al. Inference of infectious disease transmission using multiple genomes per host. bioRxiv. 2023. URL: https://www.semanticscholar.org/paper/a5ead67670f23d6a10d61276f0f3803565d6d
[22] Fajardo-Fontiveros O, Suster CJE, Altmann EG. Inference of epidemic networks: the effect of different data types. The European Physical Journal Special Topics. 2025. URL: https://www.semanticscholar.org/paper/2d3d2e367eb30882aa3d572d47c1708c9cef6988
[23] Gill MS, Lemey P, Suchard M, et al. Online Bayesian Phylodynamic Inference in BEAST with Application to Epidemic Reconstruction. Molecular Biology and Evolution. 2020. URL: https://www.semanticscholar.org/paper/6b7f3720e353ed2eab26090bd7a9ace67bd76675
[24] Pinotti F, Thézé J, Bailly X, et al. Simulation based-inference of epidemiological and phylodynamic models via Neural Posterior Estimation. bioRxiv. 2025. URL: https://www.semanticscholar.org/paper/3c9ec4cf8a66099f2a69edfeae01e8beb9d36ad3
[25] Allen JE, Velsko S. Mapping a viral phylogeny onto outbreak trees to improve host transmission inference. bioRxiv. 2014. URL: https://www.semanticscholar.org/paper/f5fdaa6ddc91b300b53d7416a8b5d474599fbfe5
[26] Steinig E, Duchêne S, Aglua I, et al. Phylodynamic Inference of Bacterial Outbreak Parameters Using Nanopore Sequencing. Molecular Biology and Evolution. 2022. URL: https://www.semanticscholar.org/paper/f473c8b949202445b3a7e6100c730f7b8373f64a
[27] Lyu L, Veytsel G, Stott G, et al. Phylogeographic Inference of SARS-CoV-2 Delta Wave in Texas, USA using a Novel Spatial Transmission Count Statistic. medRxiv. 2023. URL: https://www.semanticscholar.org/paper/8775783e56f4e696c08ebe815edab54181678738
[28] Kostaki E, Papadimitriou E, Chatzopoulou F, et al. Molecular investigation of a new HIV-1 outbreak among people who inject drugs in Greece: evidence for a dense network of HIV-1 transmission. Sexually Transmitted Infections. 2025. URL: https://www.semanticscholar.org/paper/29eba8287ec29d2368efbd506db317a6cda1ddcc
[29] Cassidy R. Inference of transmission trees for epidemics using whole-genome sequence data. Journal. 2019. URL: https://www.semanticscholar.org/paper/23c35023f7baf5e1da0a06ce6ba1cb682c97be4e
[30] Okolie A, Muller J, Akarawakc E, et al. Multi-type branching inference on contact trees with application to COVID-19. Journal. 2026. URL: https://www.semanticscholar.org/paper/fa0807f6b8ded3d72875e8c4144c59f570472363
[31] Sashittal P, El-kebir M. Sampling and summarizing transmission trees with multi-strain infections. bioRxiv. 2020. URL: https://www.semanticscholar.org/paper/bcb556d2f5bb089a53b05968966991a8e516379a
[32] Brook CE, Li Y, Yek C, et al. The Perfect Storm of 2019: An immunological and phylodynamic analysis of Cambodia's unprecedented dengue outbreak. medRxiv. 2022. URL: https://www.semanticscholar.org/paper/67e054693331270ac29b0e49e95923e0c86bb7f5