Search bioRxiv⌕ Search

Biology subjects

Ralph, P. L.

Publications and source records attributed to Ralph, P. L..

At least 19 recordsLinked to original sources

Ecotypes, Wolbachia, and urbanization shape Culex pipiens population structure in a West Nile virus hotspot

Culex pipiens is a major vector of West Nile Virus (WNV) in Europe and has a complex evolutionary history that has been linked to the probability of WNV spillover to humans. Here, we present a population genomic analysis of Cx. pipiens from a WNV hotspot in southwestern Spain. Whole-genome sequencing of 217 individuals from 24 localities revealed that population structure is mainly shaped by the coexistence of pipiens and molestus ecotypes. Despite clustering, genome-wide divergence between ecotypes was low, consistent with shared ancestral variation. Furthermore, Wolbachia infection was heterogeneous across the study area, where some Culex pipiens pipiens remain uninfected. We also identified three new polymorphic chromosomal inversions on chromosomes 1 and 3 that segregate independently. Although inversions did not underlie ecotypic differentiation, they were enriched for genes involved in olfaction and insecticide resistance pathways, suggesting potential adaptive and epidemiological relevance. Distance-based redundancy analyses showed that ecotype identity explained the largest fraction of genetic variance, with additional contributions from Wolbachia infection, habitat type (urban versus rural) and geographic distance. These results reveal that partial ecotypic differentiation, symbiont infection, and habitat interact to shape population structure in Cx. pipiens, with implications for vector ecology and disease transmission.

genomics↗

Tracing the evolutionary histories of ultra-rare variants using variational dating of large ancestral recombination graphs

Ultra-rare variants dominate whole-genome sequencing datasets, yet their interpretation is limited by allele frequency, which provides little information at very low counts and is highly sensitive to uneven ancestry representation. Allele age offers an ancestry-agnostic alternative but existing methods do not scale to biobank-sized cohorts. Here we present a scalable variational algorithm for dating Ancestral Recombination Graphs (ARGs), implemented in tsdate, together with new distributed methods enabling practical biobank-scale ARG inference using tsinfer. Applied to 47,535 genomes from the Genomics England 100,000 Genomes Project, we infer contiguous ARGs spanning 206 Mb and estimate ages for 23.2 million variants, including 11.8 million singletons. ARG-based allele ages remain accurate under extreme sampling imbalance and, in real data, reveal signatures of purifying selection and clinically relevant heterogeneity among variants with identical observed frequencies. Estimates for recent mutations are precise only at large sample sizes, highlighting the information accessible in the haplotype structure of large datasets. Biobank-scale ARGs therefore enable robust, ancestry-agnostic age estimation for ultra-rare variation with broad utility for statistical and clinical genomics.

genetics↗

Bridging forward-in-time and coalescent simulations using pyslim

Ancestral Recombination Graphs (ARGs) provide an expressive and compact way to represent genetic variation data generated by simulations embedded within its genealogical history, and it can dramatically speed up simulations. The fact that the ARG records genealogical as well as genomic information opens up the possibility for a number of new analysis and simulation techniques. Here, we aim to introduce the reader to this deep source of information as produced by the forwards simulator SLiM. SLiM records the ARG using the tree sequence format, which can be manipulated using the tskit and pyslim python packages. We first describe the information that SLiM records in the tree sequence, then provide several examples that use the tree sequence as a format to losslessly pass population states between simulators: recapitation of a forwards simulation with coalescent simulation; initiation of a forwards simulation using the results of a coalescent simulation; and parallelization of simulations, first across branches of a phylogenetic tree, and then across the populations of parasites infecting different hosts.

evolutionary biology↗

SLiM 5: Eco-evolutionary simulations across multiple chromosomes and full genomes

Evolutionary simulations of multiple chromosomes, even up to the scale of full-genome simulations, are becoming increasingly important in population genetics and evolutionary ecology. Unfortunately, the popular simulation framework SLiM has always been intrinsically limited to simulations of a single diploid chromosome. Modeling multiple chromosomes of different types, such as sex chromosomes, has always been cumbersome even with scripting, presenting a substantial barrier to the development of full-genome simulations. Here we present SLiM 5, a major extension of SLiMs capabilities for simulating multiple chromosomes. Modeling up to 256 chromosomes is now possible, and each chromosome may belong to any of a wide variety of types - not just autosomes (diploid and haploid), but also sex chromosomes (X, Y, Z, and W), haploid mitochondrial and chloroplast DNA, and more. This new functionality is integrated across all of SLiM, including not only the mechanics of reproduction and inheritance, but also input and output of multi-chromosome data in formats like VCF, and tree-sequence recording across multiple chromosomes. New recipes in the SLiM manual demonstrate these new features, and SLiMs graphical modeling environment, SLiMgui, has been extended in many ways for the visualization of multi-chromosome models. These new features will open new horizons and enable a heightened level of realism for full-genome simulations.

evolutionary biology↗

Modelling complex traits with ancestral recombination graphs

Ancestral recombination graphs (ARGs) are an attractive means for quantitative genetic analysis of complex traits because they encode the realized genetic relatedness between a sample of individuals in the presence of genetic drift, recombination, and mutation. Data structures for efficiently storing ARGs can also be used to rapidly process millions of genomes, and are thus promising for fitting linear mixed models (LMMs) to large phenotype and genome datasets. Here, we study the problems of variance component estimation and prediction of genetic values with ARGs, by describing a generative model of complex traits with additive effects on an ARG, and then developing algorithms that use the ARG to solve these problems efficiently on biobank-scale datasets. We observe nearly linear scaling of runtime with sample size, which is achieved by using the succinct tree sequence representation of the ARG for implicit matrix-vector products, along with modern randomized linear algebra algorithms. We estimate variance components using restricted maximum likelihood (REML), which we find performs substantially better than the Haseman- Elston method. In simulation tests, both variance component estimation and prediction of genetic values (using the best linear unbiased predictor, BLUP) perform nearly as well with inferred ARGs as with true ARGs. We also discuss interpretations of the variance component estimates as mutational variance and additive genetic variance. We provide an implementation of the algorithms as a Python package tslmm, which leverages the tree sequence library tskit.

genomics↗

Simulation-based spatially explicit close-kin mark-recapture

Estimating the size of wild populations is a critical priority for ecologists and conservation biologists, but tools to do so are often labor intensive and expensive. A promising set of newer approaches are based on genetic data, which can be cheaper to obtain and less invasive than information from more direct observation. One of these approaches is close-kin mark-recapture (CKMR), a type of method that uses genetic data to identify kin pairs and estimates population size from these pairs. Although CKMR methods are promising, a major limitation to using them more broadly is a lack of CKMR models that can deal with spatial heterogeneity both in population density and sample effort. We introduce a simulation-based approach to CKMR that uses spatially explicit individual-based simulation in concert with a deep convolutional neural network to estimate population sizes. Using extensive simulation, we show that our method, CKMRnn, is highly accurate, even in the face of spatial heterogeneity, and demonstrate that it can account for potential confounders such as unknown population histories. Finally, to demonstrate the accuracy of our method in an empirical system, we apply CKMRnn to data from a Ugandan elephant population, and show that point estimates from our method recapitulate those from traditional estimators but that the confidence interval on our estimator is reduced by approximately 30%.

ecology↗

Accessible, realistic genome simulation with selection using stdpopsim

Selection is a fundamental evolutionary force that shapes patterns of genetic variation across species. However, simulations incorporating realistic selection along heterogeneous genomes in complex demographic histories are challenging, limiting our ability to benchmark statistical methods aimed at detecting selection and to explore theoretical predictions. stdpopsim is a community-maintained simulation library that already provides an extensive catalog of species-specific population genetic models. Here we present a major extension to the stdpopsim framework that enables simulation of various modes of selection, including background selection, selective sweeps, and arbitrary distributions of fitness effects (DFE) acting on annotated subsets of the genome (for instance, exons). This extension maintains stdpopsims core principles of reproducibility and accessibility while adding support for species-specific genomic annotations and published DFE estimates. We demonstrate the utility of this framework by comparing methods for demographic inference, DFE estimation, and selective sweep detection across several species and scenarios. Our results demonstrate the robustness of demographic inference methods to selection on linked sites, reveal the sensitivity of DFE-inference methods to model assumptions, and show how genomic features, like recombination rate and functional sequence density, influence power to detect selective sweeps. This extension to stdpopsim provides a powerful new resource for the population genetics community to explore the interplay between selection and other evolutionary forces in a reproducible, user-friendly framework.

evolutionary biology↗

On ARGs, pedigrees, and genetic relatedness matrices

Genetic relatedness is a central concept in genetics, underpinning studies of population and quantitative genetics in human, animal, and plant settings. It is typically stored as a genetic relatedness matrix (GRM), whose elements are pairwise relatedness values between individuals. This relatedness has been defined in various contexts based on pedigree, genotype, phylogeny, coalescent times, and, recently, ancestral recombination graph (ARG). ARG-based GRMs have been found to better capture the structure of a population and improve association studies relative to the genotype GRM. However, calculating GRMs and further operations with them is fundamentally challenging due to inherent quadratic time and space complexity. Here, we first discuss the different definitions of relatedness in a unifying context, making use of the additive model of a quantitative trait to provide a definition of "branch relatedness" and the corresponding "branch GRM". We explore the relationship between branch relatedness and pedigree relatedness through a case study of French-Canadian individuals that have a known pedigree. Through the tree sequence encoding of an ARG, we then derive an efficient algorithm for computing products between the branch GRM and a general vector, without explicitly forming the branch GRM. This algorithm leverages the sparse encoding of genomes with the tree sequence and hence enables large-scale computations with the branch GRM. We demonstrate the power of this algorithm by developing a randomized principal components algorithm for tree sequences that easily scales to millions of genomes. All algorithms are implemented in the open source tskit Python package. Taken together, this work consolidates the different notions of relatedness as branch relatedness and by leveraging the tree sequence encoding of an ARG it provides efficient algorithms that enable computations with the branch GRM that scale to mega-scale genomic datasets.

genomics↗

Likelihoods for a general class of ARGs under the SMC

Ancestral recombination graphs (ARGs) are the focus of much ongoing research interest. Recent progress in inference has made ARG-based approaches feasible across of range of applications, and many new methods using inferred ARGs as input have appeared. This progress on the long-standing problem of ARG inference has proceeded in two distinct directions. First, the Bayesian inference of ARGs under the Sequentially Markov Coalescent (SMC), is now practical for tens-to-hundreds of samples. Second, approximate models and heuristics can now scale to sample sizes two to three orders of magnitude larger. Although these heuristic methods are reasonably accurate under many metrics, one significant drawback is that the ARGs they estimate do not have the topological properties required to compute a likelihood under models such as the SMC under present-day formulations. In particular, heuristic inference methods typically do not estimate precise details about recombination events, which are currently required to compute a likelihood. In this paper we present a backwards-time formulation of the SMC and derive a straightforward definition of the likelihood of a general class of ARG under this model. We show that this formulation does not require precise details of recombination events to be estimated, and is robust to the presence of polytomies. We discuss the possibilities for inference that this opens.

genomics↗

Sweeps in space: leveraging geographic data to identify beneficial alleles in Anopheles gambiae

As organisms adapt to environmental changes, natural selection modifies the frequency of non-neutral alleles. For beneficial mutations, the outcome of this process may be a selective sweep, in which an allele rapidly increases in frequency and perhaps reaches fixation within a population. Selective sweeps have well-studied effects on patterns of local genetic variation in panmictic populations, but much less is known about the dynamics of sweeps in continuous space. In particular, because limited movement across a landscape leads to unique patterns of population structure, spatial dynamics may influence the trajectory of selected mutations. Here, we use forward-in-time, individual-based simulations in continuous space to study the impact of space on beneficial mutations as they sweep through a population. In particular, we show that selection changes the joint distribution of allele frequency and geographic range occupied by a focal allele and demonstrate that this signal can be used to identify selective sweeps. We then leverage this signal to identify in-progress selective sweeps within the malaria vector Anopheles gambiae, a species under strong selection pressure from vector control measures. By considering space, we identify multiple previously undescribed variants with potential phenotypic consequences, including mutations impacting known IR-associated genes and altering protein structure and properties. Our results demonstrate a novel signal for detecting selection in spatial population genetic data that may have implications for genomic surveillance and understanding geographic patterns of genetic variation.

evolutionary biology↗

Quantitative Genetics of Microbiome Mediated Traits

Multicellular organisms host a rich assemblage of associated microorganisms, collectively known as their "microbiomes". Microbiomes have the capacity to influence their hosts fitnesses, but the conditions under which such influences contribute to evolution are not clear. This is due in part to a lack of a comprehensive theoretical framework for describing the combined effects of host and associated microbes on phenotypic variation. Here we address this gap by extending the foundations of quantitative genetic theory to include host-associated microbes, as well as alleles of hosts, as factors that explain quantitative host trait variation. We introduce a way to partition host-associated microbiomes into components relevant for predicting a microbiome-mediated response to selection. We then apply our general framework to a simulation model of microbiome inheritance to illustrate principles for predicting host trait dynamics, and to generalize classical narrow and broad sense heritabilities to account for microbial effects. We demonstrate that microbiome-mediated responses to host-level selection can arise from various transmission modes, not solely vertical, but that the contribution of non-vertical modes can depend strongly on host life history. Our work lays a foundation for integrating microbiome-mediated host variation and adaptation into our understanding of natural variation.

evolutionary biology↗

A forest is more than its trees: haplotypes and inferred ARGs

Foreshadowing haplotype-based methods of the genomics era, it is an old observation that the "junction" between two distinct haplotypes produced by recombination is inherited as a Mendelian marker. In a genealogical context, this recombination-mediated information reflects the persistence of ancestral hap-lotypes across local genealogical trees in which they do not represent coalescences. We show how these non-coalescing haplotypes ("locally-unary nodes") may be inserted into ancestral recombination graphs (ARGs), a compact but information-rich data structure describing the genealogical relationships among recombinant sequences. The resulting ARGs are smaller, faster to compute with, and the additional ancestral information that is inserted is nearly always correct where the initial ARG is correct. We provide efficient algorithms to infer locally-unary nodes within existing ARGs, and explore some consequences for ARGs inferred from real data. To do this, we introduce new metrics of agreement and disagreement between ARGs that, unlike previous methods, consider ARGs as describing relationships between haplotypes rather than just a collection of trees.

genomics↗

Population genetics meets ecology: a guide to individual-based simulations in continuous landscapes

Individual-based simulation has become an increasingly crucial tool for many fields of population biology. However, continuous geography is important to many applications, and implementing realistic and stable simulations in continuous space presents a variety of difficulties, from modeling choices to computational efficiency. This paper aims to be a practical guide to spatial simulation, helping researchers to implement individual-based simulations and avoid common pitfalls. To do this, we delve into mechanisms of mating, reproduction, density-dependent feedback, and dispersal, all of which may vary across the landscape, discuss how these affect population dynamics, and describe how to parameterize simulations in convenient ways (for instance, to achieve a desired population density). We also demonstrate how to implement these models using the current version of the individual-based simulator, SLiM. We additionally discuss natural selection - in particular, how genetic variation can affect demographic processes. Finally, we provide four short vignettes: simulations of pikas that shift their range up a mountain as temperatures rise; mosquitoes that live in rivers as juveniles and experience seasonally changing habitat; cane toads that expand across Australia, reaching 120 million individuals; and monarch butterflies whose populations are regulated by an explicitly modeled resource (milkweed).

evolutionary biology↗

Estimation of spatial demographic maps from polymorphism data using a neural network

A fundamental goal in population genetics is to understand how variation is arrayed over natural landscapes. From first principles we know that common features such as heterogeneous population densities and barriers to dispersal should shape genetic variation over space, however there are few tools currently available that can deal with these ubiquitous complexities. Geographically referenced single nucleotide polymorphism (SNP) data are increasingly accessible, presenting an opportunity to study genetic variation across geographic space in myriad species. We present a new inference method that uses geo-referenced SNPs and a deep neural network to estimate spatially heterogeneous maps of population density and dispersal rate. Our neural network trains on simulated input and output pairings, where the input consists of genotypes and sampling locations generated from a continuous space population genetic simulator, and the output is a map of the true demographic parameters. We benchmark our tool against existing methods and discuss qualitative differences between the different approaches; in particular, our program is unique because it infers the magnitude of both dispersal and density as well as their variation over the landscape, and it does so using SNP data. Similar methods are constrained to estimating relative migration rates, or require identity by descent blocks as input. We applied our tool to empirical data from North American grey wolves, for which it estimated mostly reasonable demographic parameters, but was affected by incomplete spatial sampling. Genetic based methods like ours complement other, direct methods for estimating past and present demography, and we believe will serve as valuable tools for applications in conservation, ecology, and evolutionary biology. An open source software package implementing our method is available from https://github.com/kr-colab/mapNN.

evolutionary biology↗

Genetic architecture, spatial heterogeneity, and the coevolutionary arms race between newts and snakes

AbstractCoevolution between two species can lead to exaggerated phenotypes that vary in a cor-related manner across space. However, the conditions under which we expect such spatially varying coevolutionary patterns in polygenic traits are not well-understood. We investigate the coevolutionary dynamics between two species undergoing reciprocal adaptation across space and time, using simulations inspired by the Taricha newt - Thamnophis garter snake system. One striking observation from this system is that newts in some areas carry much more tetrodotoxin than in other areas, and garter snakes that live near more toxic newts tend to be more resistant to this toxin, a correlation seen across several broad geographic areas. Furthermore, snakes seem to be "winning" the coevolutionary arms race, i.e., having a high level of resistance compared to local newt toxicity, despite substantial variation in both toxicity and resistance across the range. We explore how possible genetic architectures of the toxin and resistance traits would affect the coevolutionary dynamics by manipulating both mutation rate and effect size of mutations across many simulations. We find that coevolutionary dynamics alone were not sufficient in our sim-ulations to produce the striking mosaic of levels of toxicity and resistance observed in nature, but simulations with ecological heterogeneity (in trait costliness or interaction rate) did produce such patterns. We also find that in simulations, newts tend to "win" across most combinations of genetic architectures, although the species with higher mutational genetic variance tends to have an advantage.

evolutionary biology↗

link-ancestors: Fast simulation of local ancestry with tree sequence software

SummaryIt is challenging to simulate realistic tracts of genetic ancestry on a scale suitable for simulation based inference. We present an algorithm that enables this information to be extracted efficiently from tree sequences produced by simulations run with msprime and SLiM. Availability and ImplementationA C-based implementation of the link-ancestors algorithm is in tskit (https://tskit.dev/tskit/docs/stable/). We also provide a user-friendly wrapper for link-ancestors in tspop, a Python-based utility package. Contactgtsambos@uw.edu. Supplementary informationTechnical details of link-ancestors are in the Supplementary Information. Documentation for the tspop package is at http://tspop.readthedocs.io/.

genomics↗

Evidence for admixture and rapid evolution during glacial climate change in an alpine specialist

The pace of current climate change is expected to be problematic for alpine flora and fauna, as their adaptive capacity may be limited by small population size. Yet despite substantial genetic drift following post-glacial recolonization of alpine habitats, alpine species are notable for their success in surviving highly heterogeneous environments. Population genomic analyses demonstrating how alpine species have adapted to novel environments with limited genetic diversity remain rare, yet are important in understanding the potential for species to respond to contemporary climate change. In this study, we explored the evolutionary history of alpine ground beetles in the Nebria ingens complex, including the demographic and adaptive changes that followed the last glacier retreat. Using whole genome data from hundreds of beetles, to test alternative models of evolutionary divergence in the species complex, we found evidence that the Nebria ingens complex has been formed by past admixture of lineages responding to glacial cycles. Recolonization of alpine sites involved a distributional range shift to higher elevation, which was accompanied by a reduction in suitable habitat and the emergence of complex spatial genetic structure. We also used genome-wide association and genotype-environment association methods to look for genetic pathways involved in adaptation to heterogeneous new environments during this range shift. The identified genes were enriched for functions broadly associated with abiotic stress responses, with strong evidence for adaptation to hypoxia-related pathways. The results demonstrate that despite rapid environmental changes, alpine beetles in the N. ingens complex have shown rapid physiological evolution.

evolutionary biology↗

Large effects and the infinitesimal model

The infinitesimal model of quantitative genetics relies on the Central Limit Theorem to stipulate that under additive models of quantitative traits determined by many loci having similar effect size, the difference between an offsprings genetic trait component and the average of their two parents genetic trait components is Normally distributed and independent of the parents values. Here, we investigate how the assumption of similar effect sizes affects the model: in particular, if the tail of the effect size distribution is polynomial with exponent < 2, then sums of effects should be well-approximated by a "stable distribution", and find tail exponents between 1 and 2 in effect sizes estimated by genome-wide association studies of many human disease-related traits. We show that the independence of offspring trait deviations from parental averages in many cases implies a Gaussian distribution, suggesting that non-Gaussian models of trait evolution must explicitly track the underlying genetics, at least for loci of large effect. We also characterize possible limiting trait distributions of the infinitesimal model with infinitely divisible noise distributions, and compare our results to simulations.

evolutionary biology↗