Speciation is the keystone process of diversification and can be categorized in geographic and non-geographic modes. There are three recognized geographic modes of speciation: sympatric, parapatric, and allopatric1,2,3,4. Allopatric speciation is believed to be the most common mode of speciation in nature. Conversely, while generally accepted as a possible outcome, the frequency of occurrence of sympatric speciation in nature is still debated4,5,6. Furthermore, demonstrating the occurrence of sympatric speciation is challenging because species developed in allopatry may come in secondary contact, thereby creating patterns of divergence that can be difficult to distinguish from those that would be expected under sympatric speciation2. Therefore, convincing cases of sympatric speciation tend to be restricted to habitats including remote islands, lakes, and caves, where allopatric divergence is unlikely5,7. In non-geographic modes of speciation, speciation can be viewed as product of different mechanisms including divergent selection (ecological speciation), genetic drift and hybridization (speciation with no selection), and selection caused by sexual or genetic conflicts (mutation order speciation)8.

Some of the best-supported examples of sympatric speciation come from fishes inhabiting geologically young and isolated habitats such as the Crater Lakes in Nicaragua or in African great lakes5,7,9. The fishes in these lineages took advantage of ecological opportunities in species-poor habitats to diversify and occupy otherwise empty niches10. However, cases of sympatric speciation can be confounded with allopatric speciation2,5,7. For instance, in three-spined stickleback (Gasterosteus aculeatus), sympatric limnetic and benthic forms within the postglacial lakes in British Columbia developed via two invasion events from their marine progenitor, thus not conforming to sympatric speciation strictly speaking3,5. As noted in the case of the Nicaraguan cichlids7, the habitats with higher probability for sympatric speciation are the ones with the minimal or no connection to other habitats, making repeated gene flow from other habitats unlikely.

Subterranean habitats, with limited connections to surface habitats, can therefore also be considered suitable contexts for sympatric diversification and speciation. Habitat isolation caused by ecological forces may be observed in the resource-limited subterranean habitats where different fish species coexist. Subterranean habitats are environmentally stable (e.g., stable temperature, darkness), but limited in trophic resources and primary production due to low light intensity resulting in a low rate of photosynthesis11,12,13. This light limitation, jointly with an eco-hydraulic zonation of subterranean habitats11, makes them an excellent natural context to study the evolution of biodiversity13. These features of the subterranean habitats increase the intensity of competition for limited resources and can lead to species/population divergence to maximize the use of variable resources and habitat types while minimizing competition5,12. This diversification in habitat use can drive reproductive isolation and ultimately sympatric speciation. Here, we document a possible case of sympatric speciation in a subterranean habitat with two closely related sympatric cyprinid fish species, showing genetic and morphological divergence.

The blind Iran cave barb, Garra typhlops, is a labeonin cyprinid fish species known from a single subterranean, well-like habitat in the Zagros Mountains of Iran14. Two sympatric forms of the species, one bearing a mental disc and one with no mental disc, occupy the same habitat15. Hashemzadeh Segherloo, et al.14 and Farashi, et al.16 showed that these two forms are diverged from one another based on mitochondrial COI and cyt-b sequence data. Recently, the disc-bearing form of the blind cave barb was described as Garra lorestanensis17. The level of COI sequence divergence between G. typhlops and G. lorestanensis is higher (3.6% Kimura 2-parameter distance (K2P)) than the mean mitochondrial genome divergence values reported at the intra-specific level for marine (0.39% K2P) and freshwater fishes (0.27% K2P)18,19. The Cave barb species belong to the Garra rufa clade of the Middle Eastern labeonins and are phylogenetically closest to Garra gymnothorax that inhabit Karun, Dez, and Karkheh River Basins, among which the Dez River is closest to the Cave Barb locality (5 km apart from the cave barb locality)20. Although little is known about their biology, the two species seem to have different habitat preferences. Field surveys suggested that the non-disc-bearing form, G. typhlops, is usually present in the stagnant part of the habitat all year round, whereas the disc-bearing form, G. lorestanensis, was found to mostly occupy this part of the habitat during the pluvial period (March-May) when water from the cave outflows. In addition, we have recently observed an individual exhibiting an intermediate disc form in the cave barb locality that may be a hybrid, an extreme case of intra-specific variation, or a genetically differentiated species.

According to previous findings and observations, two possible scenarios can be proposed to explain the history and mechanism of speciation in the subterranean habitat. The first scenario involves two invasions, whereby G. typhlops invaded the habitat first and diverged from the incipient surface-dwelling species while the colonisation by G. lorestanensis occurred later, since G. lorestanensis has retained mental disc. In this scenario, the colonization by the second species is followed by character displacement that has shaped the modern cave barb species pair, similar to the case of the stickleback species pairs3. This scenario implies that G. typhlops would have undergone character displacement towards the use of a distinct trophic niche and to reduce competition with the new coloniser (G. lorestanensis). The second scenario would imply speciation in sympatry, whereby only one colonisation event from the source ancestral population was followed by sympatric divergence. In some cases, even with multiple colonisation events the scenario can be considered as sympatric divergence/speciation. Thus, after multiple colonisations from different resources a hybrid swarm may form and then new lineages/species may diverge from the hybrid swarm sympatrically21. Unfortunately, there are no fossil records of the genus Garra20 or data on the geological history of the habitat to be used in reaching inferences on the timing of the colonisation/s or speciation.

Previous genetic studies of blind Iran cave barbs were based on mitochondrial data only14,16,20, but the mitochondrial genome represents only a small percentage of the genome and is of maternal origin, which may lead to biases when drawing systematic and taxonomic conclusions. Indeed, mitochondrial data may be affected by events such as incomplete lineage sorting, introgression or selection, which may disrupt the phylogenetic signal22,23,24. Moreover, uniparental genetic data are not sufficiently informative to make inferences on the biological relationships of sympatric or syntopic species25. Next generation sequencing (NGS) technology provides the possibility of analysing thousands of genome-wide bi-parental markers for multiple individuals26,27,28,29. This approach can be efficiently applied to both model and non-model species for which no genome data is available26,27,30. In addition, the development of efficient software packages, including the STACKS pipeline27, has provided a suitable set of tools for handling the large amounts of data produced by NGS techniques31. More particularly in hybridized populations, genomic techniques may be useful for the identification of multiple species-diagnostic markers that would allow precise estimates of population and individual-level admixture32.

The main goal of this study was to shed light on the possible mechanism of cave barb speciation (whether sympatric or allopatric) regarding the scenarios described above. In this regard, we consider the criteria proposed to differentiate cases of sympatric speciation from those of allopatric speciation4. According the criteria proposed by Coyne and Orr4, speciation would be sympatric if the species: (a) have large or complete geographic overlap, (b) are completely diverged, (c) should be monophyletic or sister species, and (d) are unlikely to have evolved in allopatry during their evolutionary history. We analyse these criteria for the cave barb speciation using temporal field data, genomic analysis (using the GBS method), mitochondrial sequences (COI), and morphological comparisons.


Morphological analysis

Discriminant function analysis of the morphological variables produced two discriminant functions plotted against each other (Fig. 1). The G. typhlops and G. lorestanensis groups were completely separated on the discriminant function plot (Wilks Lambda = 0.000; Approx. F = 71.897; P < 0.001). The intermediate form positioned closer to the disc-bearing species, i.e., G. lorestanensis. The most important morphological variables in discriminating the groups were L8–10 (origin of the anal fin to the base of the pectoral fin; F-to-inter = 1017.15; Wilks Lambda = 0.0346; Approx. F = 15.314; P < 0.001), L2-9 (origin of dorsal fin to the base of the pelvic fin; F-to-inter = 94.88; Wilks Lambda = 0.0005; Approx. F = 33.384; P < 0.001), L2-6 (origin of dorsal fin to the lower end of the caudal peduncle; F-to-inter = 61.17; Wilks Lambda = 0.0979; Approx. F = 36.862; P < 0.001), L6-9 (lower end of the caudal peduncle to the base of the pelvic fin; F-to-inter = 43.55; Wilks Lambda = 0.0055; Approx. F = 15.554; P < 0.001), and L4-9 (upper end of the caudal peduncle to the base of pelvic fin; F-to-inter = 15.73; Wilks Lambda = 0.0000; Approx. F = 71.901; P < 0.001). The positioning of the mouth opening is nearly terminal in G. thyphlops and the intermediate form compared to G. lorestanensis (Fig. 2a and b). In assignment tests using a jack-knifing method based on the discriminant functions and the best discriminating variables noted above, all individuals were correctly assigned to their original groups. The overall correct assignment rate was 100%. On PCA plots, the species were not separated completely (Fig. 1).

Figure 1
figure 1

Top panel: Discriminant function (DF) analysis for the morphometric variables of the cave barb forms; Bottom panel: principal component analysis (PCA) of the cave barb morphometric variables. The 1st, 2nd, and 3rd components are graphed against each other.

Figure 2
figure 2

The different sympatric mental disc forms in blind Iran cave barb; (a): from right to left: well-developed disc, intermediate disc, and reduced disc, and (b): the corresponding ventral x-ray view of different disc forms; (c): from up to bottom: reduced disc, intermediate disc, and fully developed disc, and (d): the corresponding x-ray side view of different disc forms.

Mitochondrial phylogeny

The best model for COI data based on the AIC information criterion was TrN (Tamura-Nei) + Gamma. The phylograms reconstructed using Maximum Likelihood, Neighbour-Joining, and Maximum Parsimony approaches were all similar in their topology, and all groups analysed were supported with moderate to high boot-strap values (Fig. 3a). On the phylograms, G. lorestanensis, G. typhlops, the intermediate cave barb individual (nested in a sub-clade as sister groups: BS = 80–89), and G. gymnothorax from the Karun and Karkheh basins formed distinct and highly supported monophyletic clades (BS = 98–99). The intermediate form nested within the G. lorestanensis sub-clade (Fig. 3a). The mean between-group K2P distances were highest between G. typhlops and G. mondica (6.7%) and G. lorestanensis and G. mondica (6.3%). The least mean between-group K2P sequence distance was calculated for G. typholps and G. lorestanensis (3.6%). The K2P distances between G. gymnothorax from Karun-Dez basin and G. typhlops and G. lorestanensis were 4.6 and 4.3%, respectively.

Figure 3
figure 3

(a) Maximum Likelihood phylogram reconstructed for a 558-bp 5′ COI sequence. The values on the branches are bootstrap support values for Maximum Likelihood, Neighbour-Joining, and Maximum Parsimony methods, respectively. (b) Maximum Likelihood phylogram reconstructed for a concatenated 563,840-bp nucDNA sequence produced by next generation sequencing. The values beside the branches are maximum likelihood (ML), neighbour-joining (NJ), and maximum parsimony (MP) boot-strap support values, respectively. The filled circles on both trees denote the intermediate disc-bearing form of cave barb.

Nuclear DNA (nucDNA) phylogeny

A total of 11,257 filtered SNPs were identified among the 38 analyzed specimens. Different evolutionary models produced similar results, and thus we did not detect any model sensitivity in genomic data. The phylograms reconstructed using the model-based (ML) and non-model based approaches were similar in topology and, hence, only one of the phylograms is presented with the boot-strap support values for all methods noted (Fig. 3b). On the phylogram reconstructed using genomic sequence information, G. typhlops and G. lorestanensis nested in a well-supported monophyletic clade composed of two sub-clades each pertaining to one of the disc forms with robust bootstrap supports (BS = 100). In contrast to the mtDNA results, the intermediate disc-bearing specimen (Fig. 3b) nested within the G. typhlops sub-clade. Garra gymnothorax genomic sequences nested in two highly supported clades, one including the specimens from Karun and one including the specimens from Dez and Karkheh basins. On the species tree reconstructed using SNP data also a pattern similar to what observed on Genomic and mtDNA gene trees was observed: both cave barb species were monophyletic with maximal bootstrap support (Fig. 4). The Da differentiation between the cave barb species was 0.13%, while the respective distances of the cave barb species relative to other none cave Garra species considered here varied between 0.25% and 0.32%.

Figure 4
figure 4

Fifty present majority rule consensus Species tree reconstructed for SNP loci using SVDquartets method. The values on the branches are bootstrap support values calculated implementing 1000 permutations.

Admixture and clustering analysis

Using all 11,257 SNPs, the STRUCTURE analysis was consistent with the existence of three distinct genetic groups corresponding to the different species. Structure results showed that the intermediate specimen shared more ancestry (77%) with G. typhlops than with the disc-bearing form (23%), G. lorestanensis (Fig. 5). Principal Components Analysis (PCA) of SNP data revealed that the cave barb species are diverged from one another and from the out-group species used here. The cave barb species show divergence on the second principle component (PCII) but they are diverged from the out-groups on both PCs (Fig. 5). The PCA showed that the morphologically intermediate individual also falls genetically intermediate between the two cave species but closer to G. typhlops (Fig. 5).

Figure 5
figure 5

Top panel: Principal component analysis of SNP variance between the cave barb species and the surface dwelling out-group species. Bottom panel: Bayesian clustering pattern from a STRUCTURE analysis for K = 3 (Clustering pattern was similar for K = 3–5).

Mode of divergence

The inferred O parameter gave us the proportion of well-oriented markers for each model, reflecting good quality of the markers used for this analysis. While the JAFS (Joint Allele Frequency Spectrum) dimensions were reduced, only two models among the 14 tested outperformed others based on the ∆AIC and wAIC. We retained the IM2mG and AM2mG models with weights of 0.96 and 0.04, respectively. Considering only the best model with the higher wAIC value, the best-fitted model to the JAFS was IM2mG (Fig. 6 & Fig. SI), suggesting a sympatric mode of speciation with heterogeneous gene flow between diverging species that experienced bottlenecks during the divergence. The heterogeneous gene flow indicated that only a portion of loci were under disruptive selection and putatively involved in reproductive isolation. The inferred effective population sizes showed an asymmetric pattern with a higher Ne for G. lorestanensis and asymmetric gene flow between the two populations (Table 1).

Figure 6
figure 6

Historical demography of the species-pair: (A) IM2mG scenario corresponding to the best-fitting model to the empirical Joint Allele Frequency Spectrum (JAFS). (B) Observed JAFS for G. lorestanensis (y-axis) and G. typhlops (x-axis) populations and (C) the predicted JAFS of the best-fitting model. The color scale corresponds to the probability of occurrence of the derived allele from five individuals from both populations.

Table 1 Model-fitting results.


The three geographic modes of speciation, i.e., allopatry, parapatry and sympatry, differ in geographic means of isolation and in the rate of gene flow among the diverging populations2,4,5. Allopatric speciation necessitates the complete geographic and therefore reproductive isolation of the populations, and most cases of speciation are categorized in this class2,4,33. On the other hand, parapatric and sympatric modes of speciation occur when reproductive isolation and speciation occur while distribution overlaps and there are variable rates of gene flow among populations2. To determine whether sympatric divergence occurred and led to speciation four criteria must be fulfilled: (a) sympatric distribution, (b) genetic evidence for reproductive isolation, (c) monophyly, and (d) unlikeliness of allopatric differentiation2,4,5,7. Below we interpret and discuss the results obtained for the blind Iran cave barb species according to these criteria.

Mode of Speciation and species origin

The blind Iran Cave barb species, G. typhlops and G. lorestanensis, exist in sympatry in the subterranean habitat. Their probably confined nature of the subterranean habitat makes this system a plausible case for sympatric speciation. The only known connection of the subterranean habitat with the surface habitat is through a small stream (known as Kayeh-ru) created during pluvial periods that drains from the cave barb locality to Sirum Stream and then into the Sezar River. The Kayeh-ru stream passes two high waterfalls (7–8 m) that block the upstream migration of Garra species from the river to the subterranean habitat (cave barb locality). Bayesian clustering analysis (structure plot) of the SNP data for different K values (K = 3–5) also shows no ancestry from the surface dwelling specimens (out-group species). Therefore, recent colonization of the cave barb species or ongoing gene flow from the river seems unlikely. In addition, the mtDNA data show that specimens from Dez River (the most proximate river to the cave barb locality), Karun River (the same basin), and Karkheh River (the basin west to the cave barb locality) basins differ from the blind cave barbs, which is concordant with a previous report in which cave barbs were considered20. This divergence from the surface-dwelling G. gymnothorax inhabiting the Karun-Dez and Karkheh basins may indicate that cave barb lineages have been in isolation from the surface habitats for a prolonged period (see below) or that their closely related surface dwelling populations/species have not been sampled or gone extinct during old drought periods6.

The mtDNA and nucDNA phylogenetic analyses show that the cave barb species are phylogenetically diverged, which may imply reproductive isolation of the two cave barb species from one another. However, reproductive isolation appears incomplete, given that the intermediate disc-bearing individual is genetically intermediate between both species, which is not unexpected in cases of incipient sympatric speciation4,5,6, especially in cyprinids34. The intermediate individual is probably a post-F1 hybrid of G. lorestanensis and G. typhlops, as it shows 23% of genetic ancestry from G. lorestanensis and 77% of its genetic composition from G. typhlops. Consequently, the intermediate individual clustered with G. typhlops as a sister group on the genomic phylogeny. Although admittedly based on the analysis of one available specimen only, this proves that hybrids between these two species can be fertile and reproductively compatible with pure-species individuals or other hybrids. The mechanism for partial reproductive isolation of the cave barb species is not well understood. They appear to show temporal habitat isolation at the accessible part of the subterranean habitat, with G. typhlops being present all year round in the slow-flowing/stagnant part of the habitat and G. lorestanensis being present mostly during pluvial periods (March–May) when there is an increase in flow-rate. Garra species with reduced or no disc usually are observed in slow-moving or stagnant water bodies and the species with a fully developed disc are mostly observed in fast-flowing watercourses20. The mental disc is believed to be a morphological character that evolved in labeonin fishes for maintaining position in fast-flowing habitats35. Thus, given also the different habitat zones/partitions in the subterranean biome and their poor productivity11,13, it is plausible that the cave barb species may occupy different microhabitats based on the flow rate, perhaps to reduce competition and to utilize different resource environments36. In turn, such habitat isolation eventually could lead to the observed partial reproductive isolation and hence indirectly to assortative mating by increasing the chance that members of each species would mate more frequently with conspecific individuals5. Nonetheless, their contacts and probable syntopy during the pluvial period (March–May), which falls within the spawning season of most cyprinid fish species in the area37, can increase the chance of hybridization and gene flow between the two species, as revealed also by the JAFS analysis. One other mechanism opposing gene flow between the cave barbs can be inferred as formation of species barriers which had been reported to start at Da divergence levels as low as 0.075% (Da between cave barbs = 0.13%) between semi-isolated species38. Admitedly, a rigorous test of these hypothetical scenarios of flow-dependent habitat isolation or formation of species barriers will require a more extensive study with increased sample size for both pure and hybrid specimens encompassing other parts of the subterranean habitat. Given the scarcity of these taxa, this may however prove challenging. Both phylogenies and morphological data confirm the taxonomic status of the cave barb species reported previously14,15,16,17,20. On both the mitochondrial and genomic phylogenies, cave barb species nest as sister groups. The mtDNA phylogeny shows deeper genetic divergence between the two cave barb species (3.6% K2P) compared to the genomic divergence (0.14% K2P). The deeper mtDNA in face of a shallow nuclear genomic divergence between the cave barbs can be justified by the 5–10 times higher mutation rate and smaller effective population sizes of mtDNA compared to nucDNA25,39. The higher mutation rate and the lower effective population size of mtDNA in combination with behavioural and ecological characters like differential habitat dependence of male and female cave barbs, in which females show philopatry while males disperse more25,40, may magnify the divergence depth difference observed between the maternally inherited genome and the nuclear genome. Other possibilities to this differential divergence may be the mito-genomic interactions and selection40. Anyway all these possibilities await more trough analyses on behavioural differences, the effects of selection, and mito-genomic interactions.

The historical demography inferred from the Joint Allele Frequency Spectrum (JAFS) revealed that a model of Isolation-with-Migration (IM) with ongoing asymmetrical gene flow best fitted the data, which may be predicted based on Da value of 0.13% between the cave barb species. Roux et al.38 infer that in species pairs with Da values lower than 0.5% ongoing gene flow is highly supported. Nevertheless, while likely more recent than the divergence from G. mondica and G. gymnothorax, the mitochondrial divergence of 3.6% is suggestive of a fairly ancient divergence of the two blind cave barb species. Although any molecular clock must be used and interpreted very cautiously, rates reported for cyprinid fish mtDNA cyt-b varies from 0.52%41 to 0.76%42 per million years, suggesting a divergence time of about 5–6 million years.

Overall, according to demographic history modeling, PCA analysis, habitat overlap, and phylogenetic relationships, the most parsimonious scenario for the origin and current sympatric occurrence of G. lorestanensis and G. typhlops is likely sympatric speciation with still-incomplete reproductive isolation. As the subterranean habitat is confined and the only known connection to the closest riverine habitat in the Dez basin is through the Kayeh-ru stream, it seems most probable that the ancestral taxon originated from the Sezar River located nearly 5 km away from the cave barb locality (Dez basin) and subsequently to have diverged in sympatry in the subterranean habitat. Admitedly, we cannot rule out the possibility that the contemporary surface dwelling populations or species we have collected may not be the actual ancestral species/population of the cave barbs. To verify that speciation of the cave barbs is indeed a product of one colonization or more, it is reasonable to assume that in the case of a single colonisation event, both species should show (nearly) equal genetic distances relative to the out-group(s), indeed, both the cave barbs are nearly equally diverged from the out-groups (G. gymnothorax) in the Karun-Dez basin, with the mtDNA sequence distances being 4.3% and 4.6%, respectively, therefore supporting this view. This was also further supported by the PCA results. While our results are clearly more supportive of a scenario of sympatric origin than that of allopatric origin followed by secondary contact, they are not sufficient to totally rule out other hypotheses including a single or more colonization waves or other mechanisms of speciation. Nevertheless, our results clearly show that this system of sympatric Iran cave barb species deserve further studies pertaining to speciation research.

Materials and Methods


Sampling and collections of the environmental data were conducted from March 2013 to August 2016 in the Zagros Mountains (33°04′38″N 48°35′35″E) using a scope net (Fig. 7). We collected a total of 26 specimens (11 G. typhlops, 14 G. lorestanensis). In addition, we used 10 G. gymnothorax (Karun-Dez and Karkheh basins), and two Garra mondica (Mond Basin) specimens for the genomic analysis. We also recorded the frequency of the two species at different times during 2014–2015. Fish were over-anaesthesed using clove powder and the pectoral fin was clipped and preserved in 95% ethanol. The whole fish was preserved in 10% formalin solution except for five fish that were preserved in ethanol. The methods and procedures used during sampling and handling the live fish were all approved by the research and education council of the faculty of Natural Resources and Earth Sciences (Shahr-e-Kord University, Iran) and all are in accordance with the protocols required by the Iranian Department of Environment. The number of fish was restricted according to the permit issued by the Iranian Department of Environment (Permit no. 8613/94). Fish were checked and scored for the presence or absence of mental disc.

Figure 7
figure 7

Geographic position of the drainage basins that were sampled. The black circles denote the localities for G. gymnothorax and G. mondica, and the red circle denotes the cave barb locality. The map was produced using DIVA-GIS v 7.5 and the free spatial data (shape files) available at

Morphological analysis

Fish specimens were mounted on a Styrofoam board using colored pins and were photographed using a digital camera from a fixed distance and with similar zoom (Fig. SII). The colored pins were inserted at different anatomical landmarks to help during digitalization of the landmark coordinates. A total of 11 landmark points were digitalized on each fish using the software TpsDig243. For comparing the morphology of the specimens, we used the truss approach, which consists of the linear distances among morphological landmarks depicted upon the periphery of the objects44. Landmark coordinates were converted to linear distances using formula (1).


where a and b denote the differences between the x and y coordinates of each pair of landmarks, respectively, and C is the linear distance between each pair of landmarks in pixels44. To compensate for size differences and allometric effects, all the distances were transformed to ratios related to the standard length of each specimen. The distance data were analysed with Principle Component Analysis (PCA) and Discriminant Function Analysis (DFA) in which the groups were defined before the analysis and the populations/groups were then analysed to find the most important discriminant variables. The discriminant functions were used to assign individuals to source groups. For DFA analysis, a forward stepwise approach was taken. To determine the relative importance of each morphological variable in discriminating different groups, F-to-remove statistics was set to 3.9 and other parameters left as default in SYSTAT9. In addition to the regular photos, x-ray photos of all specimens were taken to compare the position of the mouth opening.

Mitochondrial COI analysis

DNA was extracted using the Chelex 100/200 method45 and the salt extraction method46. The primers FishF1 and FishR1 in Ward, et al.19 were used for COI amplification. The PCR reactions were performed in 25-µl volumes containing 18.5 µl H2O, 2.5 µl 10 × buffer, 0.5 µl MgCl2 (50 mM), 0.5 µl of each primer (10 mM), 0.5 µl dNTP, 0.5 µl Taq DNA polymerase, and 2 µl DNA solution. Thermal cycles included 1 cycle of 94 °C for 5 min; 35 cycles of 94 °C for 1 min, 58 °C for 1 min, and 72 °C for 1 min; and a final extension at 72 °C for 5 min. PCR products were sequenced using a forward primer and a Prisma 3130 sequencer following the protocols provided by the manufacturer ( The sequences were aligned and edited visually using Bioedit47.

Nuclear DNA (nucDNA) analysis

Library preparation

DNA was extracted using salt extraction46 with an additional RNAse (Qiagen) treatment following the manufacturer’s protocol. The quality of the extracted DNA was checked on a 1% agarose gel and the degraded specimens were excluded. The extracted DNA was quantified using a NanoDrop spectrophotometer, and concentrations were normalized to 20 ng/µl (ranging from 16 ng/µl to 24 ng/µl) based on picogreen read values (Invitrogen: Libraries for Genotyping By Sequencing (GBS) were prepared following Mascher, et al.48. First, genomic DNA was digested using the PstI and MspI restriction enzymes, followed by ligation to a unique individual barcode and to adaptors for amplification. Barcoded specimens were multiplexed and amplified in a common tube. A total of 38 specimens were included per chip, for a total of three chips sequenced using the Ion Torrent technology available at the IBIS sequencing platform (Université Laval, Canada).

Data processing and analysis

Sequencing adapters were removed using cutadapt49. Sequence quality of the first 10,000,000 reads was assessed using FastQC50. Libraries were de-multiplexed using process_radtags in STACKS V.1.3527. Reads were trimmed to 80 bp and shorter reads were discarded. We used the STACKS v1.35 analysis pipeline to score genotypes at 51,836 SNPs for our samples. Then these results were filtered using the scripts included in stacks_workflow ( The filtration parameters were: -l 0; -I 8; -p 70; -a 0.05; -A 0.05; -H 0.5; -f −0.5; -F 0.6; -s 10. A final set of 11,257 SNPs located on 7,048 reads were retained following the filtering steps.

The sequences of the 7,048 loci were concatenated and, finally, a 563,840-bp sequence per individual was produced for phylogenetic analyses. When heterozygous, the different SNPs were named using IUPAC symbols. On average, 6% of locus information was missing per individual, and missing alleles were imputed by the most frequent allele in each species for each locus.

To infer the historical demography based on Joint Allele Frequency Spectrum (JAFS) (see below), a dataset was prepared from the original VCF file. Several filtering steps – aimed at removing miscalled and low-quality SNPs, as well as false variation induced by merging paralogous loci – were performed using VCFtools v0.1.1351. SNPs with more than 90% of missing genotypes in all individuals were removed, but a lower exclusion threshold (50%) was applied to the out-group to retain a maximum of orthologous loci. After filtering for Hardy-Weinberg disequilibrium for each population (p-value exclusion threshold of 0.01), the filtered datasets were merged. Finally, the most parsimonious ancestral allelic state was determined by keeping monomorphic loci in the out-group, but polymorphic in the complex G. typhlops-G. lorestanensis, aiming to infer the divergence between species, of the studied complex. These result in 5,890 oriented SNPs used to build the unfolded JAFS.

Detecting and characterizing hybridation

The admixture proportions among samples were inferred using the Bayesian clustering method implemented in the program STRUCTURE V.2.3.452. The structure was evaluated for K = 1–5 using admixture model with correlated allele frequencies. The MCMC chains were ran for 100,0000 generations. The support for different values of K was assessed from the likelihood distribution (lowest cross-validation error) and visual inspection of the co-ancestry values for each individual. In addition, two supplementary K-means clustering analyses, the Bayesian Information Criterion (BIC; Schwarz53) and the Calinski–Harabasz pseudo-F-statistic54, were performed on individuals using the GENODIVE v.2.0b25 program55. For these K-mean clustering analyses, a simulated annealing method was used, where the optimal K value was determined via checking K values ranging from 1 to 5 for 5,000 permutations. A PCA implemented in the ade4 package56 was performed and the first three principal components were visualized using ggplot2 package available in R57.

Phylogenetic analysis

The mtDNA and nucDNA phylogenetic trees were reconstructed using Neighbour-Joining (NJ) and Maximum Parsimony (MP) methods using MEGA758 and Maximum Likelihood (ML) using RaxMLGIU 1.5b259. The best-fit model(s) of mtDNA sequence evolution were selected using the online ModelTest60 in the HIV sequence database ( As there may be incongruence between the gene trees and species trees due to different factors like incomplete lineage sorting (ILS)61,62, species tree was reconstructed for the sequences of 5,843 loci, using SVDquartets + PAUP* (implemented in PAUP*4) software. SVDquartets inference of the species tree was performed using the multispecies coalescent tree model and QFM algorithm of quartet assembly. The branch supports in SVDqurtets method were calculated via implementing 1000 bootstrap repeats. Garra mondica was also included as an out-group. The K2P sequence distances for both data types were calculated using MEGA7. As the net molecular divergence (Da) has been reported to be a predictor of ongoing gene flow, this distance was also calculated38 using formula (2) (Camille Roux personal communication).

$$Da=({\rm{\Delta }}s-(\frac{{p}_{iA}+{p}_{iB}}{2}))/n$$

where ∆s is the average number of pairwise differences between sequences from species A and species B and P i is the nucleotide diversity in each species, and n is the length of the concatenated sequence. The nucleotide differences and diversity indices used for the calculation of Da were calculated using MEGA7.

Demographic history inferences

The demographic history of the species pair was inferred using ∂a∂i v1.763. The unfolded Joint Allele Frequency Spectrum (JAFS) was projected down to 5 individuals (i.e., 10 chromosomes), aiming to optimize the resolution and avoid remaining missing genotypes, which were not removed by the filtering threshold. Basic models of alternative modes of divergence: Strict Isolation (SI), Isolation-with-Migration (IM), Ancient Migration (AM), and Secondary Contact (SC) were tested. Briefly, each model consisted of the split of an ancestral population of effective population size Nref in two populations of effective size N l and N t during a period of T split (SI, IM) when populations diverged, T AM  + T S (AM), or T S  + T SC (SC) generations. The IM, AM and SC models allow migrant exchanges during T split , T AM and T SC , respectively, at rate met->l from G. typhlops to G. lorestanensis and mel->t in the opposite direction. We extended these models to integrate temporal effective population size variations (−G) aiming to describe expansions (b i  > 1) or bottlenecks (b i  < 1) in b l and b t for G. lorestanensis and G. typhlops, respectively, as implemented in Rougeux et al.64. The effective populations size variations started after the split of the ancestral population (SI and IM models) and after ancient migration and secondary contact for AM and SC models, respectively. In addition, models were extended to account for heterogeneous migration (−2m) across the genome. This parameter implementation allowed definition of two categories of loci. First, loci evolving neutrally (i.e., with migration rates met->l and mel->t) occurring in proportion P and the second for loci experiencing different effective migration rates (i.e., me′t->l and me′l->t) due to their linkage with nearby genes under selection, occurring in proportion 1 − P64,65. The 14 tested models (Fig. SIII) were fitted independently applying successfully a hot and cold simulated annealing procedure followed by ‘BFGS’ optimization65. After running 25 independent optimizations for each model to obtain convergence, we retained the best one to perform comparisons among models based on Akaike information criterion (AIC). We defined a conservative threshold of ∆AIC = 10 and computed Akaike weights (wAIC) for models below the ∆AIC threshold64.

Data availability

Demultiplexed DNA sequences are available at SRA database (SRA accession: SRP132073).NCBI Accession numbers for COI sequences: MG852030-MG852067.