Search bioRxiv⌕ Search

bioRxiv · 10.1101/2023.02.07.527435

IntroUNET: identifying introgressed alleles via semantic segmentation

Abstract

1A growing body of evidence suggests that gene flow between closely related species is a widespread phenomenon. Alleles that introgress from one species into a close relative are typically neutral or deleterious, but sometimes confer a significant fitness advantage. Given the potential relevance to speciation and adaptation, numerous methods have therefore been devised to identify regions of the genome that have experienced introgression. Recently, supervised machine learning approaches have been shown to be highly effective for detecting introgression. One especially promising approach is to treat population genetic inference as an image classification problem, and feed an image representation of a population genetic alignment as input to a deep neural network that distinguishes among evolutionary models (i.e. introgression or no introgression). However, if we wish to investigate the full extent and fitness effects of introgression, merely identifying genomic regions in a population genetic alignment that harbor introgressed loci is insufficient--ideally we would be able to infer precisely which individuals have introgressed material and at which positions in the genome. Here we adapt a deep learning algorithm for semantic segmentation, the task of correctly identifying the type of object to which each individual pixel in an image belongs, to the task of identifying introgressed alleles. Our trained neural network is thus able to infer, for each individual in a two-population alignment, which of those individuals alleles were introgressed from the other population. We use simulated data to show that this approach is highly accurate, and that it can be readily extended to identify alleles that are introgressed from an unsampled "ghost" population, performing comparably to a supervised learning method tailored specifically to that task. Finally, we apply this method to data from Drosophila, showing that it is able to accurately recover introgressed haplotypes from real data. This analysis reveals that introgressed alleles are typically confined to lower frequencies within genic regions, suggestive of purifying selection, but are found at much higher frequencies in a region previously shown to be affected by adaptive introgression. Our methods success in recovering introgressed haplotypes in challenging real-world scenarios underscores the utility of deep learning approaches for making richer evolutionary inferences from genomic data. 2 Author SummaryIt is now known that a sizeable fraction of species occasionally hybridize with related species. Thus, many species harbor genetic material that traces its ancestry to closely related species. For example, many humans contain DNA that was "introgressed" from Neanderthals. The growing appreciation of the commonality of introgression has sparked a keen interest in determining which portions of the genome were introgressed. Several statistical approaches have been devised for identifying the population genetic signatures of introgression, but the most powerful techniques for this task take advantage of modern machine learning techniques. Here, we describe a deep learning method for identifying segments of introgressed DNA. This method is based on neural networks used to determine which pixels in an image belong to which type of object. By treating a matrix of genotypes from a sample of individuals from two closely related species, we can use this deep learning approach to accurately infer which portions of which genomes from the first population were introgressed from the second, and vice-versa. We show that our method, which we have released as an open-source software package, is highly accurate using a variety of simulated scenarios and a real test case from the genus Drosophila.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ray, D. D., Flagel, L., Schrider, D. R.. 2023-02-07. IntroUNET: identifying introgressed alleles via semantic segmentation. https://doi.org/10.1101/2023.02.07.527435

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

KEEP EXPLORING

Related preprints

Ocean current models predict spatial structure for coastal biodiversity

Genomic diversity provides the raw material through which all evolutionary processes occur. Accurately describing how environmental features affect patterns of diversity shows promise in predicting the resilience of populations and entire communities to dynamic environments and novel stressors. Identifying the contribution of purely neutral responses to environmental effects can be difficult, especially across large spatial ranges with many covarying environmental features. Using an individual-based model of larvae carried by ocean currents, we predict patterns of neutral genomic diversity in a passively dispersed coastal species, suggesting large geographic regions of relative homogeneity with ancestry determined by the nearest "upstream" population with limited larval input. The genomic identity that dominates each region sharply transitions at the next such interruption, generating hierarchical structure and violating assumptions of isolation-by-distance. We call these upstream populations "lineage source regions" (LSRs), and we find strong concordance between LSR model predictions and an empirical population genomic survey of a keystone salt marsh mussel (Geukensia demissa). We quantitatively validate model performance and goodness-of-fit, updating baseline predictions of genomic diversity patterns from the classic isolation-by-distance model to this LSR framework. This spatially explicit coastal ancestry model has potential for generalization across passive dispersing species.

evolutionary biology↗

Shared landscape, divergent genomes: Comparative population genomics of co-occurring flora in an isolated Australian mountain range

Understanding how landscape heterogeneity shapes genomic variation is key to conserving biodiversity and evolutionary potential. Yet conservation genomics is typically conducted at the single species level, limiting our ability to identify shared genomic patterns or understand how co-occurring taxa differ in their response to common environmental gradients. We assessed spatial patterns of genomic variation and their associations with geographic and environmental features among populations of nine co-existing plant species with contrasting life-histories and ecological traits across Gariwerd, a threatened biodiversity hotspot in south-eastern Australia. All species exhibited weak overall genetic structure, although the magnitude and spatial distribution of differentiation varied among species. Despite this variation, broadly consistent spatial trends were apparent, with higher genomic divergence largely concentrated in central zones and higher genomic diversity localised in southern regions of the landscape. Significant associations between genetic differentiation and geographic distance were observed in three species, while another species showed associations with environmental distance. These findings demonstrate that coexisting species can show overlapping spatial patterns in genomic variation while differing markedly in their associations with geographic and environmental variation across the same landscape. This comparative approach provides a basis for spatial prioritisation and conservation planning, while highlighting the complex eco-evolutionary processes operating across heterogeneous landscapes.

evolutionary biology↗

BryoCAD: Extending Plant DNA Foundation Models Beyond Flowering Plants

Bryophytes exhibit diverse genome architectures and gene repertoires, yet their functional interpretation remains constrained by incomplete genomic annotations and limited experimental resources. Although DNA foundation models offer promising solutions, their applicability to evolutionarily divergent bryophytes remains largely unexplored. Here, we introduce BryoCAD, a DNA language model developed through continued pre-training of the angiosperm-specific PlantCAD2 model on 17 bryophyte genomes spanning hornworts, liverworts, and mosses. Across three representative bryophyte genomes and four gene-boundary motif recovery tasks, BryoCAD-Small improved mean zero-shot accuracy from 45.7% to 57.0%, a 24.8% relative increase over PlantCAD2-Small, while the over 200-fold larger Evo2-20B achieved a mean accuracy of only 39.3%. Remarkably, BryoCAD-Small outperformed PlantCAD2-Large in 11 of 12 motif-recovery comparisons across the three bryophytes, highlighting the benefits of lineage-specific adaptation over model scaling alone. These improvements extended to all six tested algal species, increasing mean accuracy from 26.3% to 37.5%, although performance varied across ferns and gymnosperms. BryoCAD also enhanced gene structure annotation: replacing PlantCAD2-Small with BryoCAD-Small increased transcript-level F1 scores from 0.578 to 0.625 in Marchantia polymorpha and from 0.485 to 0.530 in Physcomitrium patens. Together, our findings demonstrate that lineage-specific continued pre-training enhances genomic sequence interpretation and gene annotation across bryophytes, providing a transferable framework for extending DNA foundation models to evolutionarily diverse, understudied plant lineages.

evolutionary biology↗