Bayesian inference from time series of allele frequency data using exact simulation techniques
Jaromir Sant 1, Paul A. Jenkins 2,3, Jere Koskela 2,4, Dario Spanò 2 · 2025
Read Bayesian inference from time series of allele frequency data using exact simulation techniques by Jaromir Sant 1, Paul A. Jenkins 2,3, Jere Koskela 2,4, Dario Spanò 2 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-12279.txt.
Introduction
Jaromir Sant and co-authors present a new method for reading evolution from ancient DNA in this 2025 study. Samples from the present day alone limit what can be learned about selection and gene age. Old DNA adds a time series: gene variant shares measured across thousands of years. The catch is that the hidden path between those measures cannot be computed directly.
Their sampling method works around that block by adding the unseen path into the search itself, with a proposal design that keeps every accept or reject step exact. They test it on coat color in ancient horses over twenty thousand years. Two genes behind color shifts showed very strong selection, possibly favoring mixed carriers, and the method also dated the genes.
Catalog record
| CREATOR | Jaromir Sant 1, Paul A. Jenkins 2,3, Jere Koskela 2,4, Dario Spanò 2 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 85 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2502-12279
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Bayesian inference from time series of allele frequency data using exact simulation techniques Jaromir Sant 1, Paul A. Jenkins 2,3, Jere Koskela 2,4, Dario Spanò 2 Abstract A central statistical problem in population genetics is to infer evolutionary and biological parameters such as the strength of natural selection and allele age from DNA samples extracted from a contemporary population. That all samples come only from the present-day has long been known to limit statistical inference; there is potentially more information available if one also has access to ancient DNA so that inference is based on a time-series of historical changes in allele frequencies. We introduce a Markov Chain Monte Carlo (MCMC) method for Bayesian inference from allele frequency time-series data based on an underlying Wright–Fisher diffusion model of evolution, through which one can infer the parameters of essentially any selection model including those with frequency-dependent effects. The chief novelty is that we show this method to be exact in the sense that it is possible to augment the state space explored by MCMC with the unobserved diffusion trajectory, even though the transition function of this diffusion is intractable. Through careful design of a proposal distribution, we describe an efficient method in which updates to the trajectory and accept/reject decisions are calculated without error. We illustrate the method on data capturing changes in coat colour over the past 20,000 years, and find evidence to support previous findings that the mutant alleles ASIP and MC1R responsible for changes in coat color have experienced very strong, possibly overdominant, selection and further provide estimates for the ages of these genes. 1 Introduction Recent advances in DNA sequencing as well as improvements in ancient DNA (aDNA) retrieval technologies have given rise to a growing number of genetic datasets spanning several centuries (see for instance Fages et al., [11] , Hummel et al., [24] , Ludwig et al., [31] , Sandoval-Castellanos et al., [42] , Mathieson, [36] , but also the Allen Ancient DNA Resource in the context of human aDNA [ 34 ] ). Such time-series data hold a wealth of information on various evolutionary factors which have shaped and are still shaping the population upon which they act, such as the strength and time of onset of natural selection. Detecting and quantifying such phenomena has generated a considerable interest in the literature (see for instance Ludwig et al., [32] , Wutke et al., [55] , Fages et al., [11] , Sandoval-Castellanos et al., [42] , Der Sarkissian et al., [7] , Fang et al., [12] , He et al., 2020b [23] , He et al., 2020a [22] , Li and Barton, [30] , Sohail et al., [48] , Sohail et al., [47] , whilst the recently released AGES resource provides genome-wide information on selection for humans), offering empirical evidence for well-documented shifts in selective regimes such as lactase persistence [ 52 ] and the HLA region [ 28 ] in humans, as well as the exogenous effect of humans on plants and animals through domestication [ 40 , 14 ] . Since most traditional population genetic methods developed to estimate such quantities rely on a static snapshot of the population being considered (as captured for instance by the contemporaneously sampled genetic information present in the myriad biobanks that now exist), they possess a limited amount of statistical power [ 6 ] even when leveraging whole-genome information. More sophisticated statistical techniques are therefore needed to elicit the additional information gained by suitably accounting for the temporal dimension available from time-series data. A standard way to do this is to assume that allele frequency changes are modelled by the Wright–Fisher diffusion [ 27 , Chapter 15, Section 2] . This diffusion is mathematically well understood, allows for several important genetic features such as mutation and selection to be incorporated rather easily, and offers a realistic approximation to patterns of genetic diversity observed in nature, particularly when genetic drift is acting on the same timescale as mutation and selection. Here we shall focus on conducting inference for the selection parameters as well as the allele age at a single locus. In this context, one pitfall in adopting the Wright–Fisher diffusion is the fact that the resulting expression for the likelihood consists of a product of intractable diffusion transition densities. This has led to a number of methods in the literature which in some way or another rely on a combination of discretisation and approximation to conduct inference, be it numerical approximation of the likelihood [ 4 , 23 , 57 , 49 , 44 , 30 , 48 , 47 , 56 ] , or approximation of the diffusion itself through the use of simpler alternative models [ 33 , 13 , 37 , 36 , 39 , 22 ] . Although the discretisations and approximations employed vary from one method to another, all introduce a bias into the inference which is hard to quantify and distinguish from other sources of error. For instance, in Malaspinas et al., [33] the authors approximate the Wright–Fisher diffusion through the use of a birth-and-death process; Steinrücken et al., [49] employ truncation to be able to evaluate a spectral expansion of the transition density for the Wright–Fisher diffusion; whereas in Schraiber et al., [44] the Lebesgue integrals present in the acceptance probabilities used with their path updating scheme need to be approximated through Riemann sums. In contrast, there is a growing body of literature that has attempted to address this problem by avoiding discretisation or approximation entirely [ 29 , 18 , 16 ] , however none gives direct access to the true posterior distribution of the selection parameters and the allele age. A review on inference for natural selection in the presence of time-series genetic data can be found in Dehasque et al., [6] . In this paper we present an exact and practicable inferential framework which allows for Bayesian inference of the allele age and the selection parameters associated with a diallelic locus under essentially any frequency-dependent selective regime (including apostatic selection, under- and over-dominance, balancing selection, and so on), based on discrete noisy observations of a Wright–Fisher diffusion. By identifying a suitable state space augmentation, we are able to construct a Markov Chain Monte Carlo (MCMC) method which updates prior beliefs on the parameters of interest by incorporating the observed likelihoods and returns exact draws from the posteriors of interest. The method is exact in the sense that we avoid any form of approximation or discretisation in tackling the underlying model’s intractability, and thus avoid introducing approximation error into the inferential output. The approach adopted here builds upon work done in the context of Brownian motion [ 3 , 46 ] and exploits the availability of an exact algorithm for the Wright–Fisher class of diffusions [ 26 , 20 ] . The main challenge in our setup is that the likelihood involves a finite product of intractable transition densities, which we circumvent through a suitable state space augmentation. Thus we are able to construct a Metropolis-within-Gibbs sampler targeting the joint posterior distribution of the selection parameters and the age of the allele t_{0} . We henceforth assume that t_{0} will be the first time a de novo allele