Archaic admixture has had a substantial impact on human evolution with multiple events across different clades, including from extinct hominins such as Neanderthals and Denisovans into modern humans. In great apes, archaic admixture has been identified in chimpanzees and bonobos but the possibility of such events has not been explored in other species. Here, we address this question using high-coverage whole-genome sequences from all four extant gorilla subspecies, including six newly sequenced eastern gorillas from previously unsampled geographic regions. Using approximate Bayesian computation with neural networks to model the demographic history of gorillas, we find a signature of admixture from an archaic ‘ghost’ lineage into the common ancestor of eastern gorillas but not western gorillas. We infer that up to 3% of the genome of these individuals is introgressed from an archaic lineage that diverged more than 3 million years ago from the common ancestor of all extant gorillas. This introgression event took place before the split of mountain and eastern lowland gorillas, probably more than 40 thousand years ago and may have influenced perception of bitter taste in eastern gorillas. When comparing the introgression landscapes of gorillas, humans and bonobos, we find a consistent depletion of introgressed fragments on the X chromosome across these species. However, depletion in protein-coding content is not detectable in eastern gorillas, possibly as a consequence of stronger genetic drift in this species.
Gorillas are a member of the great apes and form a sister clade to Homo (human) and Pan (chimpanzees and bonobos). Extant gorillas consist of four recognized subspecies, which cluster into two species, a western species of western lowland (Gorilla gorilla gorilla) and Cross River (Gorilla gorilla diehli) gorillas and an eastern species of eastern lowland (Gorilla beringei graueri) and mountain gorillas (Gorilla beringei beringei)1. All gorilla subspecies are either endangered or critically endangered under IUCN criteria2,3,4.
The subspecies are distributed across western and eastern Africa in a non-continuous manner (Fig. 1a). The current geographic ranges of the different subspecies differ by size, continuity and ecology, impacting connectivity and population sizes5. Western lowland gorillas are endemic to a largely continuous range of considerable size, whereas the other subspecies have much more fragmented distributions6. Likewise, western lowland gorillas exhibit the highest genetic diversity of the subspecies5,7,8, indicative of long-term high effective population sizes, while eastern gorilla effective population sizes are smaller9. Mountain gorillas are currently isolated in two discrete areas, the Virunga Volcanoes Massif and the Bwindi Impenetrable National Park. The Bwindi National Park is located at a lower elevation than the Virunga Volcanoes and as such has warmer temperatures10,11. Previous studies of the demographic history of gorillas did not incorporate information from all subspecies and were not conclusive, especially about the divergence time between the eastern and western clade9,12,13,14,15. This might be due to gene flow from unsampled lineages, which is probably widespread but is often insufficiently considered in evolutionary studies16,17. While uncovering such hidden introgression events in gorillas is not possible from ancient DNA from fossil remains, as has been performed in humans18, it is possible to address such questions using genomic data from present-day individuals19,20,21,22.
To address this question, we use high-coverage whole-genome sequences of 28 western and 21 eastern gorillas. In addition to previously published genomes7,8, we sequenced the genomes of five mountain gorillas from the Bwindi National Park and one eastern lowland gorilla from the isolated population of Mount Tshiaberimu. These new genomes contribute to a more complete representation of the genomic diversity of eastern gorillas. Using this expanded dataset, representing all four known gorilla subspecies, we explored the demographic history of gorillas and specifically the hypothesis of ghost introgression, defined as gene flow from an unsampled archaic lineage. Given its substantial impact in their sister taxa of Pan and Homo as well as many other species18,21,22, such ghost introgression events may explain some of the uncertainties in previous demographic models for gorillas. Using an approximate Bayesian computation (ABC) approach, we find evidence for introgression from an extinct lineage into the common ancestor of eastern gorillas and characterize some of the functional consequences of this introgressed genetic material.
Eastern gorillas form two population clusters
We newly sequenced six eastern gorillas to high coverage (on average, 28.6×). After reprocessing the sequencing data from previous studies (Methods), we obtained a dataset of 49 individuals, with 27 western lowland gorillas, one Cross River gorilla, 12 mountain gorillas and nine eastern lowland gorillas (Extended Data Table 1). We performed a principal component analysis (PCA; Methods) to ascertain whether the newly sequenced individuals cluster with individuals from the same subspecies. The first PC separates western and eastern gorillas, as previously observed, and the second PC separates mountain gorillas from eastern lowland gorillas (Fig. 1b). Since the new individual from the isolated Mount Tshiaberimu population clusters within the distribution of the other eastern lowland gorillas (Fig. 1b), this individual is, as expected, considered a representative of this subspecies. The third PC reflects population stratification within western lowland gorillas, whereas the fourth PC separates the eastern gorillas, with the two mountain gorilla populations from Virunga and Bwindi at the extremes (Fig. 1c), explaining 3.2% of the variance. This is well in agreement with previous studies7,8.
ABC modelling favours a ghost lineage in eastern gorillas
To infer a demographic model for the four extant gorilla subspecies, we used a neural-network based ABC modelling strategy using windowed summary statistics and extensive simulations (Methods; Extended Data Fig. 1), based on a previous implementation in the Pan clade22. A main improvement is the implementation of a broad range of informative summary statistics (Supplementary Table 5), as is common practice for ABC studies in modern and ancient humans23.
We first established a demographic null model of the four populations (Extended Data Fig. 2a and Supplementary Fig. 5), on the basis of previous studies3,7,8,24,25,26,27. Notably, although none of these studies incorporated whole-genome data from all subspecies, our inferred parameters are largely coherent with previous work (Supplementary Tables 1 and 2). Nevertheless, unaccounted demographic events such as ancient population structure or ghost admixture could affect parameter estimates16, particularly given evidence in other great apes22. Initial exploratory analyses with f4-statistics and admixture graphs (Supplementary Section 2) did not show any asymmetries between the four gorilla terminal populations, which would arise if ghost admixture had occurred in any of the individual subspecies. However, this does not exclude the possibility of ghost admixture into the common ancestor of eastern or western gorillas, which these methods cannot assess. To account for this and explicitly test if ghost admixture could improve the inferred null demographic model (model A), we considered two more complex demographic models, in which we added the possibility of ‘ghost’ introgression into the common ancestor of eastern gorillas (model B) and western gorillas (model C). We assessed the robustness of our ghost models B and C using a wider parameter space (Supplementary Figs. 8–10; Methods), resulting in coherent posteriors with those observed in models B and C (Supplementary Table 2), albeit with wider confidence intervals (CIs), as expected given the increased model complexity (Supplementary Fig. 8). We performed a formal comparison of these models (Methods), to determine which fits the empirical data best. Model B, with archaic gene flow to the common eastern ancestor had the highest posterior model probability of 0.9973, compared to models A (0.0027) and C (0) and a substantially higher Bayes factor (374 versus 0.0027 for model A and 0 for model C). In a cross-validation analysis, the model with archaic introgression into eastern gorillas was clearly distinguishable from the model without (Supplementary Table 3). We conclude that a model with archaic introgression into the common eastern ancestor best explains the observed summary statistics in the empirical data (for full posterior distributions see Extended Data Fig. 3).
We infer that eastern gorillas experienced bottlenecks and generally had lower effective population sizes than western gorillas, while mountain gorillas and eastern lowland gorillas experienced a particularly strong population decrease (Supplementary Tables 1 and 2), as described previously8,24. We infer that the eastern subspecies split at 15,000 years ago (ka) (14–16 ka, 95% credible interval (CrI), Supplementary Tables 1 and 2). In agreement with previous studies13, we see a population expansion in western lowland gorillas ~40 ka. Our null demographic model infers a large ancestral population size for western gorillas (effective population size, Ne = 98,135), in comparison to that of other gorilla populations, as well as a split between the western gorilla subspecies at ~454 ka (448–456 ka 95% CrI). Considering that not all summary statistics could be calculated for Cross River gorillas (where only one sample was available) and gene flow between western gorilla subspecies was not modelled, we caution that the confidence in this split time might be low. Finally, we infer that gorillas diverged into two species ~965 ka (729–1,104 ka 95% CrI), which is within the higher range of previous estimates9,12,28.
For simplicity, we modelled extant admixture as single migration pulses over one generation, finding a small contribution of gene flow from the common eastern ancestor to the western lowland gorillas of 0.80% (0.06–2.14% 95% CrI), as well as from western lowland gorillas to the common eastern ancestor of 0.27% (0.22–0.43% 95% CrI). We infer a contribution of 2.47% of gene flow from an archaic source into the common ancestor of eastern gorillas, with a narrow 95% CrI of 2.38–2.49% (Fig. 2c). We infer that this ghost population diverged from the extant gorilla lineages ~3.4 million years ago (Ma) (2.98–3.8 Ma, 95% CrI). We estimate the timing of this ghost gene flow to have occurred 38,281 years ago, although the CrIs for this parameter are wide (22–108 ka, 95% CrI) (Fig. 2a,c). By contrast, the posterior distributions for the archaic introgression proportion and the gorilla–ghost divergence time have narrow CrIs, indicating a strong support with clear peaks for these parameters (Fig. 2c). In contrast, our ABC analysis of model C does not confidently infer a contribution of a deeply divergent external lineage into the common ancestor of western gorillas. Instead, the best fit of this model suggests a 0.17% (0.09–0.4%, 95% CrI) contribution from an external lineage at ~1.1 Ma into the common ancestor of all extant gorillas (Supplementary Table 2). This marginal contribution is inferred to originate from an external lineage which diverged from extant gorillas 1.9 Ma (1.5–3 Ma 95% CrI).
The ghost introgression landscape in eastern gorillas
Having established that a model of ghost introgression into the common eastern ancestor provided the best fit to the empirical data, we aimed to identify the putative introgressed fragments in the genomes of eastern gorillas. To explore this landscape of ghost introgression, we implemented two independent approaches: the S* statistic19,20,29 and the SkovHMM method or hmmix30. The S* statistic detects highly divergent windows relative to an outgroup, under a given demographic model, as introgressed sites19,20,29. Hence, the S* approach depends on the availability of a demographic model. By contrast, hmmix does not rely on a demographic model to identify putatively introgressed regions but instead uses the density of private mutations in the ingroup to partition the genome into ‘internal’ and ‘external’ fractions, walking in small windows of 1,000 base pairs (bp) along the genomes30. Hence, although both S* and hmmix target the same signature of ghost introgression, the algorithms are distinct.
We simulated the expected null distribution of S* scores for eastern gorillas with posterior parameter estimates from model A, that is a model without ghost introgression. This yields insights into the presence of any outlier windows in our empirical data using the 99% confidence interval (CI) for expected S* scores, given the mutation density (number of segregating sites) in each window (Supplementary Fig. 11; Methods). Indeed, at this threshold we identify an excess of S* outlier windows, suggestive of introgression from an external source into the common ancestor of eastern gorillas: windows which fall outside the null expectation constitute, on average, 1.64% of eastern lowland genomes and 2.36% of mountain gorilla genomes, respectively (Supplementary Table 9).
We assessed the performance of the S* statistic using coalescent simulations where we could trace the introgressed fragments (Methods). The precision and recall are high, with a 90.96% detection rate of true introgressed fragments for eastern lowland gorillas (91.06% for mountain gorillas) at the 99% quantile (Fig. 2b, Extended Data Fig. 4 and Supplementary Table 7; Methods), comparable to the human–Neanderthal scenario31. Since the CrIs of the null demographic model encompass larger effective population sizes, which would lead to inflated rates of incomplete lineage sorting that might affect the expected distribution of S* scores, we also assessed how these parameters influence our findings. Using the maximum values within the 95% CrIs, we find that the recall of the S* statistic remains high, while the precision falls to 55.82% for eastern lowland gorillas (53.33% for mountain gorillas), reflecting an increase in the false discovery rate, as expected. We conclude that the S* statistic performed well in detecting introgressed fragments under our null model, even when assuming misspecification of the null model.
Analogous to previous work22, we also used hmmix to detect introgressed windows30, which performs well for the given demographic model (Fig. 2b), with precision and recall well above 80% (Supplementary Table 8). Considering the strong support for ghost admixture into eastern gorillas, we again used western lowland gorillas as the outgroup and eastern gorillas as the ingroup. We find that 1.48–2.97% of the individual eastern gorilla genomes are inferred as external at a strict threshold for the mean probability of 0.95, with an estimated introgression time of 37–41 ka.
While we observe sharing of the putative introgressed regions across the eastern species, sharing is higher within each subspecies, which again is more pronounced in the mountain gorillas than in the eastern lowland gorillas (Fig. 3a). This indicates that most of the putative introgressed regions are segregating rather than fixed. Pairwise nucleotide differences are elevated between eastern and western gorillas in putative introgressed regions in eastern gorillas, compared to random regions (Fig. 3b). Likewise, there is an excess of nucleotide differences between individuals of the eastern subspecies in the putative introgressed regions, indicative of an archaic origin of these regions (Fig. 3b).
The overlap of the autosomal hmmix fragments and the S* outliers within each individual is, on average, 42% for eastern lowland gorillas and 51% for mountain gorillas (Supplementary Table 11). For random genomic regions passing filtering criteria, the observed overlap is, on average, 6% for eastern lowland and 8% for mountain gorillas, suggesting that both methods detect to a large degree the same regions (Fig. 3c and Supplementary Table 14). We thus consider the regions in the intersect of the hmmix outliers and S* outliers as our high-confidence putative introgressed regions. The overlap between the two methods increases to 59% for eastern lowland and 68% for mountain gorillas, when using more lenient cutoffs for both methods, that is hmmix fragments of at least 40 kilobases (kb) and 95% CI S* outliers (Supplementary Table 12). Mountain gorillas (with the exception of Turimaso) consistently exhibit higher proportions of overlapping base pairs of the two methods than do the eastern lowland gorillas (Supplementary Tables 11 and 12).
The interaction of selection and introgression
In contrast to archaic introgressed regions identified in humans and bonobos, the putative introgressed regions in eastern gorillas are not significantly depleted in genic content compared to random genomic regions (Fig. 3d). However, we find 127 megabases (Mb) of autosomal segments longer than 5 Mb that are depleted for introgressed fragments (Fig. 4). Further, we observe a signal of depletion in archaic fragments on the X chromosome (Fig. 3f), on a scale comparable to observations in modern humans32 and bonobos22. The putative introgressed regions of eastern lowland gorillas exhibit a slightly higher proportion of likely deleterious sites than do mountain gorillas, as estimated by the GERP score (Fig. 3e). However, under alternate measures of mutational conservation (SIFT, PolyPhen-2 and LINSIGHT scores) the putative introgressed regions of both eastern gorilla subspecies follow random expectation (Supplementary Fig. 19). We also investigated the distribution of gorilla-defined regulatory element annotations from another study33. Here, across categories and populations, we only observe an excess of strong enhancers (sE) in mountain gorilla introgressed regions, compared to random regions (Supplementary Fig. 20). These are largely intragenic enhancers (Supplementary Fig. 21), which agrees with patterns of regulatory architecture observed in primate sE33.
Introgressed fragments can carry beneficial alleles and to explore signatures of adaptive introgression within eastern gorillas we applied the method VolcanoFinder34. VolcanoFinder scans the genome for a signal of a distorted local site frequency spectrum consistent with a selective sweep surrounding an introgressed allele. Outliers of the VolcanoFinder approach (95% composite likelihood ratio) within the putative introgressed regions identified above were considered putative targets of adaptive introgression. We identify seven candidate regions for adaptive introgression (Extended Data Table 2), three of which are shared between eastern lowland and mountain gorillas. The region with the highest likelihood ratio (LR) in VolcanoFinder (chr. 12: 11090005–11324172; maximum LR = 246.2) contains the bitter taste receptor TAS2R14, within which we find several protein-coding changes (Supplementary Table 15).
Here, we present a demographic model inferred from representatives of all four extant gorilla subspecies, leveraging the most comprehensive dataset of gorilla genomes available to date and an improved estimate for gorilla mutation rate from extended pedigree data35. The newly sequenced whole genomes of mountain gorillas from Bwindi National Park are genetically close to those from Virunga but form a distinct cluster within their subspecies (Fig. 1b,c), confirming earlier results from microsatellite data36. Eastern lowland gorillas, as represented in our dataset, seem to form a genetically less differentiated population, which includes the individual from Mount Tshiaberimu. Nonetheless, sample size remains a limitation, as high-quality invasive samples are highly restricted for endangered species, given ethical and logistical constraints. A more fine-grained analysis of the evolutionary history and population structure of gorillas necessitates denser sampling, which most likely will only be possible through advances in the use of non-invasive samples. For example, a reconstruction of recent patterns of connectivity has been demonstrated from a large panel of faecal samples from chimpanzees37. Furthermore, considering the rapid decline of great ape populations over the past centuries, more temporal sampling from historical specimens24,25 has the potential to be highly informative on variation lost over time.
Previous estimates of demographic parameters varied greatly under different models, methods and input data9,13,14,15. The ABC approach presented here leverages population-wise summary statistics. However, since high-coverage, population-level whole genomes are not currently available for Cross River gorillas, a subset of the statistics could not be obtained for this subspecies (Methods; Supplementary Table 5) and those calculated may be relatively less informative (for example, number of segregating sites). For all other populations, multiple individuals were included, yielding a better representation of their diversity in the summary statistics. As such, we have lower confidence in parameters involving Cross River gorillas, such as the relatively large divergence time inferred for the western lowland–Cross River split. This divergence time represents 47% of the inferred eastern–western species split, compared to 26% estimated in a previous study which also inferred a more recent species split time13. We note that this difference may be attributed to our inclusion of more western lowlands gorillas, known to have high levels of population structure9,38,39. We also do not include gene flow between western lowlands and Cross River gorillas as a parameter in our modelling, which would reduce divergence estimates.
The inferred deep divergence time between the two species is at the upper end of previous estimates and conservative for the detection of putatively introgressed windows under the null model, since larger S* scores would be expected to result from an increased number of segregating sites22. Indeed, even approximate demographic models with large divergence times may allow a detection of external gene flow into a target population31. We demonstrate that the S* statistic performed well in detecting introgression under the null model inferred herein (model A), even if the true demography was deviating in terms of ancestral effective population sizes. Demographic modelling presented here finds the best model for gorilla demography to include archaic introgression from an unsampled ‘ghost’ lineage into the common ancestor of eastern gorillas. This accords with a growing literature on the prevalence of introgression from extinct lineages in humans21,40, bonobos22 and other species41,42, as well as theoretical predictions and simulations showing an impact of admixture from unsampled lineages that is probably common rather than exceptional16,17. Using extensive simulations, we find strong support for a model including archaic admixture into eastern gorillas, compared to a null model without such ghost admixture or a model of such an event in western gorillas. The latter may be rather considered similar to a model of deep substructure within gorillas, given the shallower times and small amounts of external gene flow inferred. However, we note that further ghost introgression events may exist beyond what we describe, for example with regards to much smaller amounts of ghost admixture into gorillas or with shallower divergence times of the ghost lineages or in the context of larger effective population sizes in western gorillas.
Our inference of 2.47% of ghost introgression is associated with high confidence as the posterior distribution is well differentiated from that of the prior (Fig. 2c). This estimate agrees well with the estimates of genome-wide introgression proportions per individual inferred using the S* statistic and hmmix (Supplementary Table 9). We probably underestimate the timing of archaic introgression, since shorter introgressed fragments are more likely to be missed and another potential complication might be relatively high levels of homozygosity in eastern gorillas8, leading to increased haplotype lengths. Our definition of putative introgressed regions as the overlap of outliers inferred with both the S* and hmmix methods (Fig. 3c) is conservative and on the order expected for these methods, considering their relatively high false-positive rates31. Nonetheless, these methods are currently the only reliable tools available for detecting introgressed fragments in comparably small datasets of non-human species, without the availability of a source genome31.
A higher degree of sharing of putative introgressed fragments is observed among mountain gorillas than in eastern lowlands (Fig. 3a). This is consistent with smaller effective population sizes of these populations, increasing the impact of drift on introgressed genetic variation18. High levels of genetic drift and reduced efficacy of natural selection probably also explain the absence of a detectable depletion of genic content in introgressed regions, in contrast to observations in introgressed material of humans and bonobos. Likewise, we do not observe a coherent signature in mutational tolerance in gorilla introgressed material across different metrics, possibly due to genetic drift. Despite this, we do find some ‘introgression deserts’, that is regions depleted of introgressed material in the population (Fig. 4), possibly as a result of purifying selection18 shortly after the introgression took place. Furthermore, we observe a reduction of introgression on the X chromosome, as also seen in humans and bonobos22,30,32. This is probably a result of strong purifying selection against introgressed variation, as seen in humans and other species18,30,43, possibly as a result of a combination with multiple factors44. Biased dispersal patterns45 and high reproductive skew of gorilla males46 might have led to a further reduction of the male-haploid X chromosome in introgressed material. Even though the observed patterns are probably a combination of these factors, we can currently not discern their respective contributions.
We note that our definition of adaptive introgressed targets is highly conservative, as the intersection of the outliers of three different methods S*, hmmix and VolcanoFinder as putative adaptive introgressed targets. However, in being conservative we aim to minimize the impact of potential false positives, which is a known caveat of the VolcanoFinder method34,47. However, at present this is the only method available to localize signatures of adaptive introgression without a source genome. Interestingly, three candidate genes contain putative functional variants segregating in eastern gorillas and fixed ancestral in western gorillas. One of these genes is TAS2R14, which encodes a taste receptor implicated in perception of bitter tastes48 and contains six missense variants. Eastern gorillas typically have more herbaceous diets than the frugivorous western gorillas11, as such taste receptors are plausible targets of adaptive introgression in eastern gorillas. Bitter taste receptors have been suggested as targets of recent positive selection in western lowland gorillas as well, including a region encompassing TAS2R14 (ref. 13). It is possible that different mutations in the same region have been under selection in the different species. This could be interpreted in terms of the essential role of taste receptors to avoid toxicity. The gene SEMA5A contains a missense variant and a splice region variant; this gene has been associated with neural development, with implications in autism spectrum disorder49. However, the functional impact of these variants in gorillas demands further work in the future. Here, we do not find a contribution of adaptive introgression to altitude adaptation, a phenomenon observed in humans and other species18,50. In mountain gorillas and eastern lowland gorillas at high altitude, this adaptation is probably driven by different mechanisms, such as the oral microbiome51.
In conclusion, our work contributes improved resolution to our understanding of the evolutionary history of eastern gorillas. Across individuals, we recover a putative 16.4% of the autosomal genome of an extinct lineage (Supplementary Table 13), adding to a growing literature revealing unsampled, now extinct lineages via analysis of variation present in present-day individuals.
Samples and sequencing
Six eastern gorillas were sequenced as part of this study. Five Bwindi mountain gorillas were sampled after death by the Mountain Gorilla Veterinary Project. One Mount Tshiaberimu individual was sampled under anaesthesia. Convention on the Trade in Endangered Species of Wild Fauna and Flora (CITES) permits were obtained for all samples. Sequencing was performed on the Illumina HiSeq X platform. Detailed information on all samples is provided in the Supplementary Materials (Extended Data Table 1).
We integrated the newly sequenced samples alongside previously published, high-coverage genomic data7,8. Raw sequencing reads were mapped to the human hg19 reference genome, as described previously52. Given that the hg19 reference does not belong to any of the gorilla subspecies, equal mapping bias will be exerted across all gorillas in our dataset. This would not have been the case if the gorilla reference genome was used instead, as it might have introduced bias in amounts of allele sharing, as observed previously for chimpanzees and bonobos52. The final dataset derives from 49 gorillas of known subspecies: 12 mountain (Gorilla beringei beringei), 9 eastern lowland (Gorilla beringei graueri), 1 Cross River (Gorilla gorilla diehli) and 27 western lowland (Gorilla gorilla gorilla) gorillas.
Processing of data to obtain genotypes followed procedures described in ref. 22. We used bcftools to retain genotypes with a coverage larger than fivefold and lower than 101-fold, a mapping quality over 20, a proportion of MQ0 reads <10% and an allele balance >0.1 at heterozygous positions; bedtools and jvarkit53 to filter the data by known repeats (RepeatMasker) and mappability (35 k-mer). Following a previous study22, we used the rhesus macaque reference genome (Mmul10) to infer ancestral allele states at each site and generate an ancestral binary genome, as implemented in the freezing-archer repository (https://github.com/bvernot/freezing-archer). Only positions with genotype information in all individuals after filtering were used for calculating summary statistics for the demographic model and the S* analysis. For hmmix, missing data were allowed, genotypes were filtered for known repeats and mappability and then an individual-based filtering was applied for sequencing coverage (depth 6–100), mapping quality (20) and retained only biallelic single nucleotide variants.
Null demographic model
To infer a reliable null demographic model for the four extant gorilla subspecies, we performed ABC modelling using the R package abc54 with neural networks, following a previously described strategy22. Previous demographic models did not include all of the four extant gorilla subspecies8,13. We first attempted a merging of these models (Supplementary Table 6) but in simulations this proved a poor fit to the empirical data in terms of the distributions of segregating sites, one of the main determinants of S* (Supplementary Fig. 3).
We used ms55 to simulate data and aimed to generate 35,700 coalescent simulation replicates, of which 35,543 were successful, whereby per iteration we generated 2,500 windows of length 40 kb, randomly sampling from wide uniform priors informed by refs. 8,13,35 (Supplementary Table 2). We sampled local mutation rates from a normal distribution with mean of 1.235 × 10–8 (mutation rate per generation), recombination rate from a negative binomial distribution with mean of 9.40 × 10−9 and gamma of 0.5 and assumed a generation time of 19 years (ref. 35). We scaled the mean mutation rate to 1.976 (1.235 × 10−8 × window size of 40 kb × 4 × Ne of 1,000) with a scaled standard deviation of 0.460408 (1.976 × 0.233). We also scaled mean recombination rate to 1.504 (9.40 × 10−9 × 4 × Ne of 1,000 × window size of 40 kb). Per window and per population, we calculated the following summary statistics: mean and standard deviations of heterozygosity, nucleotide diversity (pi) and Tajima’s D, as well as the number of population-wise fixed and segregating sites, the number of fixed sites per individual and pairwise FST (Supplementary Table 5). These measures constitute the input summary statistics for all ABC analyses performed in this section. Given that only one diploid sample is available for G. gorilla diehli, we did not use standard deviations of heterozygosity, nucleotide diversity and fixed sites per individual, as well as mean nucleotide diversity for this population.
We calculated the equivalent summary statistics normalized by data coverage for the empirical data, which had been prefiltered by repeats, mappability and sufficiently informative windows (>50% of sites with confident genotype calls in all individuals). We also filtered by sites fixed across all gorillas relative to the human reference genome. We accepted parameter values from the prior distribution if they generated summary statistics close to those of the empirical data. This was assessed using a tolerance of 0.005, logit transformation of all parameters and 100 neural networks in the ABC analysis.
Alternative demographic models
We performed parameter inference for two further demographic models, in which we allowed gene flow from a ‘ghost’ lineage into the common ancestor of (B) eastern gorillas (G. beringei beringei and G. beringei graueri) (Supplementary Table 2) and (C) western gorillas (G. gorilla gorilla and G. gorilla diehli) (Supplementary Table 2). For each alternate demographic model, as above, we performed ABC analysis using 35,700 simulation replicates, whereby per iteration we generated 2,500 windows of length 40 kb. We fixed parameters with narrow CrIs from model A, to reduce the complexity of these models. To assess the impact of fixing well-inferred parameters from the null model on subsequent ghost parameter inference and explore the ghost parameter space more fully we undertook a revised modelling approach (Supplementary Section 3.4). In these revised ghost models, we performed parameter inference sampling all parameters from priors, for ghost gene flow into the common ancestor of (D) eastern gorillas and (E) western gorillas (Supplementary Table 2). We observed a strong correlation between the estimated parameters of the original and the revised ghost models, albeit with wider posterior distributions for the revised models due to increased complexity and larger parameter space (Supplementary Section 3.4).
To compare the three main demographic models—(A) null demography, (B) ghost gene flow into the eastern common ancestor and (C) ghost gene flow into the western common ancestor—we simulated 10,000 replicates of 250 windows of 40 kb length, fixing the parameters as the weighted median posteriors for each model. To achieve an equal simulated timeframe (number of generations) in all models under comparison, we added a non-interacting ghost population to the null demography, with a divergence time between ghost and extant gorillas equal to that inferred under Model B above. To determine if the models could be differentiated from each other we performed cross-validation with the function cv4postpr (nval = 1,000, tol = 0.05, method = “neuralnet”). We calculated the posterior probabilities of each demographic model using the function postpr (tol = 0.05, method = “neuralnet”). The resulting confusion matrix is shown in Supplementary Table 3. We also performed cross-validation and model comparison for the five demographic models: (A) null demography, (B) ghost gene flow into the eastern common ancestor, (C) ghost gene flow into the western common ancestor, (D) revised model of ghost gene flow into the eastern common ancestor and (E) revised model of ghost gene flow into the western common ancestor, where we still observed model B having the highest support (Supplementary Table 4 and Supplementary Section 3.4).
Detecting introgressed fragments
Following refs. 20,22,29 we calculated the S* statistic using a customized version of the package freezing-archer, accommodating non-human samples. We calculated the S* statistic genome-wide in 40 kb windows, sliding every 30 kb, using the following test (i = ingroup) and reference (o = outgroup) populations: (1) GBG (G. beringei graueri-i and G. gorilla gorilla-o) and (2) GBB (G. beringei beringei-i and G. gorilla gorilla-o). For the S* analysis, 15,181,832 variants were included.
Identifying outliers for the S* statistic requires a distribution of scores for local mutation densities (represented by numbers of segregating sites in the dataset) under a demographic scenario without introgression, as the null model. We used the weighted median posteriors for each parameter value from the above ABC analysis to generate simulated data, specifying the number of segregating sites in a stepwise manner (from 15 to 800 in steps of 5). For each stepwise segregating site (158 in total), we simulated 20,000 windows of length 40 kb, to which we applied the S* statistic for each of the scenarios (GBG and GBB). From this we obtained generalized additive models (GAMs) per scenario for three CIs (95%, 99% and 99.5%) using the R package mgcv, following the procedures described in detail in refs. 22,29. From these GAMs, we predicted the expected S* distributions under the null model without archaic introgression. Applying the GAMs to the empirical data we inferred whether any windows lay outside the expectation per scenario and per confidence interval, assessing CIs of 95%, 99% and 99.5%. As such, the threshold of significance is defined as the 95%, 99% or 99.5% CI from the standard deviation for expected S* scores, given the mutation density22,29.
To assess the performance of the S* statistic under our null model and its robustness to model misspecifications, we performed validation analyses following ref. 31, using msprime56,57 simulations with explicit tracking of the introgressed fragments. Briefly, we simulated expected distributions of S* scores for the null model (model A) and for a model where the effective population sizes before 40 ka were set to the upper end of the 95% CrI (‘worst’ null model, in terms of highest expected amount of incomplete lineage sorting). We then simulated datasets of ten outgroup individuals (western lowland gorillas) and a single ingroup individual (eastern lowland or mountain gorillas) for model B and a model where the effective population sizes before 40 ka were set to the upper end of the 95% CI (‘worst’ model B). We then obtained putatively introgressed fragments using the expected scores from either model A or the ‘worst’ null model (Supplementary Table 7). For each model, we performed 100 replicates and calculated the average precision and recall at different thresholds. For the S* approach, we used the quantiles of the S* statistic as thresholds, which range from 0 to 0.999.
In an independent approach to the S* statistic, we applied hmmix30. We obtained the input files for this method: weight files, local mutation rates and individual observations files using scripts provided with the repository for hmmix (https://github.com/LauritsSkov/Introgression-detection, as of 2 August 2018), as well as bcftools, bedtools, jvarkit and custom R scripts. The macaque allele (RheMac10 assembly) was used for polarization of alleles. We then applied the method to the eastern gorillas using the following prior parameters: starting_probabilities = [0.98, 0.02], transitions = [[0.9995, 0.0005], [0.012, 0.988]], emissions = [0.05, 0.5]. We confirmed that using different parameters did not affect the results. We used a recombination rate of 9.40 × 10−9 per site per generation and 19 years generation time with the median fragment length to estimate introgression time. Decoding, that is assigning internal and external states to specific genomic regions, was done with the script provided with the repository. Putative external fragments were filtered for posterior probabilities of 0.9 (lenient) or 0.95 (strict) and required to contain at least five private positions. We also conducted a performance analysis of hmmix on introgressed fragments in simulations of either model B or the ‘worst’ model B, with results similar to those for S* (Supplementary Table 8). For performance testing the hmmix approach, we used the posterior probabilities estimated by hmmix as thresholds, which range from 0 to 0.9999.
We note that only hmmix could be used to infer archaic introgressed fragments on the X chromosome, due to the lack of a gorilla demographic model for the sex chromosomes.
Exploring introgressed regions
To obtain a consensus set of putative introgressed regions, we overlapped the autosomal outlier regions inferred under the two methods within each eastern gorilla. For this overlap, we calculated the percentage of overlapping base pairs, considering in turn each S* confidence interval (95%, 99% and 99.5%) and with and without a 40 kb length cutoff for hmmix regions identified under the strict threshold. Imposing a 40 kb length cutoff retains 76.7% of the total strict hmmix regions (Supplementary Tables 9 and 11). We consider the intersect of the S* 99% outliers with the strict hmmix autosomal outliers, as our putative introgressed regions of high confidence. To determine whether the overlap obtained differed from random expectation we generated intersections of random regions, of equivalent distribution to the empirical data, for 100 iterations.
As a proxy for gene density we calculated the proportion of protein-coding base pairs within these regions of high confidence. As above, we compared this to the proportion of protein-coding base pairs within 100 iterations of random genomic regions, of equal length distribution as the putative introgressed regions within each eastern gorilla. We calculated pairwise nucleotide differences between individuals in the putative introgressed regions and in random genomic regions of equal length distribution and sufficient callable sites. This was conducted for three comparisons: (1) among eastern gorillas, (2) among western gorillas and (3) between eastern and western gorillas.
To assess mutational tolerance, we used GERP, SIFT, PolyPhen-2 and LINSIGHT scores58,59,60,61. We calculated the proportion of high impact sites for GERP, SIFT and PolyPhen-2 scores and the mean LINSIGHT score within putative introgressed regions and random regions of equal length distribution and sufficient callable sites. To explore the impact of introgression on regulatory elements, we calculated the proportion of regulatory base pairs using gorilla-defined regulatory element annotations33, within putative introgressed and random regions of equivalent length and callability. This was assessed globally and per regulatory element type, considering poised, strong and weak, enhancers and promoters.
We further explored our putative introgressed regions of high confidence using PCA (Supplementary Fig. 13). This was generated using the biallelic sites in our putative introgressed regions. For comparison, we also generated PCAs of one random set of random regions, with equal length distribution of random regions as the putative introgressed regions per eastern gorilla. The PCAs in Fig. 1 were generated using biallelic SNPs of random genomic regions of equivalent length distribution to the putative introgressed regions of GBB Bwiruka. This sample of random genomic regions is representative of the whole genome. All PCAs were generated with the R package adegenet62. We generated phylogenetic trees of our putative introgressed regions and one random replicate (Supplementary Fig. 14), using the ‘K80’ model of nucleotide substitution, using the adegenet package63. Haplotype networks were drawn using pegas64.
We localized introgression deserts by screening 1 Mb non-overlapping windows (bins) spanning the genome. We filtered out bins overlapping centromeres and those at the end of each chromosome which were <1 Mb in size. Per bin we calculated the frequency of putative introgressed regions falling within the bin, for each eastern gorilla. We also calculated data coverage of the bins and filtered by mean callable proportion >0.5. Deserts hence constitute bins where no eastern gorilla carried a putative introgressed region and which had a reasonable number of callable sites.
To explore signatures of adaptive introgression within eastern gorillas, we applied the genome-wide scan VolcanoFinder34. To do so, we polarized the data to two outgroups. First, we polarized the human reference allele using the rhesus macaque allele and subsequently polarized the gorilla genotypes by this polarized allele representing the ancestral state. To obtain the allele frequency input files per chromosome, we then filtered our data to only eastern gorilla genotypes at biallelic sites and also filtered out sites with multiple ancestral alleles (where polarization would be uncertain) and sites of reference homozygotes. The second input file required is an empirical unnormalized site frequency spectrum (SFS), which we generated by obtaining the unfolded SFS, normalizing so all site categories sum to 1 and then filtering out the first category (the 0 entry). We called VolcanoFinder specifying ‘-big 1000, D = −1, P = 1, Model = 1’. For computational efficiency, we performed the VolcanoFinder scan in blocks, whereby each chromosome was split into blocks of approximately equal numbers of base pairs. We placed a test site every 1,000 bp (-big 1000). We set D to −1, so VolcanoFinder iteratively tested a grid of values for genetic distance internally and selected the value that maximizes the likelihood ratio34. We set P to 1 as our input data were polarized. We used Model = 1, following procedures applied to human data34, as well as non-human species68,69.
We took the 95% outliers of composite likelihood ratio scores calculated from VolcanoFinder and intersected these regions with our putative introgressed regions (identified above), to obtain putative adaptive introgressed targets. To explore potential functional consequences, we assessed which genes and which mutations fall within the putative adaptive introgressed targets, using the Variant Effect Predictor annotation (v.83)70.
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
The six newly sequenced eastern gorilla samples are publicly available in the European Nucleotide Archive (ENA) under the project number: PRJEB12821. ENA accession numbers for all samples used in this study are given in Extended Data Table 1. The human reference genome (hg19) and the rhesus macaque reference genome (Mmul10/rheMac10) were downloaded from https://hgdownload.soe.ucsc.edu/goldenPath/. Precalculated GERP scores for hg19 were accessed from http://mendel.stanford.edu/SidowLab/downloads/gerp/ and LINSIGHT scores for hg19 from https://rdrr.io/github/rcastelo/GenomicScores/src/inst/scripts/make-data_linsight.UCSC.hg19.R.
Scripts used for data analysis are available on Github under https://github.com/h-pawar/gor_ghost_introg.
Grubb, P. et al. Assessment of the diversity of African primates. Int. J. Primatol. 24, 1301–1357 (2003).
Gray, M. et al. Genetic census reveals increased but uneven growth of a critically endangered mountain gorilla population. Biol. Conserv. 158, 230–238 (2013).
Plumptre, A. J. et al. Catastrophic decline of world’s largest primate: 80% loss of Grauer’s gorilla (Gorilla beringei graueri) population justifies critically endangered status. PLoS ONE 11, e0162697 (2016).
Maisels, F., Williamson, E. A. & Bergl, R. IUCN Red List of Threatened Species: Gorilla gorilla (IUCN, 2016); https://www.iucnredlist.org/species/9404/136250858
Fünfstück, T. & Vigilant, L. The geographic distribution of genetic diversity within gorillas. Am. J. Primatol. 77, 974–985 (2015).
Bergl, R. A. & Vigilant, L. Genetic analysis reveals population structure and recent migration within the highly fragmented range of the Cross River gorilla (Gorilla gorilla diehli). Mol. Ecol. 16, 501–516 (2007).
Prado-Martinez, J. et al. Great ape genetic diversity and population history. Nature 499, 471–475 (2013).
Xue, Y. et al. Mountain gorilla genomes reveal the impact of long-term population decline and inbreeding. Science 348, 242–245 (2015).
Thalmann, O., Fischer, A., Lankester, F., Pääbo, S. & Vigilant, L. The complex evolutionary history of gorillas: insights from genomic data. Mol. Biol. Evol. 24, 146–158 (2007).
Sarmiento, E. E., Butynski, T. M. & Kalina, J. Gorillas of Bwindi-Impenetrable Forest and the Virunga Volcanoes: taxonomic implications of morphological and ecological differences. Am. J. Primatol. 40, 1–21 (1996).
Robbins, M. M. & Robbins, A. M. Variation in the social organization of gorillas: life history and socioecological perspectives. Evol. Anthropol. 27, 218–233 (2018).
Kuhlwilm, M. et al. Evolution and demography of the great apes. Curr. Opin. Genet. Dev. 41, 124–129 (2016).
McManus, K. F. et al. Inference of gorilla demographic and selective history from whole-genome sequence data. Mol. Biol. Evol. 32, 600–612 (2015).
Mailund, T. et al. A new isolation with migration model along complete genomes infers very different divergence processes among closely related great ape species. PLoS Genet. 8, e1003125 (2012).
Becquet, C. & Przeworski, M. A new approach to estimate parameters of speciation models with application to apes. Genome Res. 17, 1505–1519 (2007).
Tricou, T., Tannier, E. & de Vienne, D. M. Ghost lineages can invalidate or even reverse findings regarding gene flow. PLoS Biol. 20, e3001776 (2022).
Pang, X.-X. & Zhang, D.-Y. Impact of ghost introgression on coalescent-based species tree inference and estimation of divergence time. Syst. Biol. 72, 35–49 (2022).
Fontsere, C., de Manuel, M., Marques-Bonet, T. & Kuhlwilm, M. Admixture in mammals and how to understand its functional implications: on the abundance of gene flow in mammalian species, its impact on the genome, and roads into a functional understanding. Bioessays 41, e1900123 (2019).
Plagnol, V. & Wall, J. D. Possible ancestral structure in human populations. PLoS Genet. 2, e105 (2006).
Vernot, B. & Akey, J. M. Resurrecting surviving Neandertal lineages from modern human genomes. Science 343, 1017–1021 (2014).
Green, R. E. et al. A draft sequence of the Neandertal genome. Science 328, 710–722 (2010).
Kuhlwilm, M., Han, S., Sousa, V. C., Excoffier, L. & Marques-Bonet, T. Ancient admixture from an extinct ape lineage into bonobos. Nat. Ecol. Evol. 3, 957–965 (2019).
Cooke, N. P. & Nakagome, S. Fine-tuning of approximate Bayesian computation for human population genomics. Curr. Opin. Genet. Dev. 53, 60–69 (2018).
van der Valk, T., Díez-Del-Molino, D., Marques-Bonet, T., Guschanski, K. & Dalén, L. Historical genomes reveal the genomic consequences of recent population decline in eastern gorillas. Curr. Biol. 29, 165–170 (2019).
van der Valk, T. et al. Significant loss of mitochondrial diversity within the last century due to extinction of peripheral populations in eastern gorillas. Sci. Rep. 8, 6551 (2018).
Tocheri, M. W. et al. The evolutionary origin and population history of the Grauer gorilla. Am. J. Phys. Anthropol. 159, S4–S18 (2016).
Roy, J., Gray, M., Stoinski, T., Robbins, M. M. & Vigilant, L. Fine-scale genetic structure analyses suggest further male than female dispersal in mountain gorillas. BMC Ecol. 14, 21 (2014).
Scally, A. et al. Insights into hominid evolution from the gorilla genome sequence. Nature 483, 169–175 (2012).
Vernot, B. et al. Excavating Neandertal and Denisovan DNA from the genomes of melanesian individuals. Science 352, 235–239 (2016).
Skov, L. et al. Detecting archaic introgression using an unadmixed outgroup. PLoS Genet. 14, e1007641 (2018).
Huang, X., Kruisz, P. & Kuhlwilm, M. sstar: a Python package for detecting archaic introgression from population genetic data with S*. Mol. Biol. Evol. 39, msac12 (2022).
Sankararaman, S. et al. The genomic landscape of Neanderthal ancestry in present-day humans. Nature 507, 354–357 (2014).
García-Pérez, R. et al. Epigenomic profiling of primate lymphoblastoid cell lines reveals the evolutionary patterns of epigenetic activities in gene regulatory architectures. Nat. Commun. 12, 3116 (2021).
Setter, D. et al. VolcanoFinder: genomic scans for adaptive introgression. PLoS Genet. 16, e1008867 (2020).
Besenbacher, S., Hvilsom, C., Marques-Bonet, T., Mailund, T. & Schierup, M. H. Direct estimation of mutations in great apes reconciles phylogenetic dating. Nat. Ecol. Evol. 3, 286–292 (2019).
Baas, P. et al. Population-level assessment of genetic diversity and habitat fragmentation in critically endangered Grauer’s gorillas. Am. J. Phys. Anthropol. 165, 565–575 (2018).
Fontsere, C. et al. Population dynamics and genetic connectivity in recent chimpanzee history. Cell Genom. 2, 100133 (2022).
Anthony, N. M. et al. The role of Pleistocene refugia and rivers in shaping gorilla genetic diversity in central Africa. Proc. Natl Acad. Sci. USA 104, 20432–20436 (2007).
Das, R. et al. Complete mitochondrial genome sequence of the Eastern gorilla (Gorilla beringei) and implications for African ape biogeography. J. Hered. 105, 752–761 (2014).
Durvasula, A. & Sankararaman, S. Recovering signals of ghost archaic introgression in African populations. Sci. Adv. 6, eaax5097 (2020).
Zhang, D. et al. ‘Ghost introgression’ as a cause of deep mitochondrial divergence in a bird species complex. Mol. Biol. Evol. 36, 2375–2386 (2019).
Rocha, J. L. et al. African climate and geomorphology drive evolution and ghost introgression in sable antelope. Mol. Ecol. 31, 2968–2984 (2022).
Skov, L. et al. Extraordinary selection on the human X chromosome associated with archaic admixture. Cell Genom. 3, 100274 (2023).
Chevy, E. T., Huerta-Sánchez, E. & Ramachandran, S. Integrating sex-bias into studies of archaic admixture on chromosome X. Preprint at bioRxiv https://doi.org/10.1101/2022.08.30.505789 (2022).
Harcourt, A. H., Stewart, K. S. & Fossey, D. Male emigration and female transfer in wild mountain gorilla. Nature 263, 226–227 (1976).
Vigilant, L. et al. Reproductive competition and inbreeding avoidance in a primate species with habitual female dispersal. Behav. Ecol. Sociobiol. 69, 1163–1172 (2015).
Zhang, X., Kim, B., Lohmueller, K. E. & Huerta-Sánchez, E. The impact of recessive deleterious variation on signals of adaptive introgression in human populations. Genetics 215, 799–812 (2020).
Di Pizio, A. & Niv, M. Y. Promiscuity and selectivity of bitter molecules and their receptors. Bioorg. Med. Chem. 23, 4082–4091 (2015).
Carulli, D., de Winter, F. & Verhaagen, J. Semaphorins in adult nervous system plasticity and disease. Front. Synaptic Neurosci. 13, 672891 (2021).
Witt, K. E. & Huerta-Sánchez, E. Convergent evolution in human and domesticate adaptation to high-altitude environments. Philos. Trans. R. Soc. Lond. B 374, 20180235 (2019).
Moraitou, M. et al. Ecology, not host phylogeny, shapes the oral microbiome in closely related species. Mol. Biol. Evol. 39, msac263 (2022).
de Manuel, M. et al. Chimpanzee genomic diversity reveals ancient admixture with bonobos. Science 354, 477–481 (2016).
Lindenbaum, P. JVarkit: java-based utilities for Bioinformatics. Figshare https://doi.org/10.6084/m9.figshare.1425030.v1 (2015).
Csilléry, K., François, O. & Blum, M. G. B. abc: an R package for approximate Bayesian computation (ABC). Methods Ecol. Evol. 3, 475–479 (2012).
Hudson, R. R. Generating samples under a Wright–Fisher neutral model of genetic variation. Bioinformatics 18, 337–338 (2002).
Baumdicker, F. et al. Efficient ancestry and mutation simulation with msprime 1.0. Genetics 220, iyab229 (2022).
Kelleher, J., Etheridge, A. M. & McVean, G. Efficient coalescent simulation and genealogical analysis for large sample sizes. PLoS Comput. Biol. 12, e1004842 (2016).
Davydov, E. V. et al. Identifying a high fraction of the human genome to be under selective constraint using GERP++. PLoS Comput. Biol. 6, e1001025 (2010).
Kumar, P., Henikoff, S. & Ng, P. C. Predicting the effects of coding non-synonymous variants on protein function using the SIFT algorithm. Nat. Protoc. 4, 1073–1081 (2009).
Adzhubei, I. A. et al. A method and server for predicting damaging missense mutations. Nat. Methods 7, 248–249 (2010).
Huang, Y.-F., Gulko, B. & Siepel, A. Fast, scalable prediction of deleterious noncoding variants from functional and population genomic data. Nat. Genet. 49, 618–624 (2017).
Jombart, T. & Ahmed, I. adegenet 1.3-1: new tools for the analysis of genome-wide SNP data. Bioinformatics 27, 3070–3071 (2011).
Jombart, T. adegenet: a R package for the multivariate analysis of genetic markers. Bioinformatics 24, 1403–1405 (2008).
Paradis, E. pegas: an R package for population genetics with an integrated-modular approach. Bioinformatics 26, 419–420 (2010).
Wickham, H. ggplot2: Elegant Graphics for Data Analysis (Springer, 2016).
Gu, Z., Gu, L., Eils, R., Schlesner, M. & Brors, B. circlize implements and enhances circular visualization in R. Bioinformatics 30, 2811–2812 (2014).
Lawrence, M. et al. Software for computing and annotating genomic ranges. PLoS Comput. Biol. 9, e1003118 (2013).
Moest, M. et al. Selective sweeps on novel and introgressed variation shape mimicry loci in a butterfly adaptive radiation. PLoS Biol. 18, e3000597 (2020).
Liu, S. et al. Demographic history and natural selection shape patterns of deleterious mutation load and barriers to introgression across Populus genome. Mol. Biol. Evol. 39, msac008 (2022).
McLaren, W. et al. The ensembl variant effect predictor. Genome Biol. 17, 122 (2016).
We thank D. Setter for valuable guidance in applying VolcanoFinder. We thank the Uganda Wildlife Authority for the Gorilla monitoring and research permission. We are grateful to the Life Science Compute Cluster of the University of Vienna. This project has been funded by the Vienna Science and Technology Fund (WWTF) (grant no. 10.47379/VRG20001) to M.K. and the European Research Council under the European Union’s Horizon 2020 research and innovation programme (grant no. 864203), PID2021-126004NB-100 (MINECO/FEDER, UE), Secretaria d’Universitats i Recerca and CERCA Program del Departament d’Economia i Coneixement de la Generalitat de Catalunya (GRC 2021 SGR 00177) to T.M.-B. H.P. was supported by a Formació de Personal Investigador fellowship from Generalitat de Catalunya (FI_B100131). M.A.-E. was supported by a Formación de Personal Investigador PRE2018-083966 from Ministerio de Ciencia, Universidades e Investigación. C.T.-S., Y.X. and J.P.-M. were funded by Wellcome grant no. 098051. K.G. was supported by Swedish Research Council grant no. 2020-03398. J.L.K. received the María de Maeztu Mobility Fellowship. O.D. was supported by a John Templeton Foundation grant no. ID 62178. A.M.A. received funding from UCL’s Wellcome Trust ISSF3 award no. 204841/Z/16/Z. Q.A. is supported by strategic funding from Monash University (STG-000114).
The authors declare no competing interests.
Peer review information
Nature Ecology & Evolution thanks Da-Yong Zhang, Laurits Skov and Colin Brand for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Workflow of the main analyses.
A Null model of gorilla population history (only extant populations). 95% credible intervals are shown for all parameters inferred. B Alternate model allowing the possibility of ghost introgression into the common ancestor of western gorillas, resulted in a model of ancestral population structure being inferred. We note under a model of ghost gene flow to the western common ancestor, the posteriors indicate a small contribution to the common ancestor of all gorillas (consistent with ancestral substructure), rather than a defined pulse to the western common ancestor. In darker colours are the parameters inferred under this alternate model with their 95% credible intervals.
Parameter distributions for all parameters inferred under the ABC model allowing gene flow from a ghost lineage into the common ancestor of eastern gorillas. Red indicates the posterior distribution inferred with neural networks. Black indicates the posterior distribution inferred under a rejection method. The dotted grey line indicates the prior distribution.
Precision-recall curves for the S* statistic as implemented in sstar31 and for hmmix. Main model refers to a model taking the weighted median posteriors from the ABC-based null demography presented herein (Extended Data Fig. 2A). Worst model refers to a model taking the maximum value of the 95% credible interval for all ancestral Ne parameters from the ABC-based null demography. For the S* statistic we consider the target population as alternately eastern lowland or mountain gorillas, eg Main Model EL. Worst mis-specified is where we generate simulated data under the worst model but run the S* analysis using the ‘quantile’ or outlier values inferred under the main model. Skov=hmmix method, EL=eastern lowland gorillas, M=mountain gorillas.
About this article
Cite this article
Pawar, H., Rymbekova, A., Cuadros-Espinoza, S. et al. Ghost admixture in eastern gorillas. Nat Ecol Evol 7, 1503–1514 (2023). https://doi.org/10.1038/s41559-023-02145-2