Search bioRxiv⌕ Search

bioRxiv · 10.1101/2022.07.19.500702

Inference of selective sweep parameters through supervised learning

Abstract

A selective sweep occurs when positive selection drives an initially rare allele to high population frequency. In nature, the precise parameters of a sweep are seldom known: How strong was positive selection? Did the sweep involve only a single adaptive allele (hard sweep) or were multiple adaptive alleles at the locus sweeping at the same time (soft sweep)? If the sweep was soft, did these alleles originate from recurrent new mutations (RNM) or from standing genetic variation (SGV)? Here, we present a method based on supervised machine learning to infer such parameters from the patterns of genetic variation observed around a given sweep locus. Our method is trained on sweep data simulated with SLiM, a fast and flexible framework that allows us to generate training data across a wide spectrum of evolutionary scenarios and can be tailored towards the specific population of interest. Inferences are based on summary statistics describing patterns of nucleotide diversity, haplotype structure, and linkage disequilibrium, which are estimated across systematically varying genomic window sizes to capture sweeps across a wide range of selection strengths. We show that our method can accurately infer selection coefficients in the range 0.01 < s < 100 and classify sweep types between hard sweeps, RNM soft sweeps, and SGV soft sweeps with accuracy 69 % to 95 % depending on sweep strength. We also show that the method infers the correct sweep types at three empirical loci known to be associated with the recent evolution of pesticide resistance in Drosophila melanogaster. Our study demonstrates the power of machine learning for inferring sweep parameters from present-day genotyping samples, opening the door to a better understanding of the modes of adaptive evolution in nature. Author summaryAdaptation often involves the rapid spread of a beneficial genetic variant through the population in a process called a selective sweep. Here, we develop a method based on machine learning that can infer the strength of selection driving such a sweep, and distinguish whether it involved only a single adaptive variant (a so-called hard sweep) or several adaptive variants of independent origin that were simultaneously rising in frequency at the same genomic position (a so-called soft selective sweep). Our machine learning method is trained on simulated data and only requires data sampled from a single population at a single point in time. To address the challenge of simulating realistic datasets for training, we explore the behavior of the method under a variety of testing scenarios, including scenarios where the history of the population of interest was misspecified. Finally, to illustrate the accuracy of our method, we apply it to three known sweep loci that have contributed to the evolution of pesticide resistance in Drosophila melanogaster.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Caldas, I. V., Clark, A. G., Messer, P. W.. 2022-07-20. Inference of selective sweep parameters through supervised learning. https://doi.org/10.1101/2022.07.19.500702

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Measuring the strength of selection and pollen limitation on flower colour along an urban rural cline in Hesperis matronalis

Closely located urban and rural environments can differ in temperature, water availability, species diversity, and more. As a result, organisms in urban environments may experience different selection than those in rural environments. We investigated whether differences in selection might explain a previously identified urban-rural cline in the flower colour of Hesperis matronalis (dame's rocket). To explore whether plants in urban and rural environments are impacted by possible differences in pollinator availability or behavior, we performed a pollen supplementation experiment. We did not detect an effect of pollen supplementation on seed production in either setting (urban or rural), indicating that there is limited opportunity for any differences in pollinator availability or visitation to explain the cline in flower colour. We also measured the strength of selection acting on flower colour to investigate if it differed between urban and rural populations. In all but one population, we failed to detect significant linear or non-linear selection on flower colour, suggesting that selection on flower colour does not differ between urban and rural populations. Our results suggest that the urban-rural flower colour cline is likely not caused by differences in selection or pollen-limitation and may be due to stochastic forces.

evolutionary biology↗

An elongated lifespan is associated with higher oxidative protection of flight tissue in Heliconiini butterflies

Evolutionary theories of ageing often invoke trade-offs in resource allocation between somatic maintenance and other important physiological functions. One proposed mechanistic mediator of these trade-offs is oxidative stress, which arises from an imbalance between an organism's production of reactive oxygen species and its ability to detoxify them. Accordingly, many long-lived species across the animal kingdom show evidence for resistance to oxidative stress. However, it can be difficult to associate lifespan differences with oxidative phenotypes when comparing species across wide taxonomic distances, which may also show large differences in physiology. Butterflies in the long-lived Heliconius genus show a 3-fold lifespan extension and slowed ageing in comparison with their close relatives in the Heliconiini tribe, to whom they are phylogenetically, ecologically, and physiologically similar. However, proximate explanations for this extended longevity are currently lacking. Here, we leverage the neat comparative framework between Heliconius hecale and Dryas iulia, a shorter-lived Heliconiini outgroup, to test whether the observed lifespan differences between the two species are associated with differences in oxidative physiology. Our findings suggest superior oxidative protection of thoracic tissue in the longer-lived H. hecale compared to D. iulia, as evidenced by increased superoxide dismutase activity, increased total antioxidant capacity, and a corresponding reduction in lipid peroxidation in this tissue. Considering the metabolic demands of insect flight, we suggest that this oxidative phenotype may contribute to the extended longevity of Heliconius by enhancing protection of thoracic tissues against oxidative damage, representing a plausible proximate pro-longevity mechanism in this genus.

evolutionary biology↗

Both genetic and social inheritance influence female aggressive and submissive behavior in a wild primate

Agonistic interactions are important determinants of resource access in wild animals, but their genetic basis remains poorly understood. Here we use a quantitative genetics approach to estimate the heritability of aggressive and submissive behavior of wild female baboons, considering relative rates of both individual and dyadic aggression and submission. To control for the social inheritance that creates kin-based dominance hierarchies, we implemented a multi-matrix model that included a social status similarity matrix alongside the additive genetic matrix. Despite a substantial contribution of social inheritance, especially for submissive behavior, we found heritable components for both aggressive and submissive behavior (h2=0.21 and h2=0.09-0.11, respectively). In dyadic models, aggressive behavior was primarily influenced by the aggressor's genotype (a direct genetic effect), while submissive behavior was primarily affected by the social partner's genotype (an indirect genetic effect). Finally, we found evidence for a negative genetic (but not phenotypic) correlation between aggressive and submissive behavior within dyads, and a negative genetic correlation between submissive behavior and eliciting submissive behavior. Together, our results highlight how direct genetic, indirect genetic, and social inheritance effects combine to influence primate social behavior.

evolutionary biology↗