Introduction

The riverine barrier hypothesis (RBH) posits that rivers can be geographical barriers to dispersal for terrestrial organisms, leading to a reduction/restriction of gene flow between individuals at both sides of the river, and thus enhancing genetic differentiation and, ultimately, allopatric speciation (Wallace 1852). The barrier effect of this landscape feature is pervasive across the world and applies to many taxonomic groups (e.g. insects, Hall and Harvey 2002; birds, Kopuchian et al. 2020; mammals, Nicolas et al. 2011; plants, Nazareno et al. 2017; reptiles, Pirani et al. 2019; amphibians, Waraniak et al. 2019).

The extent to which rivers affect dispersal depends mainly on their physical attributes, and on the phenotypic traits of organisms. Large rivers with strong water currents are often effective dispersal barriers that promote genetic population subdivision and lineage diversification (e.g. Funk et al. 2007; Frantz et al. 2010; Nicolas et al. 2011; Moraes et al. 2016; Godinho and da Silva 2018), although the RBH is often assumed when populations or lineages´ range boundaries coincide with the location of rivers. The barrier effects of rivers are expected to be lower in large-sized organisms that can swim and counteract water current, and in animals that exhibit great swimming/flight abilities (e.g. mammals, birds, some amphibians; Cushman et al. 2006; Pérez-Espona et al. 2008; Luqman et al. 2018; Kopuchian et al. 2020). Conversely, rivers generally comprise relatively impermeable barriers for small-sized and poor dispersers, such as small mammals, amphibians or reptiles (Funk et al. 2007; Nicolas et al. 2011; Fouquet et al. 2012; Pirani et al. 2019; Waraniak et al. 2019). Moreover, life-history also plays a crucial role in determining the barrier effects of rivers. For semi-aquatic species, which spend more time in water and evolved adaptations to an aquatic life style, such as limbs adapted for a more efficient swimming (Dunstone 2007; Moen 2019) or walking on water (Bush and Hu 2006), it is likely rivers comprise more permeable obstacles for these taxa compared to close-related and strictly terrestrial species. Hence, one may hypothesize the extent to which rivers influence dispersal and gene flow may have changed in those species that underwent major life-history modifications regarding the way they interact with aquatic systems, though this subject is still poorly explored.

Despite being broadly characterized as semi-aquatic group, amphibians present a high diversity of life-histories ranging from fully aquatic and semi-aquatic life cycles to fully terrestrial ones (Crump 2015). This vertebrate group comprises a good system in which to examine how changes in life-history traits influence the barrier effects of rivers. Throughout the deep evolutionary history of amphibians, many species shifted from a biphasic life-history (aquatic eggs and larvae develop into terrestrial adults) to a fully terrestrial one (Blackburn 2015), in which the aquatic stage is skipped and, therefore, oviposition (direct development; Wake and Hanken 1996) or the parturition of metamorphosed juveniles (pueriparity; Greven 2003) occurs in land. Such pronounced changes in their life cycle have been associated to a lack of suitable water bodies in their environments for depositing offspring (e.g. García-París et al. 2003; Beukema et al. 2010; Velo-Antón et al. 2012; Liedtke et al. 2017; Lion et al. 2019), but the effects of these aquatic features as potential barriers to dispersal in both reproductive modes (i.e. aquatic and terrestrial) have never been thoroughly assessed.

Here, we use the fire salamander (Salamandra salamandra, Linnaeus 1758) as study model to examine the genetic barrier effects of rivers in salamander populations. This species presents both semi-aquatic and fully terrestrial populations, which makes it a good system to infer how life-history influences the barrier effects of rivers. Salamandra salamandra presents two live-bearing (viviparous) reproductive strategies: (1) an ancestral larviparous reproduction, which occurs throughout most of its distribution and, in which females deliver aquatic larvae (ca. 20–80); and (2) a phylogenetically derived pueriparous reproduction, in which the aquatic larval stage is skipped and females give birth to ca. 1–35 fully developed terrestrial juveniles (Buckley et al. 2007; Velo-Antón et al. 2015; Alarcón-Ríos et al. 2020a). The latter is restricted to north-western Iberian Peninsula and evolved independently in the subspecies S. s. bernardezi during the Pleistocene in the Cantabrian Mountains (García-París et al. 2003), and more recently, in insular populations of S. s. gallaica during the Holocene (Velo-Antón et al. 2007).

A previous comparative landscape genetics study assessed how the landscape composition (i.e. land cover, topography, and vegetation) affect genetic connectivity in larviparous and pueriparous populations of S. salamandra (Lourenço et al. 2019). This study showed that water courses (both low order streams and rivers) significantly hinder gene flow only in pueriparous salamanders, thus implying the evolution of a fully terrestrial life cycle entailed lower crossing rates across these landscape features. However, despite the clear effect of water courses on the population connectivity of pueriparous salamanders, the study design carried out by Lourenço et al. (2019) at a regional level did not have sufficient spatial resolution to determine the importance of rivers in shaping gene flow in both larviparous and pueriparous salamanders. A fine-scale sampling design based on parallel transects along riversides should not only allow inferring more accurately the extent to which rivers hamper dispersal, but also better controlling for the confounding effects of other landscape features on genetic structure. Here, we used 14 microsatellite markers and a mitochondrial marker to assess the short- and long-term genetic barrier effects of 11 rivers in larviparous and pueriparous populations, respectively. We performed parallel sampling transects (< 1 km, only separated by rivers) and used both individual- and population-based genetic methods to evaluate the role of main rivers as barriers to gene flow. We expect a higher genetic structure and lower relatedness between pueriparous salamanders sampled in opposite sides of the river compared to their larviparous counterparts, thus providing greater support to the hypothesis that rivers impose greater barriers to pueriparous salamanders due to their terrestrial life-history (Lourenço et al. 2019). Nevertheless, we also expect the characteristics of rivers (e.g. river width) can also play a role in determining the barrier effect of these landscape features.

Methods

Study area and sampling design

We studied populations of two S. salamandra subspecies distributed throughout north-western Iberian Peninsula: (1) S. s. gallaica, which is larviparous in mainland populations; and (2) the pueriparous S. s. bernardezi (Velo-Antón et al. 2015). We sampled lowland populations in six and five permanent rivers located within S. s. gallaica and S. s. bernardezi ranges, respectively (Fig. 1; Table 1). All these rivers fall within the Atlantic climate influence of the Iberian Peninsula and share a similar native vegetation (deciduous forests of Quercus spp.). While we tried to sample all major rivers across the north-western Iberia, this was not possible due to the absence or very low population densities of fire salamanders that have been recently affected by the severe habitat loss and fragmentation across this area (i.e. presence of agricultural fields and eucalyptus plantations along riversides; Deus et al. 2018; Lourenço et al. 2019). We performed sampling in sections of the rivers where patches of deciduous forests with high availability of shelter were present (Velo-Antón and Buckley 2015) to minimize the potential confounding effects of habitat fragmentation on individual dispersal (Cosgrove et al. 2018). We also tried to avoid sampling sections of the river containing crossing structures (e.g. bridges), which presumably may promote higher dispersal and gene flow rates across the river. Nevertheless, this was not possible in three of the studied rivers where nearby bridges were present (Table 1).

Fig. 1
figure 1

Map displaying the study area in north-western Iberia. The inset shows the distribution range of Salamandra salamandra. Within A, the distribution patterns of reproductive modes are shown in blue and red for larviparity (S. s. gallaica) and pueriparity (S. s. bernardezi), respectively. Sampled locations are named after the studied rivers

Table 1 Characterization of the rivers sampled within the range of larviparous and pueriparous fire salamander populations

We sampled during rainy nights of early spring (from March to April of 2019) and autumn (October and November of 2018 and 2019), thus matching the peaks of activity of adult fire salamanders in northern Spain (Velo-Antón and Buckley 2015). We sampled adults to prevent spurious estimates of genetic structure arising from an excessive sampling of related individuals because larvae and, to a less extent juveniles, are often spatially clustered (Wang 2018; O’Connell et al. 2019). We collected toe clips from a total of 311 individuals (191 larviparous and 120 pueriparous salamanders) in 11 localities (mean ± SD: 28 ± 10.5 individuals per locality). All individuals were georeferenced and sexed through visual inspection of the cloaca (Velo-Antón and Buckley 2015). We performed parallel transects of an approximate average length of 563 m (range: 152–1180 m) to sample individuals along both sides of each river (Table 1). This sampling scheme avoids potential confounding effects of other landscape features affecting salamander dispersal, while the length was selected to assure the transects were longer than the width of the rivers, thus potentially preventing misleading results arising from a pattern of isolation by distance (Meirmans 2012).

Laboratory procedures and genotyping

We extracted genomic DNA using the Genomic DNA Tissue kit (Easy Spin), following manufacturer’s protocol. Quantity and quality of the extracted DNA was evaluated on an electrophoresis 0.8% agarose gel. A total of 14 microsatellites, distributed in four multiplexes (Steinfartz et al. 2004; Hendrix et al. 2010), were amplified through Polymerase Chain Reactions (PCRs) following optimized and previously tested conditions (see Lourenço et al. 2018a). PCR products were tested in 2% agarose gel and run on an ABI3130XL capillary sequencer (Applied Biosystems). Allele scoring was performed in GENEMAPPER 4.0 (Applied Biosystems). Since salamanders are capable of regenerating their toes, we used the option Multilocus Matches in GENALEX 6.5 (Peakall and Smouse 2012) to check for genotype matches, as some rivers were sampled during different seasons and multiple nights apart.

We randomly selected a mean number of six individuals from each riverside in each sampled locality to amplify a short fragment of the mitochondrial DNA (mtDNA) gene cytochrome b (cytb), using primers cytb-2 (Kocher et al. 1989) and MVZ 15 (Moritz et al. 1992). We followed the laboratory protocol described in Velo-Antón et al. (2007). In total, this mtDNA marker was amplified for 72 larviparous and 66 pueriparous individuals. DNA sequencing was outsourced to Genewiz Inc. (Leipzig, Germany). All the obtained chromatograms were verified, aligned and corrected by eye using GENEIOUS PRO version 11.1.4 (http://www.geneious.com/). The aligned cytb sequences were trimmed to avoid missing data, resulting in a consensus sequence of 315 bp.

Microsatellite quality control

We tested all microsatellite loci for potential deviations from Hardy Weinberg Equilibrium (HWE) and Linkage Equilibrium (LE) by performing exact tests in GENEPOP 4.2 (Rousset 2008; dememorization = 10,000, batch number = 5000; batch length = 10,000). We applied the false discovery rate (Benjamini and Hochberg 1995) to correct p-values from HWE and LE multiple exact tests. We calculated frequencies of null alleles in INEST 2.0 (Chybicki and Burczyk 2009) using the individual inbreeding model and setting a total of 200,000 iterations, thinned every 200 iterations, with an initial burn-in of 20,000 iterations. We calculated the Probability of Identity PIID (Waits et al. 2001) and the Probability of Identity accounting for sibs PIIDsibs in GENALEX 6.5 (Peakall and Smouse 2012) to assess the informative power of our loci to discriminate between individuals.

Genetic diversity

We estimated parameters of population genetic diversity in GENALEX 6.5 for all individuals sampled in each river and within each riverside separately. Specifically, we calculated the mean number of alleles per marker (NA), observed (HO) and expected (HE) heterozygosities, number of private alleles (PA), and the number of individuals containing private alleles (NPA). We estimated allelic richness (AR) corrected for the smallest locality's sample size using the package diveRsity (Keenan et al. 2013) in R (R Development Core Team 2017), and population mean inbreeding coefficient (F) in INEST 2.0.

Genetic differentiation between riversides

We used the cytb data to examine the potential long-term level of population differentiation between individuals sampled on each riverside. We generated a haplotype network using TCS v. 1.21 (Clement et al. 2000) with a 95% of probability of parsimony, and edited the haplotype network in TCSBu (Santos et al. 2015).

We further evaluated the contemporary genetic barrier effects of the sampled rivers using both individual- and population-based genetic approaches that relied on the microsatellite genotypes. We first analysed the spatial distribution of related individuals between riversides. We used COANCESTRY 1.0.1.9 (Wang 2011) to calculate two estimates of pairwise relatedness among individuals: (1) the triadic likelihood estimator (RTRI) (Wang 2007); and (2) the Queller and Goodnight’s point estimator (RGT) (Queller and Goodnight 1989). We did not account for genotyping errors or inbreeding, and 95% confidence intervals (CIs) were computed through 1000 bootstrap resamplings. We considered pairs of related salamanders those that exhibited a pairwise relatedness ≥ 0.125 for both metrics (the theoretical value of third-order relationships; e.g. cousins). We calculated the frequency of pairs of relatives located on opposite riversides (FINTER) for each sampled locality. We also performed a permutation test of the difference of means between two groups to assess the hypothesis that average relatedness among dyads separated by the river is lower than the average relatedness calculated for dyads sampled on the same riverside. Specifically, for each river, the pairwise relatedness values were split into two groups: (1) those involving pairs sampled on the same riverside (intra-riverside); and (2) those involving dyads located on different riversides (inter-riverside). The permutation tests were performed in COANCESTRY using a total of 10,000 permutations (α = 0.05).

We then evaluated contemporary genetic differentiation between individuals sampled on different riversides using population-based approaches. For each sampled locality, we grouped all individuals sampled on opposite transects as independent populations. We first calculated two indices of genetic differentiation: (1) the pairwise FST (Nei 1977); and (2) the pairwise Jost’s DEST (Jost 2008). Significance was tested (α = 0.05) in GENALEX by performing 9999 permutations of the data. Finally, we also examined how river width is associated with pairwise genetic differentiation between individuals sampled on opposite riversides. We used the non-parametric Kendall correlation (τR) test to perform a quantitative assessment of the relationship between both variables.

We also inferred and visualised patterns of contemporary population genetic structure for each sampled locality through two clustering methods: (1) the Bayesian approach implemented in STRUCTURE 2.3.4. (Pritchard et al. 2000); and (2) the multivariate method of discriminant analysis of principal components (DAPC) implemented in the R package adegenet 2.1.1 (Jombart et al. 2010). Both methods have previously shown decent performance in detecting the effects of linear and non-linear landscape barriers on genetic structure (Jombart et al. 2010; Blair et al. 2012; Sánchez-Montes et al. 2018). Because we are interested in assessing whether the study rivers comprise a genetic barrier, for these analyses, we grouped individuals from each riverside as a different “population” and ran the algorithms assuming only two genetic clusters (K = 2).

Preliminary analyses in STRUCTURE using default parameters (e.g. no sampling location information) showed genetic structure between sides of the river was very weak for several sampled localities. Under these circumstances, incorporating sampling information in STRUCTURE (i.e., including the LOCPRIOR parameter) enables a more accurate detection of subtle patterns of genetic structure (Hubisz et al. 2009). Hence, we carried out STRUCTURE analyses with a prior location information (LOCPRIOR parameter), admixture model, and correlated allele frequencies. We performed ten independent runs for K = 2 and each run was set to 500,000 iterations with a burn-in period of 10%. Moreover, the inclusion of related individuals in the analyses may overestimate population genetic structure (Wang 2018; O’Connell et al. 2019). Accordingly, we removed an individual from each pair of first-order relatives (RTRI ≥ 0.5, parent–offspring and full-sibs) in those localities that showed some evidence of genetic structure between riversides. In those cases, we then re-estimated population structure using the same input parameters.

DAPC is a multivariate method that summarizes the data to maximize the variation between groups while minimizing it within groups. Unlike STRUCTURE, it does not make any assumptions regarding HWE and LE. We did not follow the package manual’s guidelines regarding the choice of the optimum value of Principal Components (PCs). This is because the cross-validation method proposed in the manual would potentially lead to overfitting of the discriminant functions due to the relatively low sample sizes observed in some rivers (Jombart et al. 2010). To overcome this issue, we retained a number of PCs correspondent to one third of the sample size in given locality (e.g. Grummer and Leaché 2017).

Results

Marker validation and population genetic diversity

All sampled individuals in a river exhibited a minimum of six to nine allele mismatches between each other (Table 2). The probability of identity (PIID) and probability of identity when accounting for sibs (PIIDsibs) were low, ranging from 3.7 × 10−21 to − 6.7 × 10−13 and 2.2 × 10−7 to 1.2 × 10−5, respectively. Accordingly, we concluded that our 14 loci have high information content to discriminate individuals and, hence, we considered none of the sampled individuals were recaptures and all were retained for downstream analyses.

Table 2 Sampling information and genetic statistics for the studied localities

After accounting for multiple testing, we found evidence of deviations from LE in two loci (Sal3, SalE8) in three populations (Minho, Cávado and Anllóns). Three loci (Sal E2, Sal3, SST-C3) showed departures from HWE due to heterozygote deficiencies although deviations were not consistent across populations. Because we did not find a congruent pattern regarding deviations from HWE and LE, we retained all loci in subsequent analyses. No locus showed evidences for null alleles or large allele dropout.

Genetic diversity was overall high and relatively similar between larviparous and pueriparous populations (mean values for larviparous and pueriparous populations, respectively: HO: 0.73 vs. 0.73; HE: 0.78 vs. 0.79; NA: 10.06 vs. 9.82; PA: 0.63 vs. 0.52; NPA: 39.67 vs. 23.4; AR: 6.44 vs. 6.88; Table 2; “Appendix 1” for information per riverside). Mean inbreeding coefficients were low in both larviparous (mean F = 0.03) and pueriparous (mean F = 0.08) populations.

mtDNA analysis

The cytb dataset comprised 137 samples with a mean number of 12 samples (± 2.4) per river (“Appendix 1”). We found a total of 14 haplotypes, of which seven and five were exclusive of pueriparous and larviparous populations, respectively (“Appendix 5”). All samples from larviparous rivers were clustered in seven haplotypes, while nine haplotypes contained at least one sample from pueriparous populations. All rivers showed more than one haplotype, and at least one haplotype shared between riversides (“Appendix 6”). The larviparous population of Eume and the pueriparous populations of Nora and Narcea showed highly divergent shared haplotypes, and overall, pueriparous populations showed more haplotype diversity than larviparous populations with at least three haplotypes per river. Despite the low sample sizes, all rivers but Anllóns showed unique haplotypes at one riverside.

Individual-based analysis

COANCESTRY identified a total of 309 pairs of relatives (RTRI ≥ 0.125) out of 4793 dyads, of which 88 in pueriparous populations (out of 1546 dyads; 5.69%) and 221 in larviparous populations (out of 3247 dyads; 6.8%) (Table 3). The average intra-riverside relatedness was similar between reproductive modes (larviparous RTRI: 0.034 ± 0.005; pueriparous RTRI: 0.035 ± 0.006), while relatedness among inter-riverside dyads was on average lower than within riversides, particularly, in pueriparous populations (larviparous RTRI 0.023 ± 0.009; pueriparous RTRI 0.016 ± 0.009) (“Appendices 2, 3”). The frequency of pairs of relatives found in opposite sides of the river was on average higher in larviparous populations (mean FINTER = 0.021, range = 0.013–0.033) compared to their pueriparous counterparts (mean FINTER = 0.012, range = 0–0.029; Fig. 2a). Permutation tests showed significant differences in mean pairwise relatedness between intra- and inter-riverside groups in four larviparous (Minho, Cávado, Ulla, and Lérez) and two pueriparous populations (Navia and Narcea) (Table 3). The conclusions drawn when using RQG as a relatedness metric are similar to the ones obtained for RTRI (“Appendices 4, 7a”).

Table 3 Number of total, inter- and intra- riverside pairs of relatives (RTRI ≥ 0.125) and respective frequencies with respect to the total number of dyads (f: within square brackets) are displayed for each river and reproductive mode
Fig. 2
figure 2

a Strip plot comparing the frequency of pairs of relatives (RTRI ≥ 0.125) found across riversides (each point represents a population). The blue and red dashed lines represent the mean frequency of relatives across riversides for larviparous and pueriparous populations, respectively. b Strip plot representing pairwise population FST values for individuals sampled across riversides. Dashed lines represent mean FST values per reproductive mode

Population-based analysis

Pairwise population values between individuals on opposite sides of the river were low or moderate, and were on average higher for pueriparous populations (mean FST = 0.042, range = 0.017–0.059; mean DEST = 0.124, range =  − 0.001 to 0.261) than for larviparous ones (mean FST = 0.027, range = 0.015–0.041; mean DEST = 0.062, range =  − 0.008 to 0.155) (Table 4 and Fig. 2b; “Appendix 7b”). The wider larviparous rivers (Ulla, Minho and Cávado) and two pueriparous rivers (Navia and Narcea) showed significant values on pairwise genetic differentiation for both distance measures. Indeed, the correlation between river width and population genetic differentiation was high for both reproductive modes (τR ≥ 0.60) but significant only in larviparous populations for DESTR = 0.97, p = 0.007) (Table 5; Fig. 3).

Table 4 Pairwise FST and DEST values of genetic differentiation between riversides for each river and reproductive mode
Table 5 Results from non-parametric Kendall tests (τR) between FST/DEST values and river’s width and respective p-values for each reproductive mode
Fig. 3
figure 3

Plots of genetic distance (FST) between riversides relative to river width (measured in meters) for a larviparous, and b pueriparous populations. Each circle represents a population. Curves fitted using a second-order polynomial are displayed only to facilitate the visualisation of the relationship between the FST and river width

STRUCTURE was only able to recover a barrier effect (K = 2) in the larviparous populations of Cávado and Minho (Fig. 4), and in the pueriparous population of Navia (Fig. 5). The remaining populations show strong admixture levels between riversides. Among those rivers showing a strong signal of structure, we only found close relatives in Navia river (RTRI ≥ 0.5). We found an identical pattern of genetic structure after discarding an individual from each pair of relatives.

Fig. 4
figure 4

Images displaying STRUCTURE barplots as well as the individual pie charts representing cluster membership proportions to each riverside when K = 2 for larviparous populations. In each barplot, individuals are represented by vertical bars that are partitioned into two colours representing their estimated membership coefficient to each riverside. Vertical white lines in the barplots separate riversides

Fig. 5
figure 5

Images displaying STRUCTURE barplots as well as the individual pie charts representing cluster membership proportions to each riverside when K = 2 for pueriparous populations. In each barplot, individuals are represented by vertical bars that are partitioned into two colours representing their estimated membership coefficient to each riverside. Vertical white lines in the barplots separate riversides

DAPC revealed the larviparous populations of Cávado and Minho, and the pueriparous populations of Navia and Narcea showed clear patterns of genetic differentiation (“Appendices 8, 9”). The larviparous populations of Eume and Ulla, and the pueriparous population of Esva showed moderate genetic differentiation and admixture levels, while the remaining populations exhibited high genetic admixture between riversides (“Appendices 8, 9”).

Discussion

Dispersal and gene flow in amphibians are intimately linked with aquatic systems (Semlitsch 2008; Pittman et al. 2014). It is thus reasonable to hypothesize the evolution of terrestrial reproductive modes, which entail greater independence from water, may affect the way amphibians interact with aquatic systems, and ultimately, change patterns of dispersal across the landscape (see Lourenço et al. 2018a, 2019). We evaluated the RBH across NW Iberian rivers through a comparative framework, in which, a fine-scale sampling scheme and individual- and population-based genetic analyses were employed to examine the barrier effects of rivers in populations of S. salamandra that exhibit terrestrial (pueriparity) or semi-aquatic (larviparity) life-histories. Our results suggest that rivers are semi-permeable barriers to gene flow for both reproductive modes, yet they appear to be more effective in the terrestrial pueriparous salamanders. To the best of our knowledge, this work represents one of the very few studies using a fine-scale sampling design to explicitly assess the RBH in organisms with different reproductive modes, further emphasizing the importance of accounting for life-history to better understand the effects of rivers on dispersal and genetic structure.

Riverine barrier effect for aquatic-breeding and terrestrial-breeding fire salamander populations

Previous landscape genetic studies have demonstrated that rivers can negatively affect dispersal in amphibians exhibiting aquatic reproduction (e.g. Richardson 2012; Waraniak et al. 2019) and fully-terrestrial cycles (e.g. Fouquet et al. 2012, 2015). In agreement with those results, our genetic analyses suggest rivers comprise semi-permeable obstacles to gene flow for both larviparous and pueriparous salamanders. All sampled populations presented signs of genetic differentiation and genetic structure, and/or a lower frequency of relatives and average relatedness among individuals sampled in opposites sides of the rivers (Tables 3, 4; Figs. 2, 4, 5 and “Appendices 2, 79”). However, only the largest rivers (mainly Minho and Cávado for larviparous populations, and Navia and Narcea for pueriparous ones) consistently showed to impose great barrier effects to gene flow in fire salamanders. Indeed, the pairwise genetic differentiation values of the populations bisected by these rivers are comparable to those observed in some fire salamander populations that are ca. 10–20 km apart (and even up to 40–50 km in very few cases; see Lourenço et al. 2019).

Despite the negative effects of rivers on fire salamander dispersal, we found slight differences in those effects between reproductive modes. When comparing rivers with similar attributes (e.g. river width), the higher average pairwise genetic differentiation and lower frequency of relatives found across riversides in pueriparous salamanders indicate the barrier effects of these landscape features are to some extent greater when compared to their larviparous congeners (Figs. 2, 4, 5). These results corroborate the ones obtained by Lourenço et al. (2019) who found that water courses reduced genetic connectivity in pueriparous populations of S. salamandra. Because their terrestrial life cycle implies that aquatic systems are no longer necessary for reproduction, pueriparous salamanders may be less compelled to use and attempt to cross rivers. This behaviour can help explain the results obtained in other studies. For example, Fouquet et al. (2015) reported higher levels of mitochondrial divergence among individuals of terrestrial direct-developing Amazonian frog species separated by rivers compared to aquatic-breeding frog species, while Marsh et al. (2007) observed moderate levels of genetic differentiation between individuals located in opposite sides of small streams (width ≤ 7 m) in a direct-developer salamander (Plethodon cinereus). All this cumulative evidence reinforces the notion that rivers hinder dispersal to a larger extent in terrestrial-breeding amphibians compared to aquatic ones. Unfortunately, because some sampled rivers are not entirely comparable between reproductive modes (e.g. rivers with similar attributes in which nearby bridges are inexistent), we are unable to accurately infer in relative terms how much greater the barrier effects imposed by rivers are in pueriparous salamanders compared to their larviparous counterparts.

Despite the marked terrestrial life cycle of adults, larviparous fire salamanders inhabit aquatic systems (including rivers) during the larval stage, which lasts approximately three months in the focal region (Velo‐Antón and Buckley 2015). This larval stage, and the need of larviparous females to move into rivers (and other aquatic systems) to deposit offspring, likely create more opportunities for larviparous individuals to cross rivers. Both streams and rivers are associated with downstream larval drift in S. salamandra (Reinhardt et al. 2018; Veith et al. 2019) and the strong water current and drifting objects in both streams and rivers, together with the presence of predators, may cause high mortality rates (Segev and Blaustein 2014; Reinhardt et al. 2018; Wagner et al. 2020). However, considering that only a relatively small number of immigrants are required to prevent population genetic differentiation due to genetic drift (Lowe and Allendorf 2010), it is plausible that even a small proportion of successful dispersal events across rivers may minimize their barrier effects, even when fire salamander populations often present high densities (and potentially large effective population sizes; Velo‐Antón and Buckley 2015).

Besides variation in reproductive modes and other phenotypic traits (e.g. colouration), S. s. bernardezi is on average smaller (mean ± SD body size: 79 ± 8.4 mm) than S. s. gallaica larviparous salamanders (115 ± 9.1 mm) (Velo-Antón and Buckley 2015; Alarcón-Ríos et al. 2020b). Because body size is positively correlated with locomotor performance and dispersal distances, we cannot discard this phenotypic trait may enable larviparous salamanders overcoming more easily these aquatic barriers compared to pueriparous salamanders and, therefore, contributing for a lower genetic structure in the former. Indeed, a determinant role of body size on populations´ genetic connectivity was unveiled for some amphibian species (Paz et al. 2015; García et al. 2017).

Landscape barrier effects for fire salamander populations

The strong riverine barrier effects observed in this study for both larviparous and pueriparous salamanders are partially in agreement with those reported by Lourenço et al. (2019), who found evidence of strong effects of rivers on gene flow only in pueriparous populations. These partially contrasting results emphasize the importance of thorough sampling designs to evaluate specific landscape features as putative barriers to dispersal and gene flow. Furthermore, our study allows us inferring the role of other related factors that may also govern the effects of rivers on genetic variation in S. salamandra. Specifically, we argue that both (1) river width, and (2) crossing structures can also be determinant factors.

Wider rivers, such as Cávado (≈ 90 m) and Minho (≈ 190 m) in larviparous populations, and Navia (≈ 50 m) and Narcea (≈ 30 m) in pueriparous ones, appear to impose stronger barrier effects to fire salamanders given the observed low frequency of relatives and greater levels of genetic structure between riversides (Tables 3, 4; Figs. 4, 5 and “Appendices 24, 79”). In general, wider rivers exhibit stronger water currents and high water-flow velocities. The greater distance that salamanders must travel to successfully cross these rivers under these unsuitable aquatic conditions most likely hinder the swimming capacity of individuals, which eventually end up being dragged downstream and dying (Reinhardt et al. 2018). River width was also suggested as a determinant factor in shaping patterns of gene flow for an Amazonia frog (Adenomera andreae) by Fouquet et al. (2012) because the authors observed that populations of this species were more genetically differentiated in sections where the studied river was wider. Contrarily, in narrower rivers with low water-flow velocities, larvae (or adults) of S. salamandra may be able to actively resist the entrance on the current (Segev and Blaustein 2014) or to actively move against it (Veith et al. 2019).

There was one bridge bisecting the river where the pueriparous populations of Navia, Esva, and Nora were sampled. We cannot discard these structures may facilitate dispersal of fire salamanders across rivers, although our data does not enable us to infer accurately the role of bridges on genetic connectivity between riversides. Nevertheless, circumstantial evidence suggest the small stone Roman bridge located in the river Nora may be partially responsible for the high levels of genetic admixture and high relatedness among individuals on both riversides in this locality. Indeed, salamanders were observed crossing this bridge (located about 60 m away from the transect) during sampling nights (A. Lourenço and G. Velo-Antón personal observations), thus supporting our premise. We did not observe salamanders crossing road traffic bridges in other sites (e.g. Esva, whose bridge was located roughly 15 m away from the transect) although we cannot discard that occasional dispersal events may still occur. Fire salamanders, like many other amphibian species, move to roads and are subjected to high road mortality rates (Carvalho and Mira 2011; Beebee 2013). Hence, it is not unreasonable that at least a small proportion of salamanders could cross small traffic bridges. The river Navia is also bisected by a car bridge (located about 40 m away from the transect), though unlike the rivers Nora and Esva, there was a strong signal of genetic structure, thus implying that even if that bridge is used by fire salamanders at all, the number of immigrants is not sufficient to counteract the effects of genetic drift. It is possible the role of traffic bridges in promoting dispersal across rivers is complex because many interacting factors may be at play, such as bridge age and length, nocturnal traffic volume (which is positively correlated with road mortality), and the genetic effects imposed by the river itself. Collecting movement data can provide a clearer picture about this subject (e.g. capture-mark-recapture techniques such as PIT-tag based analyses; Hendrix et al. 2017).

We were not able to detect a clear signal of historical genetic structure based on the amplified fragment of a mtDNA marker. While this is congruent with the relatively shallow phylogeographic structure at a broader spatial scale shown by northwestern Iberian populations of S. s. gallaica (Velo-Antón et al. 2007; Lourenço et al. 2018b), it is not in agreement with the historical genetic structure and diversity of haplotypes found in S. s. bernardezi (Lourenço et al. 2019). These results are partially explained by possible artifacts resulting from the short amplified mtDNA fragment (315 bp), which prevents the detection of a higher number of unique haplotypes that might occur in each riverside. The use of high-resolution genomic-scale data (e.g. from reduced representation approaches such as RADseq; Burgon et al. 2021) can increase the power to detect both historical and subtle patterns of genetic population structure (e.g. McCartney-Melstad et al. 2018) and, hence, provide more accurate insights regarding the short- and long-term effects of rivers at fine spatial scales.

Conclusions

Unlike previous studies performed at a regional scale in S. salamandra (Lourenço et al. 2019), our individual- and population-based genetic analyses carried out at a fine spatial scale provided detailed insights on how rivers influence patterns of gene flow in larviparous and pueriparous populations of S. salamandra. Our study partially supports the RBH in both reproductive modes, highlighting the key effect of life-history (i.e. reproductive mode) and physical properties of rivers in explaining current patterns of genetic variation across riversides. Specifically, the comparative framework employed in this study somewhat reinforces the hypothesis that rivers comprise more effective obstacles to dispersal and gene flow in terrestrial-breeding amphibians compared to aquatic ones, although other factors (river width and potentially crossing structures) may also play a significant role. This study will stimulate future research to better understand how life history and landscape features govern population connectivity in a threatened group, such as amphibians.