Main

Fluvial ecosystems are among the most heterotrophic ecosystems on Earth and are major emitters of CO2 to the atmosphere1,2. The notion of stream and river heterotrophy has its root in studies of ecosystems draining forested catchments, where terrestrial subsidies of organic carbon (C) are commonplace3,4. In these ecosystems, microorganisms degrade allochthonous organic C and are rarely limited by C but rather by nitrogen (N) and phosphorus (P)5. Conversely, streams that drain catchments with poorly developed terrestrial vegetation—characteristic of high-altitude, high-latitude and arid biomes—do not fit this model, and their microbial metabolism can be C limited6. Understanding the mechanisms underpinning microbial energetics in fluvial ecosystems is critical because it potentially links to the global C cycle2.

The microbial metabolism of glacier-fed streams (GFSs) that drain the world’s major mountain ranges may be particularly C limited. Near glaciers, GFSs drain largely mineral terrain devoid of terrestrial production and developed soils. Glaciers deliver bio-reactive dissolved organic carbon (DOC) to the downstream microbial metabolism, albeit at low concentrations7,8. Furthermore, autochthonous production in GFSs is low because of physical disturbances and light-attenuating turbidity induced by unconsolidated sediments and turbulent flow9,10. Because of the scarcity of organic C sources, GFS metabolism is often sustained by chemolithotrophy (for example, sulfur, nitrogen and hydrogen pathways11,12), as is typical for other cryospheric ecosystems13,14. Climate-induced glacier shrinkage is predicted to alter resource supply and stoichiometry in GFSs15,16,17. For instance, depending on underlying geology, decreasing subglacial weathering can reduce downstream P supply, whereas increasing contributions from non-glacial sources (for example, snowmelt and groundwater-fed streams) can increase downstream C and N concentrations16,17. However, how these shifts affect microbial energetics and related elemental fluxes in the world’s GFSs currently remains unknown.

Limitations on microbial metabolism and related carbon use efficiency (CUE) are linked by the elemental stoichiometry of microbial biomass and resources18,19. This linkage is facilitated by the activity of extracellular enzymes that microorganisms produce to acquire C, N and P and which are regulated by kinetic and stoichiometric constraints20. Elemental stoichiometry constrains microorganisms to adapt their acquisition strategies to available resources, affecting their growth and respiration rates. The efficiency by which microorganisms allocate C to growth versus respiration is given by the CUE19,21, making it a major intermediary to energy flow and the C cycle. Theoretical and empirical studies indicate that microbial CUE is responsive to environmental conditions. For instance, CUE may decrease with temperature if respiration responds more positively to temperature than growth, a relationship that appears inconsistent across terrestrial and aquatic ecosystems22. Furthermore, CUE can increase during algal blooms in pelagic systems when senescent algae exude labile organic matter to microbial heterotrophs21. Despite such algal–bacterial interactions in stream biofilms and the relevance of CUE as a microbial modulator of ecosystem-level C cycling, CUE remains poorly understood in stream ecosystems in general and in GFSs in particular.

Here we assessed microbial resource limitation and CUE across 154 GFSs sampled by the NOMIS Vanishing Glaciers project from some of Earth’s major mountain ranges (Fig. 1a). Our analyses focused on the extracellular enzymatic activity (EEA) of microbial biofilms that inhabit benthic sediments. Benthic biofilms dominate microbial life and fulfil critical ecosystem processes23. Utilizing a space-for-time substitution approach24, we explored how glacier shrinkage might affect resource supply and microbial energetics at a global scale by sampling GFSs under a wide range of glacier influence. We expected diminishing glacier influence to modulate changes in resource supply and microbial metabolism through shifting environmental conditions in GFSs. We used generalized additive mixed models (GAMMs) to disentangle effects from glacier influence and space (for example, mountain ranges), with spatial autocorrelation being inherent to datasets spanning spatial and environmental gradients. Space-for-time substitution was complemented by comparing within each GFS an upstream reach, as close to the glacier snout as possible, to a downstream reach, thereby capturing longitudinal chronosequences of deglaciation.

Fig. 1: Geography and physico-chemical characteristics of the glacier-fed streams sampled by the Vanishing Glaciers project.
figure 1

a, Map showing the mountain ranges where glacier-fed streams (GFSs) were sampled. In each GFS, one upstream and one downstream reach was sampled for streamwater physico-chemical parameters; within each reach, three sediment patches were sampled for microbiological analyses. b, Density plots showing mountain-range-scale variability in important streamwater characteristics, including temperature, turbidity (nephelometric turbidity units; NTU), dissolved inorganic nitrogen (DIN), soluble reactive phosphorus (SRP) and chlorophyll-a (Chla) content of the dry mass (DM) of benthic sediments.

Resource supply in glacier-fed streams

Resource stoichiometry has a critical role in regulating ecosystem structure and function25. However, global-scale shifts in resource availability are difficult to predict owing to the limited spatial extent of currently available data. Our global dataset allowed us to identify effects of glacier influence on streamwater DOC, dissolved inorganic nitrogen (DIN) and soluble reactive phosphorus (SRP) concentrations. We used GAMMs to test combinations of parameters indicative of glacial influence (that is, glacier area, relative glacier cover, distance to the glacier) on the GFS ecosystem, selecting the best model through Bayes factor analysis (Methods). In all models, spatial effects accounted for a significant proportion of the variability in streamwater turbidity, temperature and SRP, reflecting regional differences (Fig. 1b and Extended Data Table 1).

In line with local and regional studies7,26, our global survey underscores the pronounced oligotrophy of GFSs through consistently low DOC concentrations (median: 151 µg C l−1; interquartile range (IQR): 103–239 µg C l−1) (Extended Data Table 2). Low concentrations are due to the overall paucity of DOC sources in GFSs, combined with the effects of dilution from glacier run-off. Spatial structure explained most of the observed variation in DOC concentrations, and GAMMs did not retain glacial influence as a predictor (Extended Data Table 1).

Streamwater DIN concentrations (median: 95 µg N l−1) varied across mountain ranges (IQR: 32−196 µg N l−1) (Extended Data Table 2), with highest values in the Pamir and Tien Shan (median: 399 µg N l−1; IQR: 238–521 µg N l−1) and lowest values in Southwest Greenland (median: 16 µg N l−1; IQR: 13–19 µg N l−1). GAMMs failed to relate streamwater DIN concentration to glacier influence (Extended Data Table 1), in spite of controlling for regionality (Fig. 1b). Nitrogen, specifically nitrate, originates from various sources within the glacierized catchment, including atmospheric deposition16,27 and geology28, which vary regionally. Furthermore, once in the streamwater, microorganisms influence N concentrations and forms through uptake and transformation16,27.

Streamwater SRP concentrations were relatively low across GFSs (median: 3 µg P l−1; IQR = 1–7 µg P l−1). Concentrations were highest in Ecuadorian Andes (median: 12 µg P l−1; IQR = 8–29 µg P l−1), Southwest Greenland (median: 9 µg P l−1; IQR: 5–29 µg P l−1), New Zealand Southern Alps (median: 7 µg P l−1; IQR: 6–7 µg P l−1) and Chilean Andes (median: 5 µg P l−1; IQR: 3–12 µg P l−1), whereas median SRP concentrations from the remaining regions were all below 2 µg P l−1. These patterns are potentially attributable to the underlying geologies of GFSs. In fact, several of the mountain ranges with elevated median SRP concentrations feature historic volcanism (for example, Greenland’s Disko Island, Ecuadorian and Chilean Andes) and are underlain by basalts. Indeed, streamwater SRP concentrations were positively correlated with sediment feldspar content (Spearman correlation, rho = 0.48, P < 0.0001). Thus, given the predominant geological origin of SRP in GFSs, it is not unexpected that the most parsimonious GAMM model retained only glacier area, which was positively related to SRP (F = 0.719, P = 0.040; Fig. 2c). Previous work has predicted declines in SRP concentration with glacier shrinkage15,16, with the rationale that larger glaciers have an enhanced capacity to mechanically weather underlying bedrock and the subglacial hydrologic connectivity to flush these weathering products into GFSs. Our dataset, albeit with high regional variability, provides global-scale evidence for these previous predictions.

Fig. 2: Shrinking glacier surface area leads to reductions in streamwater turbidity and soluble reactive phosphorus, increases in temperature.
figure 2

a,b, Generalized additive mixed models (GAMMs) accounting for the spatial structure of the data, and combined with a Bayes factor analysis to select relevant variables, revealed that streamwater turbidity increases with glacier area (n = 332) (a), whereas streamwater temperature decreases with glacier area (n = 338) (b). c, In terms of nutrients, soluble reactive phosphorus concentrations increase with glacier area (n = 301). Shown are the response curves with 95% prediction intervals. No adjustments for multiple comparisons were made, and reported P values are two sided; full GAMM results are provided in Extended Data Table 1. Colours represent the corresponding mountain ranges provided in the map in Fig. 1a.

Patterns of streamwater DOC and nutrient concentrations translate into resource stoichiometries that vary widely across and within mountain ranges. Streamwater molar C:P varied from a median of 37.2 (IQR: 27.2–44.7) in New Zealand to 407 (IQR: 220–871) in the Pamir and Tien Shan. Streamwater molar C:N ranged from a median of 0.7 in the Russian Caucasus (IQR: 0.5–1.0) to 10.9 (IQR: 9.7–12.4) in Southwest Greenland. Lastly, median molar N:P ranged from 3.3 (IQR: 1.6–7.0) in Southwest Greenland to 546 (IQR: 138–855) in the Russian Caucasus. Together, overall median molar C:P, C:N and N:P ratios of our samples are 134 (IQR: 44–315), 1.8 (IQR: 0.8–5.4) and 72 (IQR: 12–274), respectively. Assuming that the canonical C:N:P Redfield ratio (that is, 106:16:1) indicates thresholds of nutrient limitation, our results suggest that N is not uniformly limiting in GFSs worldwide. On the contrary, streamwater resource ratios indicate widespread P limitation, and potentially also C limitation, in GFSs. Our global survey thus supports findings on P limitation in GFSs as reported from local studies16,29. Furthermore, given that SRP concentrations are expected to decline in the future as glaciers shrink, there is the potential to further exacerbate P limitation in GFSs globally.

Glacier-fed streams become greener

Benthic algae provide bioavailable organic matter to microbial heterotrophs in streams30,31, which may be particularly important in GFSs largely devoid of terrestrial organic matter subsidies15. Besides nutrients, stream photoautotrophs are controlled by light availability1, modulated by streamwater turbidity, and temperature32. Therefore, we used GAMMs to explore the glacier influence on these potential drivers across GFSs (Methods). Models revealed increasing streamwater turbidity and decreasing temperature with increasing glacier area (Fig. 2a,b); we also found that streamwater temperature increases with distance from glaciers (Extended Data Fig. 1 and Extended Data Table 1). The shrinkage of glaciers decreases their erosive forces, thereby reducing sediment production and streamwater turbidity33,34. Concurrently, glacier length recession allows for higher heat transfers into the streamwater from the atmosphere and streambed35,36.

We found that benthic chlorophyll-a, a proxy for algal biomass, exhibited an inverse relationship with streamwater turbidity (Fig. 3 and Extended Data Table 1). Observable across a broad range of GFSs, this pattern is consistent with local-scale studies showing elevated primary production during periods of reduced turbidity and increased light availability9,10. The relationship also suggests that algal biomass will increase in GFSs beyond ‘peak flow’ (that is, when greater discharge is no longer generated by increasing glacier melt rates37), corresponding to a reduction in suspended sediments34. This space-for-time substitution approach across GFSs is corroborated by the significantly (Wilcoxon test, P = 0.01) higher benthic chlorophyll-a concentrations in downstream versus upstream reaches (median difference: 2.32 × 10−3 µg g−1 dry mass sediment; Extended Data Table 2). Altogether, patterns of benthic chlorophyll-a both across and within GFSs suggest impending ‘greening’ as glaciers shrink, analogous to the predicted ‘greening’ of high-mountain catchments38. Yet, the effect of ‘greening’ on GFS microbial energetics remains unknown.

Fig. 3: Streamwater turbidity affects the biomass of benthic primary producers in glacier-fed streams.
figure 3

GAMMs accounting for the spatial structure of the data, and combined with a Bayes factor analysis to select relevant variables, revealed that benthic chlorophyll-a is negatively related to streamwater turbidity (n = 302). Shown are the response curves with 95% prediction intervals. No adjustments for multiple comparisons were made, and reported P values are two sided; full GAMM results are provided in Extended Data Table 1. Colours represent the corresponding mountain ranges provided in the map in Fig. 1a.

Resource limitation and microbial metabolism

Given the apparent resource paucity in GFSs, we assessed potential resource limitations of the benthic microorganisms. We calculated threshold elemental ratios (TERs), which are the critical elemental C:P (TERC:P) or C:N (TERC:N) ratios at which the control of microbial metabolism switches from C to nutrient (N, P) limitation. TER was computed from the activities of the extracellular enzymes β-1,4-glucosidase (BG), leucine aminopeptidase (LAP), β-1,4-N-acetylglucosaminidase (NAG) and acid (alkaline) phosphatase (AP) (Methods).

Interestingly, GFS EEA profiles differ from those in soils, where the bulk of EEA-based stoichiometric research has been conducted39. In soils, LAP activity is typically low relative to BG, probably because of abundant polysaccharides derived from plant litter. However, in many streams, including GFSs, the opposite is true, with BG activity being consistently lower than LAP18. This pattern held in our global dataset, with the exception of the equatorial GFS of the Rwenzori Mountains, in which photoautotrophic processes dominated40. We attribute high relative LAP activity to its dual role in acquiring C and N from amino acids, for instance, provided by microorganisms and algae, which are more important organic matter sources in GFSs than plant litter. This dual nature is advantageous in a resource-limited ecosystem, given the energetic costs to produce extracellular enzymes. However, it also makes it difficult to separate acquisition efforts for C and N individually, and we acknowledge this caveat for directly comparing TERC:N between GFSs and other systems, such as soils (Methods).

Across all GFSs, median TERC:P and TERC:N were 181 (IQR: 95.9–351.8) and 96.2 (IQR: 94.0–101.9), respectively (Fig. 4b,c and Extended Data Table 2). Overall, TERC:P varied more than TERC:N across mountain ranges. For instance, median TERC:P calculated for each region varied fourfold, from 71 in the Scandinavian Mountains to 286 in the Pamir and Tien Shan, whereas median TERC:N varied only 1.1 times from 93.9 in the Pamir and Tien Shan to 105.5 in Greenland (not taking into consideration the single Rwenzori GFS with a value of 479). These modelled TERC:N and TERC:P values were often higher than the Redfield ratio (C:N = 6.6, C:P = 106) and were approximately two and ten times larger, respectively, than those reported for river sediments41. Therefore, TER collectively indicates widespread C limitation, and to some extent also P limitation, of the benthic microbial metabolism, further supporting findings deduced from resource ratios.

Fig. 4: CUEs and TERs of glacier-fed streams across the world’s major mountain ranges.
figure 4

ac, Shown are boxplots for CUE (n = 299) (a), TERC:N (n = 302) (b) and TERC:P (n = 303) (c) for each of the ten mountain ranges. The lower and upper horizontal box boundaries indicate the interquartile range (IQR; denoting the 25th and 75th percentiles, respectively), and the middle horizontal lines represent the median. Vertical lines extend from each box to both the highest and lowest values (but no further than 1.5 times the IQR), and points outside this range are outliers. Shown to the right of each figure are scaled probability density functions representing the distributions for each of the three parameters, with red lines indicating the overall median values. Please note the difference in scale among the y axes.

We also investigated how biofilm TER may respond to environmental changes as glaciers shrink. Whereas GAMMs failed to explain TERC:N, they retained chlorophyll-a to predict TERC:P (Fig. 5a and Extended Data Table 1). The negative relationship between TERC:P and chlorophyll-a across many different GFSs suggests that the ‘greening’ of GFSs relieves biofilms from C limitation and potentially pushes them towards P limitation. However, similar to cyanobacterial mats42, GFS biofilms may recycle nutrients to mitigate effects of limitation.

Fig. 5: Nutrient limitation and CUE are related to benthic algal biomass.
figure 5

a,b, GAMMs accounting for the spatial structure of the data, combined with a Bayes factor analysis to select relevant variables, indicated that chlorophyll-a concentrations in the benthic sediments were negatively related to TERC:P (n = 261) (a) and positively related to CUE (n = 261) (b). Shown are the response curves with 95% prediction intervals. No adjustments for multiple comparisons were made, and reported p values are two sided; full GAMM results are provided in Extended Data Table 1. Colours represent the corresponding mountain ranges provided in the map (Fig. 1a).

Microbial carbon use efficiency

To further explore patterns and drivers of microbial energetics in GFSs, we derived CUE from stoichiometric modelling of the EEA20, which produced a median value of 0.15 and varied across mountain ranges (IQR: 0.11–0.21; Fig. 4a and Extended Data Table 2). Because CUE can be estimated using various approaches, we first compared CUE derived from stoichiometric modelling to CUE derived from measured rates of bacterial C production and community respiration based on a subset of our samples (Methods). We found reasonable congruence between the independent approaches, with median values of 0.15 and 0.23 for CUE derived from stoichiometry and process rates, respectively (Extended Data Fig. 2). This comparison underscores the validity of stoichiometric modelling for estimating microbial CUE of GFS sediments.

Our estimates of CUE from global GFSs are comparable to median values from a wide range of aquatic ecosystems (median: 0.20; IQR: 0.04–0.61)43, including temperate streams and rivers (0.016–0.299)44, but are lower than the theoretical maximum bacterial CUE (0.6) and estimates for natural microbial communities in multi-resource-limited systems (0.3)19. Finally, they are also lower than the median CUE (0.36) reported from soil bacterial strains45, typically biased towards microorganisms growing under optimal resource conditions. Therefore, globally low CUE in GFSs suggests a high degree of microbial maintenance metabolism and slow growth, probably due to limited resource supply in these ecosystems.

To explore how CUE may change in global GFSs as glaciers shrink, we built GAMMs similar to those described above, but testing combinations of streamwater temperature, molar streamwater N:P and benthic chlorophyll-a, in addition to accounting for spatial structure (Methods and Extended Data Tables 1 and 3). The most parsimonious model retained chlorophyll-a as the only predictor for CUE (Fig. 5b). The significant and positive relationship between CUE and chlorophyll-a based on the 154 GFSs is consistent with the longitudinal differences in CUE within the GFSs. Specifically, we found significantly (Wilcoxon test, P < 0.05) higher CUE in downstream than upstream reaches (median difference in CUE: 0.03), reflecting the patterns of benthic chlorophyll-a reported for the same downstream gradients. These findings across and within GFSs suggest that augmented benthic autotrophic production may alleviate microbial heterotrophs from starvation, potentially through the provisioning of energy-rich exudates, thereby increasing their CUE21. That our models did not retain temperature as a predictor of CUE may be linked to the relatively low range of temperatures across GFSs globally (median: 1.95 °C; IQR: 0.6–4.0 °C) and the diel variation in temperature typical for many GFSs9, to which communities are presumably adapted.

Next, we explored mechanisms that potentially underlie the observed patterns of microbial CUE in GFSs, specifically its components of growth (as bacterial C production) and respiration. As predicted by the growth rate hypothesis25, more P is required as microbial growth rate increases to accommodate P-rich ribosomes and rRNA for rapid protein synthesis. Consistent with this hypothesis, we found that cell-specific phosphatase activity was positively correlated with CUE (F = 22.2, P < 0.001; Extended Data Fig. 3). This relationship further underscores the role of P limitation in driving microbial growth and related C fluxes in the world’s GFSs. Another mechanism is the temperature dependence of growth and respiration. To test this effect, we constructed GAMMs with a spline accounting for algal biomass (chlorophyll-a) and tested a linear effect of relative temperature (Methods). We found a temperature dependence (Methods) of bacterial C production approximating 0.62 eV (F = −4.654, P < 0.001) (Extended Data Table 1), which is in agreement with temperature dependences reported for various C fluxes in aquatic ecosystems (for example, ref. 46) and stream ecosystem respiration (for example, refs. 47,48). Whereas this finding may appear unexpected given the narrow temperature range across GFSs, it suggests that microbial production will increase rapidly as streamwater temperatures rise and glaciers shrink. Yet, our model failed to establish a temperature dependence for respiration, which we tentatively attribute to the apparent dominance of maintenance metabolism. Additionally, we found no significant relationship indicating a temperature dependence of microbial CUE and cell-specific phosphatase (Extended Data Table 1).

In summary, our comprehensive study spanning the world’s major mountain ranges unravels consistent trends of resource limitation in GFSs, despite regional and local differences, that corroborate predictions from conceptual models16,17. Our space-for-time substitutions, combined with elemental stoichiometry and microbial EEAs, indicate a ‘green transition’ with increasing primary production in GFSs that will relieve their microorganisms from energetic constraints as glacier influence diminishes. Increasing streamwater temperature will further accelerate microbial growth (as bacterial C production), which aligns with observations of enhanced degradation of organic matter in GFSs as glaciers shrink49,50. Shifting energy sources and microbial energetics are expected to have broader impacts for ecosystem functioning. In fact, faster growth would rely on a sufficiently high P supply, which may become increasingly limited as glaciers recede16,17. Metabolic interactions between bacteria and primary producers, as reported from GFS photoautotrophic biofilms51, may counteract nutrient limitation through internal recycling. Our findings indicate that ecosystem C cycling will intensify in ‘greener’ GFSs, with yet unknown implications for regional C fluxes.

Methods

Sampling and streamwater chemical analyses

From 2019 to 2022, we sampled 169 GFSs from 11 major mountain ranges, including the Southern Alps of New Zealand (20 GFSs), the Nuuk and Disko Island (Qeqertarsuaq) areas of west and southwest Greenland (10 GFSs), the Ecuadorian (15 GFSs) and Chilean (15 GFSs) Andes, the Caucasus Mountains of Russia (19 GFSs), the Lyngen Alps and Jotunheim Mountains of Norway (referred to as Scandinavian Mountains; 10 GFSs), the European Alps (27 GFSs), the Himalayas (17 GFSs), the Tien Shan and Pamir of Kyrgyzstan (20 GFSs), the Alaska Range of North America (15 GFSs) and the Rwenzori Mountains in Uganda (1 GFS). The GFSs cover a wide range of latitudes, elevations, glacier sizes and geologies52.

Samples were predominantly collected during vernal and autumnal ‘windows of opportunity’ (that is, temporal periods flanking peak summer icemelt and winter freeze-up and snow cover, collectively associated with greater biofilm biomass9,10), and we abstained from sampling heavily debris-covered glaciers and rock glaciers and GFSs with proglacial lakes, debris flows or non-glacial tributaries upstream of the sampling site. For each GFS, we sampled one upstream reach as close to the glacier snout as possible (median distance from snout: 76 m; IQR: 29–301 m) and one downstream reach (median distance from snout: 706 m from glacier; IQR: 336–1,280 m) to encompass a longitudinal gradient of the GFS environment. The median distance between upstream and downstream reaches was 515 m (IQR: 236–933 m) and ranged from 22 to 3,936 m. The Alaskan GFSs were included for nutrient resource analyses but not for microbial energetics.

Streamwater turbidity was measured with a portable turbidity meter (Turb 430 IR, WTW). Streamwater samples were further collected for the measurement of nutrient concentrations in both upstream and downstream reaches, with the exception of New Zealand, where only the upstream reaches were sampled. Nutrient samples were collected by filtering water through ashed GF/F filters (Whatman) into acid-washed Nalgene HDPE bottles and were frozen within 24 h. Nutrient concentrations were measured on a Lachat QuikChem 8500 flow injection analyser and included nitrite (NO2−; QuikChem Method 10-107-05-1-C, detection limit: 1.6 μg N l−1 as NO2), nitrite/nitrate (NO2 + NO3; 10-107-04-1-B, detection limit: 0.3 μg N l−1), ammonium (NH4+; 10-107-06-3-D, detection limit: 1 μg N l−1 as NH3) and soluble reactive phosphorus (SRP; 10-115-01-1-M, detection limit: 0.1 μg P l−1 as PO43−). Dissolved inorganic nitrogen (DIN) was calculated by adding together N-NH4+, N-NO2 and NO3, which was then used in streamwater C:N and N:P ratios. For all nutrient species, values reflect concentrations of N and P (rather than NOx and PO43− molecules), and values were corrected by the molar mass of each element before calculating molar C:N:P ratios. Samples for DOC were collected at upstream reaches only and filtered through ashed GF/F (Whatman) filters, stored at 4 °C in acid-washed and combusted amber glass vials and measured on a Sievers M5310 C TOC Analyser (Veolia); accuracy of the DOC measurements was ±2%, precision <1% RSD and detection limit 2 μg C l−1. As DOC samples were collected from upstream reaches only, streamwater C:N and C:P ratios refer to upstream reaches.

In each GFS reach, we sampled sediment-associated biofilms from three sediment patches within a perimeter of 5 to 10 m. Benthic sediments (the upper 5-cm layer of the streambed) were removed and sorted using graded sieves (250 μm to 3.15 mm size fraction) to retain the sandy fraction. Sandy sediments contribute the most surface area to the overall streambed, and their ubiquity facilitates comparison within and among GFSs. All sampling equipment was flame-sterilized in the field. Aliquots for the analysis of chlorophyll-a and extracellular enzyme activities were transferred into cryovials and flash frozen in the field using liquid nitrogen. Other aliquots were retained for the in situ determination of bacterial C production and community respiration. A subset of the sampled sediment was further retained to characterize mineralogy and was analysed using an X-TRA ThermoARL Diffractometer. Errors varied between 5% and 10% for the phyllosilicates and 5% for grain minerals. Raw data files were generated and transformed into calculated files by WinXRD 2.0-6 (Thermo Fisher). Relative abundances of the main mineral groups were estimated from the raw counts of mica, chlorite, amphibole, feldspars, calcite and quartz divided by the sum of counts.

Benthic chlorophyll-a

We extracted chlorophyll-a from the benthic sediments by adding 90% ethanol, extracting in a hot water bath (78 °C) for 10 min and incubating in the dark at 4 °C for 24 h. Following incubation, samples were vortexed, centrifuged (max. speed for 5 min) and read in a high-sensitivity plate reader (BioTek Synergy H1) at 436/680 ex/em wavelengths. Chlorophyll-a concentrations were normalized by the dry mass of sediment (µg Chla g−1 dry mass).

Bacterial abundance

Bacterial abundance was determined as done previously53. In brief, 2.5–3 g of wet sediment were fixed in situ in filter-sterilized paraformaldehyde/glutaraldehyde solution for each patch and flash frozen on dry ice pending analysis. Microbial cells were detached through shaking and sonication (Sonifier 450, Branson, 1 min, 60% duty cycle, output 5) in paraformaldehyde/glutaraldehyde solution supplemented with sodium pyrophosphate (final concentration of 0.025 mM). Extracts were transferred into a sterile Eppendorf tube and centrifuged to pellet larger sediment and debris particles. The supernatant was then diluted tenfold in paraformaldehyde/glutaraldehyde solution and stained with SYBR Green before being analysed on a NovoCyte flow cytometer (ACEA Biosciences) equipped with a 488 nm laser. Results were corrected for various dilution factors and for normalized to sediment dry mass (cells g−1 dry mass).

Extracellular enzymatic activities

Extracellular enzyme activity (EEA) was quantified by measuring potential activities of α-1,4-glucosidase (AG), β-1,4-glucosidase (BG, leucine aminopeptidase (LAP), β-1,4-N-acetylglucosaminidase (NAG) and acid (alkaline) phosphatase (AP) using fluorescent 4-methylumbelliferone (MUF) and 7-amino-4-methylcoumarin (AMC)-linked substrates (4-MUF-α-d-glucoside, 4-MUF-β-d-glucoside, l-leucine-7-amino-4-AMC, 4-MUF-N-acetyl-β-d-glucosaminide and 4-MUF-phosphate, respectively). All substrates were dissolved in artificial streamwater (pH adjusted to 7.5) at a concentration of 0.3 µM, based on previous work53. Approximately 1 g (wet weight) of sediment was transferred to pre-weighed centrifuge tubes, and 4 ml of MUF and AMC-linked substrates (at 4 °C) were added to the samples and allowed to incubate for 1.5 to 2 h in the dark on a shaker at 4 °C. In addition to assays, we incubated reference standards of MUF and AMC with several controls for each sediment sample: a blank (artificial streamwater only), a matrix control (sediment plus artificial streamwater), a quench control (sediment plus MUF or AMC reference standard) and a deactivated control (sediment boiled for 30 min before adding substrate). Following incubations, 2 ml of glycine buffer (pH10.4) was quickly added to all tubes (2:1 sample:buffer vol:vol ratio) to raise the pH and halt product generation. Samples were vortexed, centrifuged and the supernatant transferred to black 96-well plates (Corning, flat bottom, polystyrene non-binding surface) before fluorescences were read on a BioTek Synergy H1 high-sensitivity plate reader at 365/455 excitation/emission wavelengths for MUF and 364/445 excitation/emission wavelengths for AMC. Following analyses, sediments were dried and weighed, and enzymatic activities (nmol h−1 g−1 dry mass) were calculated using equations in ref. 53.

Bacterial carbon production

Bacterial C production (BCP) was determined according to ref. 54. In brief, we incubated sediment samples (2.5 to 3 g) for 2 h in the field with 30 nM [3H]leucine (specific activity: 149.0 Ci mmol−1, PerkinElmer) in the dark at in situ stream temperature. The incorporation was halted with the addition of formaldehyde (3.7% final concentration). Killed controls were run in parallel to quantify background signals. In the laboratory, microbial cells were detached from the sediments using vortexing and mild sonication (Sonorex Super RK512, 35 kHz, 225/450 W, Bandelin). Proteins were extracted from cells by adding 1.53 ml of trichloroacetic acid (15% TCA), followed by incubation in a water bath (95 °C, 30 min) and cooling on ice (30 min) to coagulate proteins. Samples were then filtered (100 mbar, Vacuubrand) through 0.2 μm polycarbonate filters (Isopore, GTTP02500, Millipore, Merck) and rinsed twice with ice-cold 5% TCA. Finally, samples were transferred into 14 ml of scintillation cocktail (PerkinElmer, Optiphase Hisafe 3), and disintegrations per minute were measured for 5 min in a low-activity liquid scintillation counter (Tri-Carb 4910 TR, Perkin Elmer) after a 30-sec delay. Data were converted to leucine incorporation using its specific activity, and bacterial protein production was calculated according to refs. 55,56. From this, BCP was calculated by multiplying by the protein-to-cell C ratio (0.86). Some raw data showed evidence of quenching (that is, signal attenuation), and an external standard incorporated into the scintillation counter (133 Ba) was used to make corrections using the external standard ratio method55. Blanks for each sample were inspected separately, and if an outlier was observed, it was replaced by the mean of the other blanks in the dataset. Calculated rates were subsequently normalized by the dry mass of the sediment (ng C h−1 g−1 dry mass).

Microbial respiration

The respiration of the microbial community attached to the sediments was determined in situ using multi-channel optical FireSting(R)-Pro (PyroScience Germany) systems integrated into custom-made respiration chambers. These chambers consisted of borosilicate tubes with planar optodes connected to fibre-optic sensors. Each tube (two per sediment patch) received sandy sediments (up to 10 g) and was further filled with sterile-filtered (0.2 µm, Millipore) GFS water with no air bubble inclusions. As for BCP, the respiration chamber was incubated in the dark and fully submerged in the GFS to ensure in situ temperatures. After an equilibration period, we monitored oxygen concentration and temperature every 15 sec for at least 2 h. Temperature-corrected oxygen concentrations were extracted, and outliers were removed from the time series using an R script. More specifically, variation in temperature (>2 °C) during the incubation affected the internal temperature compensation and consequently measurements were discarded. Inspection of replicated measurements revealed deviations that we attribute to small air bubbles in the vials. Such measurements were also discarded. Moreover, the harsh field conditions eventually led to malfunctioning of the system. Nevertheless, at least one respiration datum from 88% of the GFSs (136/154) and 81% of the reaches (251/308) were retained for further analysis. Respiration rates were calculated from the slope of the oxygen concentration over time and normalized by the dry weight of the sediment (mg O2 h−1 g−1 dry mass) and averaged per reach.

Threshold elemental ratios and carbon use efficiency

By comparing different enzyme classes used to acquire different elements, stoichiometric models can be formulated to calculate threshold elemental ratios (TER), which provide an indication of the ratio at which these heterotrophic metabolic processes are limited by nutrients and/or energy20,25. Because of the high-protein peaks observed in the DOM of alpine streams7, and coupled with the high LAP activities previously reported for GFS sediments53, we postulate that LAP is probably generated to capitalize on microbially derived organic compounds and to efficiently acquire both N and C. Thus, we have reorganized the equations formulated by ref. 20 to also include LAP as a C-acquiring EEA in models alongside BG, as recommended by refs. 18,57. Threshold elemental ratios (TERC:X) were first calculated based on equations formulated by ref. 20 and as reproduced by ref. 58:

$${\mathrm{TER}}_{\mathrm{C:N}}=\frac{\left(\frac{\mathrm{BG}\,+\,\mathrm{LAP}}{\mathrm{LAP}\,+\,\mathrm{NAG}}\right)/{B}_{\mathrm{C:N}}}{{n}_{0}}$$
(1)
$$\mathrm{TER}_\mathrm{C:P}=\frac{\left(\frac{\mathrm{BG}\,+\,\mathrm{LAP}}{\mathrm{AP}}\right)/{B}_\mathrm{C:P}}{{p}_{0}}$$
(2)

where BC:X is the C to nutrient ratio of microbial cells, which were taken from ref. 59 (C:N = 8.6 and C:P = 60) and n0 and p0 are scalars determined by finding the intercept between C-acquiring EEA (BG and LAP) and N-acquiring (NAG and LAP) and P-acquiring (AP) EEA58. Scalars were calculated using the entire dataset so as not to induce differences as a function of mountain range and so on. Once TER values were calculated, they were used to calculate CUE by using the equation given in refs. 19,60:

$$\mathrm{CUE}={\left(\left(\frac{\left({B}_\mathrm{C:N}\times {A}_\mathrm{N}\right)}{\mathrm{TE{R}}_\mathrm{C:N}}\right)\times\left(\frac{\left({B}_\mathrm{C:P}\times {A}_\mathrm{P}\right)}{\mathrm{TE{R}}_\mathrm{C:P}}\right)\right)}^{0.5}$$
(3)

where AX is the assimilation efficiency of N or P (0.9). Finally, microbial CUE was also calculated as the ratio of BCP to the sum of BCP and respiration (R):

$$\mathrm{CUE}=\frac{{\rm{BCP}}}{({\rm{BCP}}+{{R}})}$$
(4)

Statistical analyses

All statistics were performed using R (version 4.1.1)61. When necessary to achieve normality, data were log-transformed (natural logarithm) after addition of a value equal to 0.5 times the lowest datum for a given variable. For CUE, TERC:N and TERC:P, outliers were discarded if their values were more than three standard deviations away from the mean.

The statistical framework of this study was implemented as follows: we constructed spatial splines to account for spatial autocorrelation at the regional scale (that is, mountain ranges) and included random effects to correct for correlations between upstream and downstream reaches that were sampled within each GFS. Specifically, we used generalized additive mixed models (GAMM function; mgcv R package) with a spatial spline (using latitude and longitude with parameters set as bs = ‘sos’, m = 1 and k = −1) to account for spatial autocorrelation at the regional scale. To remove autocorrelation arising within a GFS (between upstream and downstream reaches), a random effect with the ‘corCAR1(form = ~ 1 | GFS)’ correlation structure was used. To compare different combinations of predictor variables, and to identify the best-fitting model, a tensor (parameters set as bs = ‘ts’ and k = 5) was used, combined with a Bayes factor analysis using the ‘test_bf()’ command from the performance package62. Models encompassing all possible combinations of predictors in the tensors were compared against a null model based solely on the spatial spline. The best model, when compared to the null, was retained. If no model had a Bayes factor ≥3, the null model was retained.

To calculate the temperature dependence of bacterial carbon production, respiration, CUE and cell-specific AP, another set of GAMM models was created. These models included the inverse relative water temperature as a dependent variable and accounted for chlorophyll-a as a smoothed term. Spatial splines and random effects, as described previously, were not used in these models. Dependent variables were natural log-transformed, and the linear slope estimate between the dependent variables and the inverse relative water temperature was used to estimate temperature dependence. Inverse relative water temperature was calculated according to ref. 49:

$$\mathrm{inverse}\,\mathrm{relative}\,\mathrm{water}\,\mathrm{temperature}=\left(\frac{1}{{K}_{\mathrm{B}}\times\mathrm{Temp}}\right)-\left(\frac{1}{{K}_{\mathrm{B}}\times\mathrm{Temp}_{0}}\right)$$
(5)

where KB is the Boltzmann constant (0.0000862), Temp is the measured water temperature (K) and Temp0 is 283.15 (that is, temperatures normalized to 10 °C).

A brief summary of the model structure for a given class of dependent variable is provided in Extended Data Table 3 and below:

  1. 1.

    Physical template models: the optimal combination of glaciological parameters (distance from the glacier, percent glacier coverage and glacier area, all represented in a tensor) was selected based on a Bayes factor analysis to elucidate the parameters affecting streamwater turbidity, water temperature, DOC, SRP and DIN.

  2. 2.

    Chlorophyll-a model: the most suitable combination of streamwater characteristics (turbidity, temperature, SRP and DIN, all represented in a tensor) was identified via a Bayes factor analysis to explain variations of chlorophyll-a concentrations.

  3. 3.

    CUE and TER models: the optimal combination of streamwater temperature, dissolved N:P ratios and benthic chlorophyll-a (all included a tensor) was determined based on a Bayes factor analysis to explain CUE, TERC:N and TERC:P.

  4. 4.

    Cell-specific AP versus CUE: cell-specific AP, represented as a tensor, served as a predictor for CUE.

  5. 5.

    Temperature dependence models: inverse relative water temperature, along with chlorophyll-a (represented as a spline), were used to explain log-transformed values for respiration, bacterial carbon production, CUE and cell-specific AP.