Detection of local recombination and mutation hotspots in bacterial genomes using neural posterior estimation
Haochu Liu, Richard G. Everitt, Xavier Didelot
Key points
From the paper's conclusion- We also apply the new methodology to three real datasets in Bacillus cereus, Staphylococcus aureus and Escherichia coli to showcase its usefulness in a range of situations.
Abstract
Motivation: Recombination and mutation rates in bacteria vary along the genome, and regions of elevated rate (hotspots) often reflect selection on specific genes. Detecting them is difficult because the two processes leave overlapping signals in sequence data, clonal relationships act as a confounder, and inference must scale to whole genomes. Existing methods assume a constant mutation rate and/or rely on a small set of summary statistics. Results: We present a simulation-based framework that infers gene-specific recombination and mutation rates under a well-specified model of bacterial recombination. Neural posterior estimation (NPE) is trained on simulations conditioned on a fixed clonal genealogy, using a wide range of summary statistics. Gene length is also used as both a parameter and an observed statistic, so that the model learns about its effect on other statistics and thus becomes applicable across different gene lengths. To identify hotspots, we introduce a circular posterior-propagated Difference-of-Gaussians detector that contrasts local and regional smoothers of the posterior log rates, carrying NPE uncertainty into hotspot probabilities. On simulated data, the method recovers the true rates, with credible intervals that narrow as gene length increases. We also apply the new methodology to three real datasets in Bacillus cereus, Staphylococcus aureus and Escherichia coli to showcase its usefulness in a range of situations. Availability and implementation: The Python implementation is freely available from https://github.com/haochu-liu/bacnpe.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Bayesian phylogenetic inference accounting for recombination in whole bacterial genomesbioRxiv · 2026
- How precise are mutation rate estimates? Comparison of different approaches to estimate de novo mutation ratesHeredity · 2026
- A reusable neural approach to recombination mapping for model and non-model species.bioRxiv : the preprint server for biology · 2026
- Neural posterior estimation for stochastic epidemic modelingThe Annals of Applied Statistics · 2026
- Interpreting Convolutional Neural Networks in Population Genetics.Molecular biology and evolution · 2026
- LDEN: Alternating projections for whole genome linkage disequilibrium estimation from next-generation sequencing databioRxiv · 2026