Species‐level environmental niche modeling has been crucial in efforts to understand how species respond to climate variation and change. However, species often exhibit local adaptation and intraspecific niche differences that may be important to consider in predicting responses to climate. Here, we explore whether phylogeographic lineages of the bank vole originating from different glacial refugia (Carpathian, Western, Eastern, and Southern) show niche differentiation, which would suggest a role for local adaptation in biogeography of this widespread Eurasian small mammal. We first model the environmental requirements for the bank vole using species‐wide occurrences (210 filtered records) and then model each lineage separately to examine niche overlap and test for niche differentiation in geographic and environmental space. We then use the models to estimate past [Last Glacial Maximum (LGM) and mid‐Holocene] habitat suitability to compare with previously hypothesized glacial refugia for this species. Environmental niches are statistically significantly different from each other for all pairs of lineages in geographic and environmental space, and these differences cannot be explained by habitat availability within their respective ranges. Together with the inability of most of the lineages to correctly predict the distributions of other lineages, these results support intraspecific ecological differentiation in the bank vole. Model projections of habitat suitability during the LGM support glacial survival of the bank vole in the Mediterranean region and in central and western Europe. Niche differences between lineages and the resulting spatial segregation of habitat suitability suggest ecological differentiation has played a role in determining the present phylogeographic patterns in the bank vole. Our study illustrates that models pooling lineages within a species may obscure the potential for different responses to climate change among populations.
How environmental and anthropogenic factors influence genetic variation and local adaptation is a central issue in evolutionary biology. The Mexican golden trout ( Oncorhynchus chrysogaster ), one of the southernmost native salmonid species in the world, is susceptible to climate change, habitat perturbations and the competition and hybridization with exotic rainbow trout ( O. mykiss ). The present study aimed for the first time to use genotyping-by-sequencing to explore the effect of genetic hybridization with O. mykiss and of riverscape and climatic variables on the genetic variation among O. chrysogaster populations. Genotyping-by-sequencing (GBS) was applied to generate 9767 single nucleotide polymorphisms (SNPs), genotyping 272 O. chrysogaster and O. mykiss . Population genomics analyses were combined with landscape ecology approaches into a riverine context (riverscape genetics). The clustering analyses detected seven different genetic groups (six for O. chrysogater and one for aquaculture O. mykiss ) and a small amount of admixture between aquaculture and native trout with only two native genetic clusters showing exotic introgression. Latitude and precipitation of the driest month had a significant negative effect on genetic diversity and evidence of isolation by river resistance was detected, suggesting that the landscape heterogeneity was preventing trout dispersal, both for native and exotic individuals. Moreover, several outlier SNPs were identified as potentially implicated in local adaptation to local hydroclimatic variables. Overall, this study suggests that O. chrysogater may require conservation planning given i) exotic introgression from O. mykiss locally threatening O. chrysogater genetic integrity, and ii) putative local adaptation but low genetic diversity and hence probably reduced evolutionary potential especially in a climate change context.