Introduction

The distribution of cold and temperate marine biodiversity at the infraspecific level often carries the footprints of past climate-driven range shifts1,2,3. Particularly well reported are range shifts of low dispersive or sessile species driven by glacial-interglacial cycles of the Quaternary (c. 2.6 Myr to the present). The advance of ice sheets and compression of isotherms during glacial periods (e.g., Last glacial Maximum; c. 20 Kyr ago)4,5 caused poleward range contractions and lower latitude expansions2,6,7,8,9, while the opposite trend would have happened during interglacials (e.g., Holocene; c. 12 Kyr to the present)9,10,11,12,13. Behind such range-edge extinction-recolonization regions, climatic refugia are expected, where populations could have persisted for sufficient time to enable the evolution of genetic hotspots and endemic lineages7. In contrast, where extinctions/recolonizations occurred, populations tend to be genetically depauperate and highly homogeneous due to genetic bottlenecks along colonization fronts7,14,15,16,17. Despite the paradigm of past climate-driven range shifts in structuring intraspecific biodiversity, biological models exposed to comparable conditions in independent geographic regions are rarely available to allow for independent replicated assessment.

The higher latitude regions of the Northern vs. Southern hemispheres provided contrasting evolutionary conditions for marine coastal species, particularly considering the differences in ice extent and shoreline morphology during glacial periods18. The Northern hemisphere was buried under thick layers of permanent ice down to the latitudes matching Brittany (France) and Maine (USA) in the Atlantic Ocean, and Vancouver Island (Canada) in the Pacific Ocean5. In the Southern hemisphere, besides Antarctica and its surrounding islands, only Patagonia was severely affected18, thus providing additional opportunities for population persistence. However, a large portion of the Southern Hemisphere’s coasts are distributed in tropical areas, potentially providing less suitable habitat for cold-temperate species than in the Northern Hemisphere, where the coastline is more continuous from equatorial to Arctic regions. Major shifts in southern oceanic circulation, led by the intensification of the Circumpolar Antarctic Current (ACC) during LGM, likely added complexity to the glacial seascape, even in regions not affected by ice cover. For instance, the strong cooling of the Humboldt Current may have provided suitable habitat even in the inter-tropical zone19. Another peculiarity of the Southern hemisphere is the role of trans-oceanic dispersal at the end of LGM, leading to eastward (e.g., from New Zealand to Chile), instead of southward recolonization of many species in Patagonia and other sub-Antarctic regions20,21,22. Numerous studies across the globe have shown the genetic effects of past climate changes2,10,11,14,23,24, but comparisons between hemispheres are lacking. Additionally, while the role of refugia as sources for poleward expansions is well‐documented, the effect of past genetic bottlenecks at lower latitudes is insufficiently understood8. Testing the drivers of intraspecific biodiversity on a single model species distributed in both hemispheres reduces potential confounding effects linked to comparing species’ specific responses to climate changes, which can largely result from interspecific niche differentiation25,26.

The giant kelp Macrocystis pyrifera represents an ideal model to address the topic owing to its broad antitropical distribution27, with past distributional edges exposed to replicate conditions of higher (cold) and lower (warm) latitudes of both hemispheres. Additionally, its limited spore dispersal and ability to promote density barriers by local saturation of available habitats28 may allow retaining the signatures left by past demographic changes2,8,10. Giant kelp can further perform long‐distance dispersal events by rafting29, potentially extending distributional ranges and following climate velocity changes across whole biogeographic regions. Most importantly, while describing the drivers of intraspecific biodiversity, the identification of endemic genetic lineages for giant kelp is timely, as regional persistence might be currently threatened by ongoing and projected climate changes30,31. The recent increase in frequency and intensity of marine heat wave events has been linked to regional losses of the species in both hemispheres32,33, which can erode global diversity levels and shift genetic baselines34. These losses can also threaten the multiple ecosystem services provided, such as the role in blue carbon sequestration and coastal protection, as well as the nursery effect for numerous economically important species27,35,36,37.

Previous genetic studies with Macrocystis pyrifera were mostly performed without broadscale replication across the hemispheres. These aimed to explore the patterns of the species’ genetic structure38,39,40,41, disentangle the effect of quaternary climate change fluctuations in the distribution and productivity of the species42, the role of seascape drivers mediating genetic differentiation, by testing the role of isolation by habitat continuity, environment and ocean transport39,43,44 , as well as the vulnerability of populations to ongoing climatic stress45. Three studies sampling populations across the two hemispheres46,47 showed (1) Macrocystis as a monospecific genus based on two genetically distinguishable ecomorphs, M. pyrifera and M. integrifolia, (2) the northern46,47,48 hemisphere distribution as the potential ancestral origin of the genus, with consequently reduced genetic diversity in the southern hemisphere, and (3) highlighted the potential role of ice advances in structuring the distribution of genetic diversity. Yet, studies lacked independent estimates of past climate oscillations (e.g., SDM-based), were mostly performed with traditional mtDNA markers, typically prone to selection and poor resolution48, and were limited in sampling design. These together might have limited conclusions on how climate-driven range shifts structured the species’ intraspecific biodiversity of giant kelp.

In this study, we asked whether the distribution of intraspecific marine biodiversity is explained by past climate‐driven range shifts across the hemispheres. We compared the genetic variability of Macrocystis pyrifera, estimated across the species’ entire distributional range, with independent Species Distribution Modelling (SDM) predicting past range shifts and long-term refugial regions from the last glacial maximum to the present. Overall, we hypothesize that the exposure to comparable past climate changes in the two hemispheres structured disjunct long-term refugial regions currently displaying higher and unique gene pools, relative to regions more recently colonized (i.e., resulting from post-glacial expansions).

Methods

The study area comprised the entire distributional range of Macrocystis pyrifera, from Alaska to Baja California Sur (Mexico) in the northeast hemisphere, and from Peru to Tierra del Fuego (Argentina), as well as South Africa, Australia, New Zealand and sub-Antarctic Islands in the southern hemisphere.

Species distribution modelling

Species distribution modelling (SDM) estimated past distributional shifts and potential refugial regions where M. pyrifera might have occurred for the long-term. This approach used Boosted Regression Tress (BRT), a machine learning algorithm with high predictive performance, able to fit non-linear relationships and complex interactions, while strongly reducing overfitting through hyper-parametrization and forcing of monotonic responses49,50.

Biologically meaningful benthic predictors (i.e., along bottom layers) for the species29 were developed52 for the present-day and the LGM conditions using the computation pipelines of Bio-ORACLE51. These reflected essential resources (nutrients as Phosphate and Nitrate), disturbance (ice thickness) and factors affecting physiology (salinity and temperature). Predictors were clipped to 30 m depth, the typical maximum depth distribution of the species52. The LGM predictors considered sea level and shoreline displacements by placing the isobath of − 120 m below current sea level53. Presence records were extracted from the fine-tuned dataset of marine forest species54. The same number of pseudo-absences as presences were randomly generated in sites where no presences were recorded55. To reduce the negative effect of autocorrelation in the models, the correlation of predictors within the range of occurrence records (presence and pseudo-absences) was tested as a function of geographic distance. For this purpose, a correlogram was built to pinpoint the minimum distance at which predictors were significantly correlated. Records were pruned by randomly selecting one record from the pool found within such distance56.

Considering the general pattern found in the species’ genetic structure (see “Results”), models were developed separately for the northern and southern hemispheres57. A tenfold cross-validation framework using independent latitudinal bands7 was implemented to find the optimal hyperparameter combination of number of trees (50–1000, step 50), tree complexity (1–6) and learning rate (0.01, 0.005 and 0.001). This approach also inferred the performance of models58 by using the area under the curve (AUC) of the receiver operating characteristic curve and sensitivity59. To reduce overfitting, models were forced to fit negative monotonic responses for maximum temperature and ice thickness, and positive responses for nutrients, salinity and minimum temperature7,49,60. The relative contribution of predictors to the models was determined by computing the increase in deviance explained (i.e., goodness of fit) when each predictor was added to its alternative model. Physiological tolerance limits (maximum and minimum, depending on the predictor) were estimated from individual response functions produced for each predictor, while fixing all alternative predictors to their averages61,62.

Parsimonious models (i.e., with fewer predictors) with higher potential for transferability63 were built using a stepwise approach by fitting a full model (i.e., with all predictors) and interactively removing predictors one at the time, from the least to the higher contributive, until the difference of deviance explained between the full model and the reduced model was higher than zero58,60,64. Maps reflecting the potential distribution of the species for present-day conditions and the LGM were developed with the parsimonious models fitting the optimal hyperparameters. These maps were reclassified to binomial surfaces, reflecting presence and absence of Macrocystis pyrifera, by applying a threshold maximizing both specificity (true negative rate) and sensitivity7,58,65. Range shifts were determined in terms of area by comparing the LGM and present modelled distributions for the regions where genetic sampling took place (see “Methods” below). Regions providing glacial refugia were identified where the species was predicted to occur during the LGM period. Because the species can produce rafts that disperse for long periods of time over the surface of the ocean29, predictions were also performed for the LGM and the present with surface layers51.

Genetic structure and diversity

Approximately 30 individuals were sampled per site (115 sites; 3872 individuals in total; S1) for genetic analysis, by removing a piece of the blade and preserving it in silica drying crystals. Genomic DNA extraction was performed with the NucleoSpin 96 Plant Kit II (Macherey–Nagel, Duren, Germany) and standard protocols. Microsatellite amplification and scoring was performed for 6 polymorphic loci using PCR conditions and methods described in66 and39.

Genetic structure between sites was inferred with Structure software67 without a priori population assignment, allowing admixture, using the model of correlated allele frequencies for a range of K clusters between 1 and 10, a burn-in time of 2 × 105 repetitions and 1 × 106 iterations. The potential number of clusters was inferred with the DeltaK criterion68, which identifies the “best” K value as the one maximizing the rate of change in the log probability of the data (ΔK). The analysis was performed under two hierarchical steps3,8: the first aimed to discover the main genetic groups when considering the entire distribution, and the second aimed to reveal the regional levels of genetic structure within each of the main genetic groups that resulted from the first step. This approach allows the analysis of regional genetic differentiation within the main genetic groups independently of their differences in allelic richness. Two sites showing signs of admixture in the first hierarchal step (see “Results”) were excluded from the second step to better disentangle genetic structure3,8.

Genetic structure was also inferred with a network analysis, with nodes defined by the sampled sites and edges by their relative number of shared alleles69. Excessive network connections with surplus information were removed until a threshold maximizing Modularity70. The leading eigenvector algorithm using the percolated network assigned a unique membership (i.e., cluster) to the nodes based on the edge’s distance. The significance of this process was inferred by testing the proportion of 104 random membership assignments retrieving higher Modularity than observed. Network eigenvector centrality was also determined to identify sites serving as hubs to gene flow69.

Genetic differentiation was determined between clusters with Jost's D. This index was chosen in detriment of FST because it is more suitable for comparisons with contrasting levels of diversity71, as in this case (see “Results”). Genetic diversity per site and cluster was inferred as standardized allelic richness, gene diversity (expected heterozygosity) and private alleles, for the smallest sample size found in any population (excluding sizes ≤ 10) using 104 randomizations.

Results

Species distribution modelling

The marine forests dataset retrieved 10,715 occurrence records for the species. Correlograms identified predictors autocorrelated at a minimum distance of 4 km in the northern group, and 9 km in the southern group, pruning a final dataset of 180 and 369 records, respectively.

The distribution models included multiple predictors, from which temperatures (maximum and minimum) had a prominent role in explaining the distribution of both northern and southern genetic groups (combined relative contributions: 95.06% and 75.15%, for the northern and southern hemispheres, respectively; Table 1). Thermal tolerance was estimated between 3.22 and 24.23 °C for the northern group and between 1.94 and 23.98 °C for the southern group. The modelled distribution of the southern group was further dependent on nutrients above ~ 0.02 mmol.m−3 and ice thickness above 0.16 m (contributions ranging between 5.69 and 10.63%; Table 1). An additional niche overlap analyses performed between the northern and southern groups (S2) showed evidence of niche conservatism in Macrocystis pyrifera (i.e., the northern and southern hemispheres display identical ecological niches).

Table 1 Relative contribution of each predictor to the performance of the models (bold values depicting contributions above 5%) and estimates of physiological tolerance limits.

The models showed good potential for transferability (CV AUC > 0.9; CV Sensitivities > 0.9; Table 2) and the predictions performed for the present largely matched the known distribution of the species, as verified by sensitivity (i.e., true positive rate) > 0.95 and AUC > 0.94 (Table 2; Fig. 1). Comparing predictions with the species’ realized distribution, as inferred by reports of occurrence records (Fig. 10 in S3), shows some degree of overprediction in Alaska (from Palma Bay to Kodiak Island, ~ 900 km coastline), Chile (from Antofagasta to Huasco, Atacama, ~ 500 km coastline), Southern Africa (from Paternoster, South Africa, to Kunene River, Namibia, ~ 1,500 km coastline). To a lower extent, overprediction was detected in Western Australia (~ 300 km coastline) and Southern Australia (~ 400 km coastline). These are regions where the species is not reported to occur, but where the models predicted suitable conditions based on the predictor variables considered. Similarly, the species was continuously predicted along the coastlines of Washington (USA) and Southern Oregon, where reports of occurrence records are elusive (Fig. 10 in S3). During the LGM, the models estimated a 40% range contraction within the regions sampled for genetic data (Table 3). During that past period, unsuitable areas might have occurred in the high latitudinal regions of Alaska to Washington state (USA), and throughout most of the Southern Ocean, Tierra del Fuego (Argentina) and Tasmania (Fig. 1; Table 3). Conversely, the low latitude range limits might have remained stable (e.g., California to Mexico, Northern Chile, Peru, Australia and New Zealand). Among the sampled regions, Channel Islands to Mexico was the only one predicted with wider suitable habitats in the LGM when compared to the present (Table 3). Results also indicated that other regions, like Southeastern Africa, Western and Eastern Australia and Northern New Zealand, might have had wider suitable habitats for M. pyrifera during the LGM (Figs. 69 in S3), with ranges potentially expanding beyond its present-day modelled distribution. Australia is in the same genetic group as Patagonia and the sub-Antarctic islands (see genetic results below), and these latter ones suffered local extinctions due to ice during the LGM, therefore the genetic group as a whole increased in area from the LGM to the present (Table 3), even though that was not the case in Australia.

Table 2 Performance of species distribution models inferred with cross-validation (CV) and the final predictive surfaces, both for the northern and southern hemispheres.
Figure 1
figure 1

Potential distribution of Macrocystis pyrifera estimated with Species Distribution Modelling for (panels A and B) the present and (panels C and D) the last glacial maximum (yellow and red colors depicting surface and subtidal habitats down to 30 m depth, respectively). Sea ice extent is depicted in white. Detailed maps per continent available in Figs. 69 in S3. Occurrence records used in Species Distribution Modelling in Fig. 10 in S3.

Table 3 Potential distributional area (and rate of change) estimated with Species Distribution Modelling per geographic region, where genetic sampling took place (linked to the second level of genetic subdivision), for the present and the Last Glacial Maximum.

The models predicting suitable surface conditions (i.e., exclusively for rafting) showed disjunct potential distributions between the northern and southern hemispheres during the LGM and the present. Throughout the Southern Ocean, models showed broad suitable conditions for rafting with present-day conditions, while during the LGM, a discontinuity might have occurred along southern Chile and Tierra del Fuego (Argentina).

Genetic structure and diversity

A total of 156 alleles were amplified across 3872 genotyped specimens (range of alleles per locus: 15–39). The Evanno criteria applied to the first hierarchal level of Structure revealed 2 genetic clusters associated to the northern and southern hemispheres, and 4 clusters dividing the northern hemisphere in (1) Alaska to Point San Luis, (2) Point Conception region and (3) Channel Islands to Mexico (Figs. 1, 2; S3). This level of structure showed admixture in Catalina Island, and depending on the selected number of clusters (2 or 4), assigned Peru (sites 73 and 74) to the northern hemisphere (cluster G3, Point Conception region) or to the southern hemisphere (Fig. 2). The second hierarchical level of Structure subdivided the northernmost cluster (Alaska to Point San Luis) into Alaska, Canada and Monterey, and Santa Cruz to Point San Luis. Admixture was mostly verified in Point Conception (sites 25 and 26; Fig. 2). The southern hemisphere was divided into a broad region including northern Chile and New Zealand, and into Patagonia, Australia and the Subantarctic Islands. The network analysis supported the two main clusters of the northern and southern hemispheres (Modularity p-value test: 0.001) and showed the two sites in Peru belonging to the northern (site 74) and southern clusters (site 73; Fig. 2). This analysis further showed Point Conception, Catalina Island and Tierra del Fuego (sites 25, 26, 62 and 90; Fig. 2) with higher eigenvector centrality (> 95th percentile).

Figure 2
figure 2

Genetic structure of Macrocystis pyrifera. (panel A) Network analysis based on shared allele distance. Red circles in the network identify sites with higher network centrality (> 95th percentile of centrality). (panel B) Structure analysis for the first and second hierarchical levels of subdivision with bars representing the proportion of individual assignments to each cluster. Analyses using the DeltaK criterion68 to infer the number of K clusters available in S3: first hierarchical level with K = 2 or 4; second hierarchical level with K = 4 and K = 2. Colors depict distinct genetic groups and the numbers label populations of interest. (panel C) Second hierarchical level of genetic subdivision (proportion of individual assignments to each cluster). Sea ice extent is depicted in white.

The two main clusters associated with the northern and southern hemispheres showed high differentiation (Jost’s D: 0.64; Fig. 3C). At a lower level of genetic structure, Peru (admixture region) and the cluster comprising northern Chile and New Zealand were most differentiated among themselves and from all remaining clusters (Fig. 3D). In terms of genetic diversity, results show allelic richness per site higher in the Channel Islands and San Mateo Point (USA), followed by San Diego region (USA) and Mexico (Â > 8; S1). Lower diversity values were found in the regions predicted as extinct during the LGM (i.e., Patagonia, throughout Marion, Gough and Macquarie Subantarctic Islands and in Canada and Alaska). Number of private alleles were higher in the Channel Islands (particularly in San Clemente and Santa Barbara Islands), in the two sampled sites of Peru, in Monterey (USA) and New Zealand (PÂ > 1; S1). More than 50 sites distributed throughout the sampled regions exhibited no private alleles. Overall, allelic richness outside glacial refugia was always < 3, with the exception of two sites in Alaska (USA), and the average number of private alleles was < 1 at distances > 55 km from refugia and = 0 at distances > 150 km from refugia (Fig. 3A, B). The sites Sitka (Alaska), Craig (Alaska) and Bamfield Island (Canada) of the northern hemisphere and Grytviken (Subantarctic Island) and Murray Channel (Tierra del Fuego) of the southern hemisphere distanced > 500 km from the closest glacial refugia (Table S1). Considering the first level of genetic clustering, results show diversity (allelic richness and number of private alleles) significantly higher in the northern hemisphere (Fig. 3C). The second level of structure revealed higher diversity in the cluster from Channel Islands to Mexico and lower diversify in that of Alaska and Canada. In the southern hemisphere the number of private alleles were higher in Peru and in the northern Chile and New Zealand clusters.

Figure 3
figure 3

Standardized genetic diversity per site as a function of (panels A and B) distance to closest glacial refugia (version considering the natural logarithm of distance in Fig. 4 in S3). Colors depicting the assignment of populations to the different genetic clusters (as in Fig. 2). Standardized diversity per genetic group for the (panel C) first and (panel D) second hierarchical levels of genetic subdivision. Population pairwise differentiation (Jost's D, average) between genetic groups inferred for the (panel C) first and (panel D) second levels of genetic subdivision. Asterisks depict groups with significantly higher genetic diversity.

Discussion

The rare opportunity to study a biological model with replication of postglacial expansions in both northern and southern hemispheres allowed us to demonstrate that the distribution of intraspecific marine biodiversity can be structured by comparable evolutionary forces across the global ocean. By combining independent theoretical distribution modelling with empirical genetic data, we show how past range shifts (c. 20 Kyr ago to the present) shaped refugial regions in both hemispheres, where Macrocystis pyrifera retained higher and unique genetic diversity, and how significant post-glacial expansions left ~ 40% of the sampled distribution with homogenous reduced diversity, regardless the distance to refugia. Genetic patterns further show the northern hemisphere with significantly higher genetic diversity and number of private alleles, supporting previous hypotheses46 of an ancestral origin of the species in this region. In particular, the genetic hotspots found at the Channel Islands (California; putative global origin of M. pyrifera) and in Peru (highest number of private alleles), potentially involved in the ancestral radiation of lineages, are suggested here as priority conservation areas under Climate Change Integrated Conservation Strategies for potentially endangered phylogeographic lineages72. The distribution of 6 distinct clusters, with strong genetic discontinuities corresponding to previously described phylogeographic breaks of additional species and well-known oceanographic barriers shaped by ocean currents and habitat discontinuities, allow making broad generalizations about the process driving marine phylogeography, particularly important for ecosystems structuring species.

Climate changes structuring genetic diversity across the hemispheres

The SDM approach showed the potential distribution of Macrocystis pyrifera (i.e., climatic suitable habitats) mainly driven by thermal conditions (i.e., minimum and maximum extremes), which is typical for marine forest species modelled at the scales of our study2,7. The estimated thermal tolerance of the species between approx. 2 and 24 °C largely agreed with empirical physiological studies73,74, which together with the evidence found of niche conservatism between hemispheres (i.e., identical ecological niches; S2) provided strong support for the models, particularly important when performing temporal transferability to estimate demographic changes57,75. The high performance shown by our SDM approach is expected when using machine learning algorithms with proper hyper-parameterization and monotonicity constrains49, fitting biologically meaningful predictors against comprehensive datasets of distribution records7,76. Despite the general agreement found between predicted suitable habitats and reported occurrence records (i.e., high sensitivity rate), overprediction was found in Alaska, Chile, and Southwestern Africa, and, to a lower extent, in Western and Southern Australia52, and along the coastlines of Washington and Oregon states (USA). While the models predicted favorable conditions, additional predictor variables not considered might be preventing its occurrence. Specifically, the lack of rocky substrate43, interspecific competition77, limited light conditions78, and restricted dispersal potential29 can be excluding the species from such areas predicted as suitable.

Hindcasting the models to LGM climatologies estimated a 40% range contraction along the regions sampled for genetics. This was mostly evident from Alaska to Vancouver Island and throughout most of sub-Antarctic Islands, Southern Patagonia and Tasmania. Conversely, lower latitude ranges (e.g., California to Mexico, Northern Chile, Peru, Australia and New Zealand) might have provided suitable habitats from the LGM to the present. The rate and magnitude of these changes are not uncommon for cold-temperate species6,9,10,11,14, but were never addressed before with the same biological model exposed to the LGM conditions of both hemispheres in a SDM framework. This allowed identifying multiple mid- to low latitude refugia at global scales, for which peri-glacial margins largely match additional genetic studies; for instance, Vancouver Island adjacent to the Laurentide Ice sheet in the northern hemisphere79 and Patagonia and the Falkland Islands in the southern hemisphere24. As anticipated, populations within refugia showed higher and unique genetic diversity levels, as long-term persistence rendered the possibility of population to accumulate and retain regional diversity levels8,9,14,80. Outside refugia, where range shifts might have occurred, diversity levels were always lower regardless the hemisphere, with private alleles reduced to negligible values < 1 at distances > 55 km of refugia, and to 0 at distances > 150 km. This skewed pattern of diversity occurring at such short distances of closest refugia (but not from the putative origin region; Fig. 5 in S3) likely resulted from consecutive founder effects occurring during post-glacial range expansions, which have left homogeneous landscapes with lower diversity levels in the two hemispheres81. This pattern might have been maintained by density barrier effects, halting the expansion of distinct immigrant genes82,83.

Results also highlighted the role of suitable habitat changes (i.e., predicted areas) as a proxy of effective population size changes through time11. In particular, the genetic hotspot found from Channel Islands to Mexico, with striking higher diversity compared to anywhere else, was the only sampled region that increased suitable habitats during the LGM. An additional study shows this region with even larger habitats (up to threefold) from the LGM to the mid-Holocene42. Large and stable habitats can potentially maintain population sizes large enough to counteract the genetic effects of inbreeding depression and drift over time84. This contrasts with regions like Patagonia and sub-Antarctic islands that might have experienced severe population reductions, while not complete extinct (up to 56% LGM contraction), and today show reduced diversity. But comparing diversity levels between sites / genetic groups must consider additional drivers beyond potential habitat changes through time. For instance, the major genetic bottleneck during the colonization of the southern hemisphere46 (see “Discussion” below on “Global phylogeographic patterns”) may have strongly reduced diversity of new colonized areas, despite the subsequent relative size of persisting refugia. Accordingly, outside the putative region of Macrocystis origin, even populations within estimated regionally persistent areas, may presently contain lower diversity than expected in the ancient locations of its ancestral evolutionary history.

Genetic erosion within refugia can further occur due to the exposure of individuals to peripheral niche conditions at low latitude range margins, typically characterized by nutrient-deprived warmer waters30,85. In the present study, Mexico (northern hemisphere) and Peru (southern hemisphere) can represent such cases. Despite being predicted within refugia, considering their high private diversity levels and SDM estimates, both regions show low allelic richness. There, studies following demographic changes of giant kelp have recurrently linked the extreme conditions of El Niño events to local population extinctions32,86, which might have produced bottlenecks and shifted genetic baselines34. Cryptic persistence in deep colder waters or microscopic gametophyte stages, as suggested elsewhere87,88, could have counteracted complete genetic losses and safeguarded the observed unique diversity. In this context, climate change scenarios are projected to shift the 24 °C isotherm matching the species’ thermal tolerance to more poleward regions, hundreds of km beyond these sites, particularly in the no mitigation scenarios overlooking the Paris Agreement initiative89. The complete loss of unique genes, as recently reported for the Ecklonia forests of Oman90, is of particular concern30, calling for considering both warm range edges of M. pyrifera as priority for conservation in light of Climate Change Integrated Conservation Strategies for potentially endangered phylogeographic lineages72.

Global phylogeographic patterns

Results showed M. pyrifera composed by two main genetic clusters, which coincide with the division of both hemispheres, followed by a second and more complex level of structure comprising six clusters. All clusters showed significant pairwise differentiation levels, largely suggesting the effect of genetic drift, not compensated by regular gene flow. Compared to the southern hemisphere, the northern hemisphere showed significantly higher genetic diversity and up to fourfold more private alleles (i.e., genetic diversity endemic of the northern hemisphere), rendering it the potential ancient origin of the species. This is supported by previous studies also hypothesizing the southern hemisphere distribution of M. pyrifera and additional cold-temperate species of macroalgae resulting from northward introductions46,91. The centrality patterns found in both genetic structure and network analyses point to Catalina Island bridging the hemispheres through the region sampled in Peru, a hypothesis raised elsewhere46. This process can explain the admixture levels found in Peru, and may have occurred by stepping-stone through unsampled tropical regions where the species occurred, or still occurs in elusive habitats (e.g., Socorro Island in Mexico)92, yet in a distant past beyond the LGM, as SDM does not suggest the possibility of rafting between the hemispheres. Additional temperature reconstructions for this tropical area match the sea surface temperature anomaly of our data during the LGM of approx. − 2 °C, reinforcing a plausible long-term barrier for rafting. Earlier periods like the pre- or mid-Pleistocene climate transition (620–435 Kyr ago and 870–620 Kyr ago) could have provided suitable conditions for the stepping-stone process, as suggested for the red algae Callophyllis variegata91.

Marked genetic structure hinders the inference of other colonization pathways, with the exception for the regions more recently colonized (i.e., Alaska, Canada and most sub-Antarctic Islands). Structure and network analyses (degree centrality) suggest Alaska and Canada potentially originating from Monterey Bay, and the sub-Antarctic Islands being colonized by Tierra del Fuego or a neighboring persistent location (e.g., Falkland Islands), where the species could have dispersed9,24,93; this contrasts with additional persistent areas (e.g., southern Chile) from which dispersal might have been hindered by the major discontinuity for rafting occurring along southern Chile and Tierra del Fuego, as suggested by the SDM.

The genetic divisions observed in both hemispheres are corroborated by previous studies of M. pyrifera38,39,46, and reinforce the role of oceanographic currents and habitat discontinuity shaping the genetic structure of the species, as previously studied along the Californian coastline43,44. In the northern hemisphere, the deflection of the Alaska and California currents94 can explain the division between G1 (Alaska, Canada & Monterey) and G2 (Santa Cruz to Point San Luis), while the well-known biogeographic barrier of Point Conception95 defines a genetic cluster per se. In the southern hemisphere, the split of the Antarctic Circumpolar Current into the northward Humboldt current and the southward Cape Horn current shapes a barrier at − 42° latitude matching the observed division between Patagonia and N. Chile (G5 and G6). The genetic discontinuities in this region were also associated with founder effects during post-glacial colonization of Patagonia for other macroalgae species, as well as for invertebrates and vertebrates96,97,98,99. The subdivision of Peru can result from habitat discontinuity shaped by extensive sandy beaches, or by the highly advective Humboldt Current System, which promotes off-shore transport, therefore generating a connectivity barrier to coastal populations. Lastly, the Tasman Sea, identified as a major biogeographical barrier for marine biodiversity100, explains the additional separation of G5 and G6, from Australia to New Zealand.

Overall, the present study with replication along the northern and southern hemisphere, highlights the role of past climate changes at global scales in structuring refugial regions where populations may display higher and unique genetic diversity, compared to more recent populations resulting from post-glacial expansions. Additional drivers such as regional population size changes, genetic bottlenecks produced by major phylogeographic events (e.g., the colonization of the southern hemisphere) and the exposure to peripheral niche conditions in warm range edges might have further been key to structuring global diversity levels. The study also highlights the role of major oceanographic currents and habitat discontinuities, coupled with the density barrier effects of previously established populations, restricting the homogenization of distinct genetic lineages over time, as suggested for other kelp species3,98. In contrast, long-distance dispersal by rafting must be a rare process29, but crucial to the colonization of unoccupied suitable habitats following glacial events. Together, these processes shaped disjunct genetic lineages at short distances (scales of tens to hundreds of km), rendering them of higher conservation value in the face of future climate changes, particularly if one considers the potential loss of unique alleles at low latitude range margins, and the multiple ecological, and socioeconomic services provided by giant kelp forests27. The insights provided with replication across hemispheres, contribute to a better understanding of the genetic effects of past climate changes, and may be generalizable to additional cold-temperate species, particularly for other important ecosystem-structuring species.