bioRxiv Science⌕ 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

Global homeostatic forces shape the composition of a hyperdiverse tropical insect fauna

Despite comprising the bulk of terrestrial biodiversity, we know surprisingly little about insect faunas, particularly in the tropics. Here, we characterize the insect fauna of Madagascar, a global biodiversity hotspot, based on extensive DNA metabarcoding of Malaise trap and leaf litter samples. We estimate that the fauna comprises at least 250,000 species, only 5% of which are currently recorded. The ecological and taxonomic composition is surprisingly similar to that of temperate forests. We show that this is likely caused by global homeostatic forces shaping net diversification rates after colonization of Madagascar rather than by the composition of colonizing lineages. Features differing from temperate forests include the dearth of parasitoids and richness of beetles. Understanding the forces shaping these patterns is key in sustainable management of tropical insect faunas.

evolutionary biology↗

Do divergent mitochondrial backgrounds alter the fate of nuclear alleles during hybridization and admixture?

Hybridization brings together genetic variation from different populations or species into admixed genomes. As selection sorts this variation, the fate of each allele is determined by its fitness effect in the new hybrid genomic background. Because mitochondrial genes coevolve with the nuclear genome, they may be especially sensitive to foreign nuclear backgrounds, making them potential "hot-spots" for hybrid incompatibilities. Here, we test whether selection against mitonuclear incompatibilities drives repeatable hybridization outcomes. Specifically, we experimentally evolved three sets of five populations of hybrid Drosophila melanogaster, each carrying the same nuclear chromosomes but paired with one of three increasingly divergent mitochondrial DNA backgrounds. We hypothesized that accumulated incompatibilities would result in different patterns of nuclear admixture among mitochondrial backgrounds. To test this, we tracked nuclear allele frequencies in all 15 populations by whole-genome sequencing at intermediate time points. After 25 generations, we observed that rapid genomic evolution produced a strikingly parallel mosaic of both nuclear ancestries, independent of mitochondrial background. Contrary to our hypothesis, we found no evidence that mitochondrial background1 shaped nuclear admixture, even for interspecific combinations. These results suggest that in species with large effective population sizes, efficient purifying selection limits the accumulation of mitonuclear incompatibilities, allowing selection on nuclear alleles to promote repeatable ancestry sorting immediately following hybridization.

evolutionary biology↗

Body size cascades from Neodiprion sawfly hosts to Perilampid parasitoids: An investigation of sequential divergence

Ecological speciation drives diversity in plant-eating insect systems, but it may also generate parallel specialization in parasitoid associates in a cascading effect of "sequential divergence." However, sequential divergence has never been successfully identified in parasitoids of externally feeding insects. To address this gap, we consider the Pinus-Neodiprion-Perilampus neodiprioni system, where plant-associated, externally feeding Neodiprion demonstrate ecological divergence, as supported by body size as a magic trait in sympatric species. It seems possible that this body size differentiation may cascade to Neodiprion's parasitoids via sequential divergence. Therefore, we asked, "Does P. neodiprioni exhibit host-specific divergence in body size that parallels patterns in Neodiprion hosts?" Further, "Does P. neodiprioni exhibit host-related variation in the abdominal region or sexually dimorphic features, supporting reproductive barriers?" Using by-catch samples, we measured body size of P. neodiprioni, reared from Neodiprion lecontei and Neodiprion pinetum hosts. We analyzed body size variation as predicted by host species, parasitoid sex, host sex, host cocoon size, latitude, and their interactions. In addition, we used mixed models to analyze the effects of parasitoid sex and Neodiprion host on three size-based facial features. We found that P. neodiprioni demonstrates host-associated body size variation that mirrors size differences in their Neodiprion hosts. In addition, host-associated size variation occurs in the abdominal region and two sexually dimorphic characters of P. neodiprioni, supporting possible reproductive isolation. Together, these patterns suggest that host magic traits may drive not only within-species ecological divergence, but they can facilitate parasitoids' subsequent morphological differentiation and possible sequential divergence.

evolutionary biology↗