Abstract
Bacterial populations that colonize a host can play important roles in host health, including serving as a reservoir that transmits to other hosts and from which invasive strains emerge, thus emphasizing the importance of understanding rates of acquisition and clearance of colonizing populations. Studies of colonization dynamics have been based on assessment of whether serial samples represent a single population or distinct colonization events. With the use of whole genome sequencing to determine genetic distance between isolates, a common solution to estimate acquisition and clearance rates has been to assume a fixed genetic distance threshold below which isolates are considered to represent the same strain. However, this approach is often inadequate to account for the diversity of the underlying within-host evolving population, the time intervals between consecutive measurements, and the uncertainty in the estimated acquisition and clearance rates. Here, we present a fully Bayesian model that provides probabilities of whether two strains should be considered the same, allowing us to determine bacterial clearance and acquisition from genomes sampled over time. Our method explicitly models the within-host variation using population genetic simulation, and the inference is done using a combination of Approximate Bayesian Computation (ABC) and Markov Chain Monte Carlo (MCMC). We validate the method with multiple carefully conducted simulations and demonstrate its use in practice by analyzing a collection of methicillin resistant Staphylococcus aureus (MRSA) isolates from a large recently completed longitudinal clinical study.
Introduction
Understanding the dynamics of bacterial colonization—specifically the rates of acquisition and clearance—is critical for clinical and epidemiological research. Traditionally, researchers have relied on fixed genetic distance thresholds to determine if serial samples from a host represent a single persistent population or distinct colonization events. For instance, if two samples differ by fewer than 40 single nucleotide polymorphisms (SNPs), they are often labeled as the "same."
However, this approach is a blunt instrument that fails to account for the diversity of within-host evolving populations, the time intervals between samples, and the inherent uncertainty in genomic data. A 20-SNP difference might suggest a new strain if samples were taken days apart, but could easily represent evolution of the same strain over a year. This paper addresses the need for a biologically grounded, probabilistic framework to calculate these dynamics.
Methodology
The authors developed a fully Bayesian mixture model to provide probabilities of whether two strains are the same. The model incorporates two primary components:
- The "Same Strain" Model ($p_S$): This uses a Wright-Fisher simulation to model how a single colonizing population diversifies over time, accounting for effective population size ($n_{eff}$) and mutation rate ($\mu$).
- The "Different Strain" Model ($p_D$): This assumes samples originate from different colonization events, with a most recent common ancestor existing outside the host.
The inference process is conducted in two phases. First, Approximate Bayesian Computation (ABC) is applied to external datasets (such as MSSA genomic data from 21 patients) to establish realistic priors for mutation rates and population sizes. Second, Markov Chain Monte Carlo (MCMC), specifically Gibbs sampling, is used to fit the mixture model to study data. This allows the model to output a probability of strain identity rather than a binary classification.
Results
The model was validated using synthetic datasets, where it accurately recovered known parameters such as mutation rates and strain proportions. When applied to the Project CLEAR MRSA dataset—a large longitudinal clinical trial—the model provided several key insights:
- Parameter Estimation: The within-host mutation rate for MRSA was estimated at approximately 0.00076 mutations per genome per generation, with an effective population size ($n_{eff}$) of about 1,700.
- The "False Negative" Insight: By analyzing patterns of intermittent negative samples between positive ones, the model suggested that in 58% of such cases, the bacteria were likely present but missed by the swab (false negatives), rather than cleared and re-acquired.
- Refined Rate Estimates: The model estimated an acquisition rate of 0.18 and a clearance rate of 0.25 per interval. These estimates were slightly higher than those derived from threshold-based methods, as the Bayesian approach better accounts for the "hidden" dynamics of persistent colonization.
Discussion and Limitations
While the model offers a significant advancement over fixed thresholds, it includes some simplifications. It assumes a constant population size, which may not hold during initial infection "blooms" or antibiotic treatment. Currently, the model focuses on point mutations; while recombination blocks can be pre-filtered, direct integration of recombination is a goal for future work. Additionally, the study utilized nasal swabs; expanding the model to incorporate multiple body sites would provide a more comprehensive "whole-host" view of colonization dynamics.
The R-code implementation is freely available at: https://github.com/mjarvenpaa/bacterial-colonization-model.git.
Summary updated