Main
Arctic permafrost peatlands, warming at a rate four times faster than the global average6, contain globally important reserves of soil organic carbon7. This carbon’s fate and flux dynamics as carbon dioxide (CO2) or methane (CH4) will determine these systems’ feedbacks to climate change3,8,9. Soil microbiota have a critical role in controlling these dynamics1, but the community structure, assembly and metabolism of the microbiota are altered in turn by the cascading changes initiated by rising Arctic temperatures10,12,16. Notably, temperature change is expected to directly affect the composition17 and interactions5 of microbial communities through differential impacts on each microorganism’s metabolic thermodynamics. Alternatively, ecological factors such as functional stability and metabolic flexibility4,18 may reinforce community resistance and resilience to gradual change. In either scenario, a sufficiently intense or prolonged disturbance can push communities into non-equilibrium dynamics and trigger reassembly into a new community state19,20,21.
The standard operating ranges and baseline stability of microbial communities in most habitats remain unknown21 (Supplementary Note 1). Other major unknowns include how long a disturbance must last to evoke a response, how long the microbial community takes to respond21, how variability in soil microbiome structure alters biogeochemical processes22, and whether altered ecosystem functioning results from a decoupling between microbial composition and functions18. The pressing need to understand how soil microbiomes respond to temperature-induced change has motivated many studies2,11,17,23,24,25,26,27, but to date no clear pattern has emerged. Complicating interpretation, this body of work includes varying study designs and disturbance intensities (observation versus manipulation17), time frames (few years versus many years2,11) and environmental settings, in which weather, soil properties, depth, plant communities and hydrology may outweigh the effects of climate warming23,24,25,26,27 (Supplementary Note 2). Despite these challenges, understanding the dynamics of soil microbiome response to warming is vital for establishing how climate models should represent these critical ecosystems13,14.
Model ecosystems create an opportunity for integrative study of these dynamics. Stordalen Mire is a discontinuous permafrost peatland in northern Sweden (68° 21′ N, 19° 20′ E; Supplementary Note 3) that has been intensively studied over decades as its permafrost thaws. These studies have tracked the collapse of patches of dry elevated palsas (Supplementary Fig. 1) to partially thawed bogs and fully thawed fens, with total fen extent doubling over the past 50 years (ref. 9). Progression along this thaw gradient is marked by both abiotic and biotic shifts affecting redox conditions (predominantly oxic in palsa, anoxic in fen), pH, hydrologic connectivity (dry palsa, perched water tables in bog and permanently inundated fens), and plant, microbial and viral community composition9,10,12,28,29,30. Importantly, these shifts across the thaw gradient induce increasingly anaerobic microbial lineages and metabolisms, including methanogens12,29, driving substantial increases in net radiative forcing9,31. Because habitat conversion proceeds in local patches, long-term observation of plant communities has provided many opportunities to observe the conversion of the diverse forbs of the palsa to Sphagnum-dominated bog and Eriophorum-dominated fen9,31,32. These repeated observations suggest that aboveground, on the ecosystem scale, these habitat types behave as alternative stable states33, local minima or basins (here meaning more stable) in a stability landscape traversed by communities. Previous work has provided a detailed understanding of microbial communities and processes in short periods within each habitat12,15,32,34, but the belowground temporal dynamics within each habitat have so far gone unexplored.
Each of the alternative stable states observed aboveground, in the plant communities at the surface of soil cores, could conceal any of three distinct belowground patterns. These patterns can be visualized in terms of the classic ‘ball and cup’ analogy33 (Extended Data Fig. 1). First, a habitat’s microbiome could be stable as long as its plant community is stable; a time series of cores with plant communities belonging to one aboveground state would capture only minor fluctuations belowground (Extended Data Fig. 1, (i)). Stability could arise either because the community is insensitive to disturbance (resistance) or because it recovers rapidly from disturbance (resilience4,18). Second, if the microbiome states’ minima are shallow and aboveground–belowground coupling is loose, a microbiome could shift gradually towards the next state in the canonical thaw progression (palsa to bog, bog to fen) or to a different transitional state (Extended Data Fig. 1, (ii.a) and (ii.b)). Third, a microbiome could shift abruptly between the belowground states associated with palsa, bog and fen, either leading or lagging aboveground shifts (Extended Data Fig. 1 (iii.a) and (iii.b)). A time series of cores with a given plant community might capture this saltatory microbiome change; however, very long lags could make the plant and microbial communities appear completely uncoupled, while with very short lags, the pattern would appear as within-habitat stability, with aboveground state consistently predicting the belowground community. Critically, each of these patterns carries different implications for how predictive modelling should represent a habitat’s soil microbial community and its activity, and for the type and resolution of data required to parameterize models. More broadly, distinguishing between these patterns would reveal the structure of plant–soil feedbacks in a rapidly changing ecosystem. We hypothesized that, owing to the extreme intensity of warming that the Arctic is experiencing, belowground microorganisms would be pushed beyond their standard operating ranges (Extended Data Fig. 1, (ii.a), (ii.b) and (iii.b)), exposed to environmental pressures caused directly or indirectly by temperature change. We further hypothesized that indicators of this warming would be recognizable in advance of habitat change (Extended Data Fig. 1, (iii.b)) within multiple scales of the microbial community: organization, functions or individual organisms.
Here we examined microbiome temporal dynamics in Stordalen Mire’s habitats through three genome-resolved lenses: organisms (across taxon ranks ranging from phylum to strain), functions (encoded metabolic pathways and proteins) and community organization (community network structure and mechanisms of ecological assembly). Our depth-resolved dataset of 183 metagenomes (2.37 Tb) and 66 metatranscriptomes (1.87 Tb), from soil cores defined as palsa, bog or fen by plot surface characteristics (plant community, inundation and elevation), captures 7 years in which resident soil microbiota were exposed to approximately 0.7 °C yr−1 of belowground warming at peak growing season (2011–2017; Fig. 1a,b). This period included significant interannual fluctuations in air temperature and water table depth (Extended Data Fig. 2) and encompassed four of the planet’s hottest years on record35. Through each lens, at all levels of granularity, in each habitat, at nearly every depth, we consistently observed unexpected microbiome stability (Supplementary Note 1), closely coupled to the alternative stable states aboveground (Extended Data Fig. 1, (i)). Our analyses suggest that this microbiome stability is driven by: (1) metabolic versatility within individual lineages; (2) functional redundancy between lineages; and (3) stochastic dispersal in the waterlogged soils of bog and fen. Moreover, our integrative approach suggests new hypotheses on nutrient-cycling pathways and partnerships in each habitat.

a, Soil temperatures increase significantly with time in the three main thaw-gradient habitats (shown on the left): palsas (brown), bogs (green) and fens (blue). Lines indicate significant linear relationships (shading represents 95% confidence interval; two-sided P < 0.05) within each depth. Shapes show depth (key below). b, Beta-diversity did not change significantly with time. Points compare Bray–Curtis dissimilarity between samples (0–9 cm only) at the same depth against the earliest baseline year with at least two microbiomes; black lines represent dissimilarity averages, and shading shows maximum range per year. Shaded grey bars and dash lines show ranges and averages, respectively, of reference year within-year dissimilarities (grey dots). c,d, Habitat and depth structure microbiome beta-diversity more strongly than year, observed in non-metric multidimensional scaling (MDS) ordinations of MAG-based taxonomic (c) and functional (d) composition coloured by year (purple, key on the right) across the primary (1) and secondary (2) axis of variation. Depths are denoted by shape (as in b) and demarcated by ellipses (dashed-line and shaded ellipses indicate 95% confidence interval of each habitat’s multivariate normal and t-distributions, respectively). Functions are cumulative pathway abundances, obtained as the summed relative abundances of each MAG in which a given complete pathway was observed. e, Taxonomic composition per habitat. Tree map with dereplicated MAGs as rectangles proportional to time-averaged relative abundance, coloured by phyla (key on the right). f, Heat map of microbiome temporal change assessments spanning organizations, functions and organisms. The variation explained by time is indicated with the intensity of the shaded colour (key below); white asterisks denote significant correlations to time (Mantel’s R with the exception of R2 for alpha-diversity metrics; adjusted P < 0.05, false discovery rate (FDR)-adjusted for n = 12 comparisons). Across all metrics surveyed, only deeper fen (30–39 cm) showed significant change over time. Stochastic and deterministic community assembly processes, from beta-null modelling, indicate dispersal and ecological drift and selection, respectively.
Microbiome composition and function resisted change over time
To evaluate microbiome changes, we reconstructed 13,290 metagenome-assembled genomes (MAGs) that represent 1,806 species-level taxa (clustered at 95% average nucleotide identity; Fig. 1e). Together these MAGs captured 73% of the sequenced community at genus level (Methods), which is high for natural systems. Read-mapping-based abundances revealed that microbial diversity and composition were resistant to change over seven years within habitat and depth (Fig. 1a–e, Supplementary Fig. 3 and Supplementary Table 1). Very little variation in community composition could be accounted for by sample year at any level of resolution (strain: ≤3.0%, P = 0.03; genus: 1.6%, P = 0.03; phylum: 1.6%, P = 0.005) evaluated by distance-based redundancy analyses on single-copy marker genes (Fig. 1f). Similarly, in 92% of habitats and depths, genome-resolved community composition was not explained by time (Fig. 1b–d,f and Extended Data Fig. 3) and interannual fluctuation was significant only at certain depths in the fen (for 0–9, 20–29 and 30–39 cm, respectively: R2: 0.35, 0.62 and 0.81; P value: 0.036, 0.048 and 0.048; Extended Data Fig. 4a). Only the deeper fen (30–39 cm) samples exhibited both significant interannual fluctuation (Extended Data Figs. 3 and 4a) and directional change (R2 = 0.50, P = 0.012) in community composition with time (Fig. 1f), and only 8 of 1,806 species were significantly correlated to time (Spearman rho ranging from −0.7 to 0.91, P < 0.05; Extended Data Fig. 4b,c and Supplementary Note 4). The stability observed across habitats, at a range of taxonomic granularities, suggests that the microbial community is compositionally resistant over time.
Encoded microbiome functions were similarly consistent within habitats over time (Figs. 1d,f and 2a). Beta-diversity of community-wide protein clusters (a metric unconstrained by functional annotation), as well as manually curated genome-resolved pathways of carbon, nitrogen and sulfur metabolism did not significantly change over time in 92% of habitats and depths (Figs. 1f and 2 and Extended Data Fig. 5); the sole exception was 30–39 cm in the fen (R2: 0.49–0.55, PERMANOVA, P < 0.05; Figs. 1c,d and 2 and Extended Data Fig. 4a). At the coarsest genome-resolved functional grouping, that of MAGs into functional guilds, guilds (for example, methanogens, homoacetogens, fermenters and macromolecule degraders) maintained similar abundances through time (Fig. 2a). (Expressed microbiome function was not used for temporal analysis due to discontinuity in the metatranscriptomic time series). Thus, within the majority of Stordalen Mire habitats and depths, we observed both compositional and functional resistance to change over time across multiple levels of granularity.

a, MAG-encoded cumulative relative abundance of carbon, nitrogen, sulfur and phosphorous metabolic pathways over time. Points and ribbons represent mean ± s.d. across depths and replicates. b, Left, aggregated over the study period, key pathways in carbon, nitrogen and sulfur metabolism from metatranscriptomic data show differences between habitats in microbial investment in methanotrophy and carbon fixation, nitrogen fixation and sulfur redox cycling. Right, a reference figure showing the mapped transformations. TPM, transcripts per million.
Our third lens, microbial community organization, also revealed stability over time within each habitat and depth. We used two distinct genome-resolved network approaches based on their respective appropriateness: weighted genome correlation network analysis (WGCNA) to identify community modules related to soil biogeochemical factors, and multilayer temporal networks (MTNs) to identify community organizational changes over time. Habitat-specific WGCNA modules showed no linear correlation of community composition to time (Pearson, adjusted P < 0.05) (Supplementary Table 2). MTN microbial co-occurrence networks exhibited variability in specific microbial interactions over time (Fig. 3a and Extended Data Fig. 6a–c; Jaccard similarity coefficient of triangles), although the overall network structure remained more consistent at broader scales (Figs. 1f and 3b and Extended Data Fig. 6a–c; degree distribution and degree correlation). This suggests that broader community network patterns are resistant to change, even as individual interactions shift temporally. To understand if subcommunities of microorganisms were resistant over time, we asked how many years each MTN subcommunity persisted (Extended Data Fig. 6d). Persistent subcommunities (occurring in at least 4 of the 7 years) accounted for 40% of the abundance-weighted community with time (a conservative estimate that depends on the interannual relax rate; Extended Data Fig. 6e). Thus, whereas not all microbe–microbe interactions were stable from year to year, persistent clusters contributed extensively to community composition.

a, MTNs depict correlations between MAGs within annual networks for each habitat. Each network layer corresponds to a specific year, with nodes representing MAGs. Black edges represent correlations (nominal FastSpar P value < 0.05; correlation > 0.3) between MAGs within the same habitat and year. b, Pairwise interyear correlations (Spearman’s rho) in network node degree (n = 6 interyear comparisons per baseline year; non-parametric Kruskal–Wallis test) within each habitat. Top, palsa; middle, bog; bottom, fen. Box plots show the median (centre line) and the interquartile range (box), with whiskers drawn to 1.5× the interquartile range. Data points beyond the whiskers are shown as outliers. Note that the recovery of fen to a near-stable state after 2013 suggests strong resilience in this habitat. c, Assembly processes detected within each habitat (rows) by beta nearest taxon index (β-NTI) and Raup–Crick metric of community distance modified to use Bray–Curtis distance (RCBray–Curtis) modelling in interyear comparisons. For each year, columns show pairwise comparisons to all other years (self-comparisons are obscured by black bars). Stacked bar colours denote the proportion of different assembly processes detected in each pairwise comparison, revealing overall stability in assembly within habitats over time.
Next, we sought to understand whether the ecological mechanisms that reinforce stability in each habitat’s community organization were themselves changing over time. Constructing null models with randomization procedures informed by phylogenetic and taxonomic community composition (Methods), we used beta-null modelling36 to determine whether stochastic (dispersal and ecological drift) or deterministic (selection) processes drove community structure in each habitat (Fig. 3c and Extended Data Fig. 7). A change in community assembly mechanisms over time could indicate a shift in the ecological pressures shaping the community (for example, increased selection due to changing ground temperature). Instead, beta-null modelling showed that although each habitat was governed by distinct assembly mechanisms (homogenizing selection in the palsa, homogenizing dispersal in the waterlogged habitats), the ratio between deterministic and stochastic assembly processes within each habitat did not change with time (Mantel, P > 0.05) (Figs. 1f and 3c).
Microbiomes had weak susceptibility to temperature
Finally, we explored the possibility that organisms, functions and organization of the communities were being shaped by subtle or non-monotonic changes in abiotic drivers. Below we focus on temperature, since in general other abiotic factors such as pH and redox proxies did not change with time (Supplementary Fig. 4). After accounting for covariation between temperature and depth (strongest in palsa; Extended Data Fig. 2), genome-resolved community composition was slightly, but significantly, linearly correlated to ground temperature in bog and fen but not palsa (Fig. 1f, Bray–Curtis dissimilarity: partial Mantel rho = 0.152 and 0.24, P < 0.001, in bog and fen, respectively). However, when habitat and depth were included in non-linear generalized additive models, no predictive relationship remained between community composition and temperature (P = 0.4; Supplementary Note 5), suggesting that the effect of temperature was weak. Echoing these results, although some WGCNA modules were significantly (Pearson, adjusted P < 0.05) correlated with temperature, all but one of these modules were more strongly correlated with depth. Some of these WGCNA modules were more strongly correlated to carbon cycling metrics (for example, the carbon isotope compositions of CO2 and CH4, \({\delta }^{13}{{\rm{C}}}_{{\mathrm{CO}}_{2}}\) and \({\delta }^{13}{{\rm{C}}}_{{\mathrm{CH}}_{4}}\), and the fractionation factor between them, \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\)) (Extended Data Fig. 8), consistent with previous work at the site5,12,29,30,37, and other features (for example, pH and total nitrogen). Ground temperature had no significant impact on carbon, nitrogen or sulfur pathways in the palsa or bog, and only on xyloglucan degradation in the fen (Supplementary Note 5). No community assembly mechanisms were related to ground temperature or air temperature (on day of sampling or prior four weeks) (Mantel, P > 0.05), implying that even with lag effects, temperature was not a strong selective or stochastic force on community formation. As with temporal change, microbiome sensitivity to temperature was strongest in the fen but weak overall and overshadowed by other abiotic factors (depth, pH and nutrient availability).
Metabolic connections maintain stability
We next explored whether and how the activity of the microbiota within these communities might contribute to reinforcing within-habitat stability. Microbiome capacity to degrade organic matter depends not only on organic matter availability but also on access to other nutrients including bioavailable nitrogen and sulfur. Access to nitrogen is a fundamental constraint on microbial growth in northern peatlands, where nitrogen is frequently limiting38. Similarly, despite small environmental pools of sulfur species37,39, sulfur cycling can control organic matter degradation rates, particularly in the bog15. Bottlenecks in nitrogen, sulfur or carbon flow due to warming-dependent changes in organic matter profiles, redox conditions or enzyme kinetics12,15,29,30,32,37 might disturb the community, but access to alternative pathways or partners for substrate processing could confer resistance to such pressure.
Two alternative pathways to nitrogen acquisition
When preferred low-molecular-mass organic nitrogen compounds40,41 are not available, nitrogen fixation and chitin degradation can provide alternative nitrogen sources. Nitrogen fixation increases the bioavailable nitrogen pool, benefiting diazotrophs directly and the community indirectly42. Up to 25% of the Stordalen Mire community encoded nitrogen fixation (compared to about 0.3% in marine microbiomes43), and more than 75% of encoding MAGs showed nitrogen fixation expression (Extended Data Fig. 9e).
Pathways for degrading chitin ((C8H13O5N)n), the second most abundant biopolymer in nature44, were even more widespread. An insoluble compound whose breakdown requires extracellular enzymes, chitin is targeted by many degradation pathways. At Stordalen Mire, multiple chitin degradation pathways were ubiquitously encoded (abundance-weighted median 73%, range 45%–94% (Extended Data Fig. 9f)) and expressed (median 95% of encoding cells, range 59–100% with one outlier sample at 5%). Furthermore, organisms containing these functions were closely linked to key environmental outputs in WGCNA networks (as variable importance in projection (VIP) members of modules related to carbon and nitrogen cycling (Extended Data Fig. 8)). In many aquatic and terrestrial environments, including peatlands, extracellular chitin degradation products can facilitate commensal and cross-feeding interactions44,45,46, which may promote community stability47 while buffering against fluctuations in low-molecular-mass nitrogen availability. The ubiquity of both nitrogen fixation and chitin degradation pathways across Stordalen Mire habitats may likewise confer resistance.
Cryptic and organic sulfur cycling minimize sulfur limitation
Cryptic sulfur cycling can profoundly influence system biogeochemistry48. We observed habitat-wide expression of dissimilatory sulfur oxidation and sulfate reduction (encoded pathway relative abundances around 25% and up to 10%, respectively; Extended Data Fig. 9i,j), suggesting the active use of cryptic sulfur cycling at Stordalen Mire. Notably, although all microorganisms require sulfur for growth, we detected assimilatory sulfate reduction in only 25% (fen) to 50% (palsa and bog) of the population (Extended Data Fig. 9k). Our analysis of carbohydrate degradation suggests a novel hypothesis: community members may meet some of their sulfur requirements through carbohydrate-active enzyme (CAZyme) degradation of sulfur-containing polysaccharides (Extended Data Fig. 9l), which are known to be preferentially consumed from plant organic matter37. This linkage between the carbon and sulfur cycles in permafrost peatlands is analogous to the ability of some marine isolates to degrade sulfur polysaccharides and thereby increase H2, acetate and sulfate concentrations49. Such a pathway is expected to release sulfur extracellularly, which could serve as a public good and partially alleviate sulfur limitation for other members of the community.
Widespread carbon generalists degrade macromolecules
We defined carbon generalists as MAGs encoding at least three alternative CAZyme pathways and at least three sugar degradation pathways (Extended Data Fig. 10 and Supplementary Note 6). These types of acquisition-oriented carbon generalists are typical of cold peatlands and other wetlands18,50,51. In Stordalen Mire, such MAGs constituted more than 80% of the community and were taxonomically diverse in each habitat (Fig. 4a) and at nearly all depths. The prevalence of these metabolic generalists produced community-level functional redundancy, with each CAZyme pathway encoded by a median of 531 carbon generalists, and each sugar degradation pathway was encoded by a median of 253. Macromolecule and sugar degradation dominated encoded and expressed pathways, particularly in the palsa and bog where more than 84% of the abundance-weighted community encoded and more than 50% expressed these pathways (Fig. 2a and Extended Data Fig. 5). Fermentation pathways were also highly abundant (47–93% cumulative relative abundance; Fig. 2a and Extended Data Fig. 5). Collectively, functionally redundant carbon generalists should stabilize the flux of carbon through the system to downstream partners even as environmental conditions and carbon inputs shift.

a, Functional composition of palsa, bog and fen communities. Tree map rectangles are MAGs coloured by carbon metabolic specialization and scaled by relative abundance. b, Carbon and nitrogen-related pathways present in MAGs belonging to the WGCNA module correlated with the isotopic fractionation of carbon between carbon dioxide and methane carbon (\({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\)) in the bog. MAGs are coloured by carbon metabolic specialization as in Fig. 2 and ordered by VIP score. Wood–Ljungdahl ace, acetogen branch of Wood–Ljungdahl pathway; Wood–Ljungdahl met, methanogen branch of the Wood–Ljungdahl pathway; rGlycine, reductive glycine pathway. c, Bog network structure of the persistent subcommunity of MAGs connected to ‘Ca. M. stordalenmirensis’ in MTN modelling (n = 7). MAGs were included if they maintained a connection to ‘Ca. M. stordalenmirensis’ for at least 6 years, had a VIP score greater than 1, and a Spearman correlation greater than 0.5 to at least one environmental variable. Edge colour represents the number of years adjoining MAGs were connected; node colour indicates MAG specialization, with colours as in a. We note that many other MAGs were connected to the methanogen, but not persistently. Subplots show the Spearman correlation coefficient (rho) of each MAGs to key environmental variables (teal) and their VIP value (pink). CO2 (mM), concentration of CO2 in pore-water; %N, total nitrogen content expressed as percentage of dry mass; αC, carbon isotope fractionation factor between CO2 and CH4.
Flexible carbon generalists support methanogenesis
Despite low abundances, methanogens have an outsized impact on ecosystem output, creating a pressing need to understand the mechanisms that support their activity. Consistent with previous reports12, methanogenesis—primarily hydrogenotrophic—was encoded by a handful of MAGs (<1%) in the bog and fen and was highly expressed there (Fig. 2). Acetoclastic and methylotrophic methanogenesis were uncommon, with acetoclastic methanogenesis present only in the fen (Extended Data Fig. 5). We observed that several methanogens persisted throughout our study period (Fig. 4b,c and Supplementary Note 7), even though the activity of these metabolic specialists depends on the supply of a narrow range of substrates. Diverse metabolic partnerships that reduce substrate limitation for methanogens have been observed to stabilize aquatic microbial communities52,53. We tested whether bog and fen methanogens might also partner with generalists and leverage these partners’ metabolic flexibility to buffer thaw-induced change.
Our network analyses enabled us to address this question in two ways. First, we examined WGCNA relationships to the fractionation factor \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\), an isotopic indicator of CH4 metabolic pathways. Hydrogenotrophic methanogens belonging to the ‘Candidatus Methanoflorens’ including ‘Ca. Methanoflorens stordalenmirensis’ and ‘Ca. Methanoflorens crillii’ have previously been observed to be a strong predictor of \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\) (refs. 12,29). Notably, WGCNA not only supported the correlation of ‘Ca. Methanoflorens’ spp. with \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\) but also identified 13 non-methanogens (including multiple Acidimicrobiales, Terracidiphilus and ‘Ca. Acidiflorens’) that were highly predictive of VIP values greater than 1 and correlated to \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\) (Spearman’s rho, P < 0.05). These correlations were comparable to or higher than that of ‘Ca. M. stordalenmirensis’ itself (Fig. 4b), suggesting that these predominantly carbon-generalist, nitrogen-flexible lineages may be gatekeepers for methanogenic carbon flux. For example, several of the ‘Ca. Acidiflorens’ spp. may supply H2 and formate to ‘Ca. M. stordalenmirensis’12. Second, we identified persistent MTN associations between ‘Ca. M. stordalenmirensis’ and with eight MAGs—all VIPs for \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\), [CO2], \({\delta }^{13}{{\rm{C}}}_{{\mathrm{CO}}_{2}}\) and/or nitrogen content—from the same WGCNA module (Fig. 4c). These MAGs included the Dormibacterota ‘Ca. Changshengia’ spp., which was previously identified as highly correlated with the fraction of carbon mineralized to CO2 versus CH4 in the bog12.
From close analysis of the metabolic capabilities of methanogen-associated lineages, we propose a novel hypothesis that trading and acquisition of both nitrogen and carbon underlies these relationships. We observed that, whereas methanogens with few network connections tend to encode and express nitrogen fixation, highly connected methanogens important to network structure (for example, ‘Ca. M. stordalenmirensis’) typically lacked recognizable nitrogen fixation or other nitrogen-linked decomposition pathways (Supplementary Note 7 and Supplementary Figs. 4 and 6). In other systems, methanogenesis expression54 and CO2 and CH4 production increase with addition of chitin, which methanogens do not typically degrade46,55. Here, all eight persistent methanogen partners (Fig. 4c) encode and express chitin degradation, potentially mitigating nitrogen limitation for methanogens. Furthermore, we identify a potential new linkage between methanogens and their partners through the reductive glycine pathway. This energy-conserving and amine-recycling carbon fixation pathway, capable of producing methanogenesis substrates (pyruvate, acetate and formate) and bioavailable nitrogen (as ammonia56,57), is encoded and expressed by five out of the eight methanogen partners. These co-occurrence-based observations suggest that nitrogen may have a previously unrecognized role in metabolic interactions supporting methanogen persistence and activity in these ecosystems.
Functional redundancy and dispersal stabilize alternate states
Stordalen Mire is warming, causing rapid permafrost thaw and habitat conversion9 between visibly different alternative stable states aboveground. Our analysis of the soil microbiome’s organization, organisms and functions in cores defined by their surface plant communities suggests that belowground communities in palsa, bog and fen are similarly stable and tightly coupled to the aboveground state, to within the limits of our study’s ability to detect lags. Therefore, we find support for the alternative hypothesis of coupled aboveground and belowground habitat-specific steady states (Extended Data Fig. 1, (i)), contrary to our initial hypotheses (Extended Data Fig. 1, (ii.a), (ii.b) and (iii.b)). We propose that functional redundancy, metabolic versatility and homogenizing dispersal are the drivers of ecological resistance (Fig. 5).

Community composition fluctuates around a mean but does not change steadily with time in each habitat. Population density increases in tandem with soil saturation12. Across the thaw gradient, ecological assembly shifts from predominantly deterministic processes in the palsa (community assembly, purple) to predominantly stochastic processes in the fen (orange), while the balance of functional specializations shifts from predominantly generalists (red) to a more metabolically diverse range of specialists. We hypothesize that functional redundancy, dispersal (bog, fen) and metabolic versatility (palsa, bog) drive within-habitat ecological resistance. Dividers marked ‘transition’ represent the unknown set of processes and transformations that lead to habitat transition. Copyright Elena Hartley/www.elabarts.com.
Functional redundancy and functional similarity have been proposed to stabilize microbial communities via the ‘portfolio effect’58,59,60. We saw strong signals of both community-level functional redundancy and species-level metabolic versatility in the stable microbiomes of palsa, bog and fen, each of which was dominated by diverse taxa encoding multiple alternative pathways for carbon and nitrogen acquisition (Figs. 2 and 4 and Supplementary Note 6). Studies of generalists have typically focused on habitat generalists rather than resource generalists61 (Supplementary Note 6), leaving the prevalence of versatile resource generalists in most habitats unknown. We argue that resource generalists merit attention as ecological stabilizers due to their potential for a species-level portfolio effect. That is, just as community function can be maintained by reciprocal changes in efficiency between two compensating species, so should a metabolically versatile cell be able to maintain metabolic activity by rebalancing flux between alternative pathways as conditions change. Increased access via mobile genetic elements to genes providing metabolic versatility would further backstop these stabilizing forces62. If redundant pathways within redundant populations stabilize communities, more narrowly distributed specialists18 would be shielded from disturbance and the loss of taxa from critical functional groups.
Bog and fen microbiomes are likely to be further stabilized by homogenizing dispersal—that is, dispersal high enough to result in a community that is more similar to a neighbour than would be expected by chance (Figs. 3c and 5 and Extended Data Fig. 7). Dispersal dynamics are particularly important during disturbance, when dispersing organisms can determine ecosystem trajectory63. Local dispersal can promote community resistance and resilience by ‘rescuing’ disturbed communities, preventing cross-site divergence after local population reductions or extinctions4,21. This is likely to be synergistic with functional redundancy and metabolic versatility, which improve the odds that dispersal will resupply organisms that fill key roles.
Conclusions
At Stordalen Mire, aboveground plant community reassembly makes habitat conversions detectable from space64, but it is the belowground community that drives methane flux, and the dynamics of belowground change are unknown and not easy to observe remotely. Such knowledge gaps are a challenge in ecosystem and earth system climate models, which must calibrate the representation of microbial complexity13, often in the absence of high-resolution datasets and parameter estimation14,65. The analyses presented here demonstrate that, despite warming (Fig. 1 and Extended Data Fig. 2), landscape-scale change9 (Supplementary Fig. 1a) and increasing methane emissions (Supplementary Fig. 1b), habitat-specific microbiome complexity can be distilled to a set of functions that are stable during peak growing season on a near-decadal timescale.
Collectively, our findings offer new insights into processes underlying microbial community stability in critical permafrost ecosystems. Our integrated analysis over multiple levels of granularity for organismal ranks, metabolic functions and community organization revealed little to no significant temporal change within habitats over seven years of progressive belowground warming. This analysis establishes a collection of metrics for assessing community response to environmental disturbance. Multiple independent analyses suggest that the stability of palsa, bog and fen microbiomes under temperature-induced climate change depends on functional redundancy within communities and dispersal-mediated resupply of organisms that encode essential metabolic versatility.
To complement these insights into the microbiome stability landscape of Stordalen Mire, future sampling must target periods of habitat transition (Fig. 5), when stabilizing capacity is exceeded. Further detailed study at spatial, temporal and genetic resolutions that are not captured in this study may reveal other mechanisms of microbial response to changing conditions, as well as improving bounds on any lag between aboveground and belowground stable-state changes. For instance, spring and autumn observations capturing changing phenology may illuminate an erosion of stability driven by aboveground–belowground asynchronies. In addition, increased application of long-read sequencing may help resolve strain-level functional differences, including those mediated by the activity of mobile genetic elements. Despite these remaining unknowns, this work reveals the clear existence of stable microbial communities from habitats in a rapidly warming unstable Arctic landscape.
Methods
Site details and field sampling
Stordalen
Stordalen Mire is a peatland located in Northern Sweden (68° 22′ N, 19° 03′ E, 363 m above sea level) 10 km east of Abisko in an area of discontinuous permafrost. Stordalen contains a mosaic of 3 characteristic habitats that span a permafrost thaw gradient and collectively account for ~98% of the mire’s land surface9,66. Palsas are raised, well-drained land that overlay ice-rich permafrost and are dominated by ericaceous woody plants, forbs, small sedges, feather mosses, lichen and more drought-tolerant sphagnum species. Bogs form after thaw has begun, have variable perched water tables, and are dominated by more hydrophilic Sphagnum mosses and Eriophorum vaginatum. Fens are fully thawed habitats that are inundated with water, minerotrophic, and are dominated by graminoids, particularly Eriophorum angustifolium and Carex spp. For a more extensive site description, see Supplementary Note 3.
Core and porewater sampling
Samples were taken each summer from 2011 to 201767, during peak growing season in late July, which corresponds to peak methane (CH4) emissions68 at Stordalen Mire. To maintain consistency and minimize effects of landscape variation, across all years cores were taken within a ~35 m radius of established autochamber gas sampling systems. To ensure that cores were not influenced by each other or that the coring disturbed the autochambers, coring locations were chosen far enough apart to avoid any potential disturbance footprint caused by coring in the previous year (at least 1 m, but in practice the distance between samples in consecutive years was much larger: 28.65 m, 8.24 m and 9.69 m on average in the palsa, bog and fen, respectively). Coring locations of previous years were verified through either flags (earlier years) or GPS (Global Positioning System) coordinates (later years). For similar reasons, a buffer distance of at least 2 m was maintained from the autochambers. The habitat of each prospective coring location was identified by consensus of experts with deep knowledge of the field site, via a combination of habitat characteristic factors (hydrological status, permafrost depth, elevation and characteristic vegetation present), and knowledge of the history of landscape change at the site. Photos of the surface vegetation as well as the cores further aided in habitat identification. Before sampling, active layer depth (ALD) and water table depth (WTD) were measured, along with air and soil temperature. ALD was measured with an iron permafrost probe 1 m in length, with the exception of one sample in 2012. In many years, permafrost was likely present but at depths greater than 1 m; therefore, we also calculated the minimum distance any given sample was to either the permafrost or the deepest extent of the probe (a derived variable, min_PF_dist_from_sample). WTD was measured relative to the peat surface for sites with WTD above the surface; if WTD was below the surface, it was determined during coring as described below. Air and soil temperatures during field sampling were measured with a 60-cm stainless steel probe connected to a HH506RA Multilogger Thermometer (Omega Engineering).
Porewater for geochemical analyses was obtained, at given depth intervals, utilizing a 0.25-inch inner diameter stainless steel tube (sipper) that was perforated at the bottom most 3 cm of the steel tube connected to a 60-ml plastic syringe to provide suction. The pH and oxygen (O2) concentrations were measured immediately after retrieval: an Oakton Waterproof pHTestr 10 for pH (Eutech Instruments, precision ~0.2 units) and a PreSens Fibox 4 with PSt3 probe for O2 (in 2017) (custom made to 40 cm length; s.d. of ±0.4% O2 at 20.9% O2 and ±0.05% O2 at 0.2% O2). Porewater was filtered to 2.7 μm and injected into duplicate 20-ml or 30-ml evacuated borosilicate glass serum vials until the vials were ~2/3 full, then acidified with 0.5 ml of degassed 21% phosphoric acid and stored at 4 °C. For analysis of porewater CH4 and dissolved inorganic carbon (DIC) concentrations and δ13C measurements of carbon dioxide (CO2) and CH4, the water was stored as described69. Poregas from non-waterlogged sites was collected in a similar manner, except that poregas was injected into the evacuated vials until the vials were overpressurized (>1 atm). For δD-CH4 analysis, porewater was filtered to 2.7 μm and injected into evacuated 120-ml borosilicate glass serum vials containing 0.5 g KOH until the vials were ~2/3 full. For all other porewater geochemical measurements, water was processed as previously described32,70,71: water was filtered to 0.7 μm into polycarbonate screw-top bottles (or for water isotope and acetate samples, into 2-ml plastic microcentrifuge tubes until nearly full), frozen within 8 h of collection, and stored at −20 °C until analysis. A full list of geochemical measurements, including their source material (porewater, poregas, or solid phase core subsamples), is provided in the variable definitions file accompanying the ‘Sample metadata sheet v1.0.0’ (Data availability).
Triplicate cores were taken from palsa and bog sites using a push corer (11 cm diameter) and from fen sites using a 10 × 10 cm square Wardenaar corer (Eijkelkamp). If the WTD was below the surface, the exact WTD was determined by measuring the distance from the peat surface to the surface of the water in the core hole after allowing for the hole to re-fill during the time that the core samples were being processed. Cores were immediately aseptically subdivided in the field for microbial and geochemical analyses. Cores were segmented into 2–5 cm depth increments, with the number, increment widths, and distribution of the depths varying by year. In later years (after 2013) depths were standardized in 10 cm increments and grouped into 10 cm increments from 0–40 cm. The analyses presented primarily focused on 0–40 cm samples (n = 183; Supplementary Fig. 2) to enable comparison over time from 2011 to 2017, however there were an additional n = 16 samples (5 palsa, 5 bog and 6 fen) collected in 2012–2014 that extend to 80 cm (total n = 199). Subsamples for microbial analysis were prepared from peat from the interior of the core (avoiding the outermost cm), and preserved in Lifeguard buffer (QIAGEN) at a 1:2.5 ratio, homogenized by vigorous shaking, and stored on ice until return to the Abisko Scientific Research Station (ANS) (several hours). Microbial samples were stored at −80 °C unless they were being shipped, in which case they were shipped on dry ice. Geochemical core samples were placed in ziplock bags (2011–2012) or 50 ml falcon tubes (2013–2017), transferred to the station on ice and stored at 4 °C (2011) or −20 °C (2012–2017) unless they were being shipped, in which case they were shipped on ice (2011–2012) or dry ice (2013–2017). Soil importation occurred under permits P330-14-00283 and P330-15-00359 and peat was imported under the peat exemption of under USDA Circular Q-330.300-1. A summary of microbial samples used in the paper can be found in Supplementary Fig. 2.
Gas flux and methane isotope calculations
Gas flux was measured through an autochamber system that has previously been described29,72,73. The chambers are polycarbonate and automatically close once every 3 h for 5 min to measure gas flux. Several updates have been made to the chamber system over the years, so chamber footprint has varied from 38 cm2 to 45 cm2 and chamber height has ranged from 15 cm to 75 cm to accommodate vegetation at each site. Each chamber is equipped with air and surface ground temperature probes. CH4 isotopes are measured with a tunable diode laser spectrometer (TDLAS; Aerodyne Research), which can quantify 12CH4 and 13CH4 during chamber closure. Details of the calculations and calibration of the autochamber system can be found in ref. 29. To better account for lags between microbial activity and flux data, we also calculated average and standard error of fluxes each week for the four weeks prior to coring.
For palsa methane flux displayed in Supplementary Fig. 1b, when the autochambers failed to obtain measurements, missing data were filled with the daily average flux for the specific day of year measurements made from 2012 to 2018, as was previously described68. The daily averages were then used to determine the cumulative total flux for each year from 2012 to 2018.
We calculated the effective isotopic fractionation factor for carbon in porewater CH4 (a measure of the relative contribution of CO2 and CH4 to the \({\delta }^{13}{{\rm{C}}}_{{\mathrm{CH}}_{4}}\) and therefore CH4 production pathway, \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\)), with values ranging from 1.05–1.06 for acetoclastic- and 1.05–1.09 for hydrogenotrophic-methanogenesis74. Fractionation (\({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\)) is calculated as
where \({\delta }^{13}{{\rm{C}}}_{{\mathrm{CO}}_{2}}\) and \({\delta }^{13}{{\rm{C}}}_{{\mathrm{CH}}_{4}}\)δ are determined as
and R is the ratio of 13C to 12C, with values expressed relative to the international standard, Vienna Pee Dee Belemnite (VPDB).
Geochemical measurements
Geochemical properties were measured as described71. A brief synopsis for each measurement is given below, including any deviations from the methods described in ref. 71. All measurements were performed at Florida State University (Tallahassee, FL) unless otherwise noted.
To obtain concentrations and δ13C of CH4 and CO2 in porewater and poregas, gas samples (vial headspace gas for porewater) ranging from 50–250 μl were directly injected into a continuous flow Hewlett-Packard 5890 gas chromatograph (Agilent Technologies) at 25–40 °C (temperature adjusted based on observed peak separation), coupled to a Finnigan MAT Delta S isotope ratio mass spectrometer via a Conflo IV interface system (Thermo Scientific) (GC-IRMS). For porewater, the original dissolved concentrations of CH4 and CO2 were calculated from the measured headspace concentrations based on Henry’s Law. δD-CH4 was measured separately by injecting 0.25–10 ml (depending on CH4 concentration) of the headspace gas from the KOH-treated vials into a gas chromatograph connected to a ThermoFinnegan Delta Plus continuous flow isotope ratio mass spectrometer located at the National High Magnetic Field Laboratory (NHMFL; Tallahassee, FL).
Water isotopes (δD-H2O and δ18O-H2O) were measured on an LGR DT-100 Liquid Water Stable Isotope Analyzer located at Florida Agricultural and Mechanical University (Tallahassee, FL). Each sample was measured six times, discarding the first two measurements of each sample to avoid potential cross-contamination. Data was analysed using a Microsoft Excel template developed by T. Kurttas, A. Tanweer, B. Newman and P. Aggarwal of the International Atomic Energy Agency Water Resources Programme (http://www.iaea.org/water), averaging the last four retained measurements to determine the final values.
Dissolved organic carbon (DOC) and total dissolved nitrogen (TN) were measured by first removing DIC by bubbling the samples with CO2-free air, followed by measurement using high-temperature catalytic oxidation on a Shimadzu Total Organic Carbon analyser with a non-dispersive infrared detector. Each sample was analysed in triplicate. Acetate, propionate, butyrate, formate and phosphate concentrations were measured by ion chromatography at the University of Massachusetts (Lowell, MA) on a Dionex DX600 fitted with a 4-mm AS-11HC column with suppression and a potassium hydroxide eluent generator. Concentrations of nitrate (for samples collected in and after July 2011) and sulfate were measured by ion chromatography on a Dionex ICS-1100 with a 4-mm IonPac AS22 column, with a 4.5 mM carbonate and 1.4 mM bicarbonate eluent with a flow rate of 1.2 ml min−1. Nitrate concentrations for June 2011 samples also include nitrite and were measured by reduction to gaseous NO in an acidic VnCl3 solution followed by chemiluminescence detection with a Thermo model 42i NOx analyser75 (Thermo Scientific). Porewater ammonium concentrations (ammonia) were measured by reaction with salicylate and hypochlorite followed by colourimetric detection at 640 nm (ref. 76).
For measurement of solid phase %carbon, %nitrogen, δ13C, and δ15N, peat samples were oven-dried at 60 °C, ground to a fine powder, and split into separate subsamples for carbon (80–100 μg) and nitrogen (5,000–6,000 μg) analysis. The subsamples were weighed on an analytical balance and wrapped in tin capsules, then analysed by combustion to CO2 and N2 at 1020 °C in an automated CHN elemental analyser coupled with a ThermoFinnegan Delta XP isotope ratio mass spectrometer (EA-IRMS) located at the NHMFL.
To measure peat pH (post-collection; for solid phase samples), a slurry was created by mixing ~1 g of wet peat with 1–2 ml of DI water, and measuring the pH of the slurry with an Oakton Waterproof pHTestr10 (Eutech Instruments) after 2 min.
Peat %water and bulk density (dry bulk density, for a known volume of wet sample) were determined gravimetrically, with samples oven-dried (60 °C) or freeze-dried prior to determining the dry weights68.
Long-term air temperature and WTD measurements
Temperature measurements were taken at Stordalen Mire on the day of sampling, and also extracted from the Abisko Scientific Research Station (ANS) weather station datasets ~10 km away for longer-term temporal analyses. Average air temperatures used in statistical analyses for the 2011–2017 time of this study use the ANS automatic weather station (automatic station 188790 in use since 1985), while data plotted in Extended Data Fig. 2a,b relies on the data from station 188800 (manual measurement station, in use since 1913). Both stations are part of the Swedish Meteorological and Hydrological Institute (SMHI) network of weather stations, and data is publicly available online. Long-term WTD and active layer depth (ALD) measurements were taken 3–5 times per week from manual measurements at the autochamber sites: WTD was measured in wells, and ALD was measured by inserting a metal rod into the surface (detailed methods and data are available at ref. 77 with similar methodology as described in ‘Core and porewater sampling’). To determine if lagged effects of air temperature or water table had any effect on the microbiome, we calculated air temperature and WTD in several increasingly distant temporal increments prior to sampling: time of sampling (from field measurements described under ‘Core and porewater sampling’), day of sampling (including daily mean, minimum, and maximum temperatures from the long-term ANS data), and summary statistics (mean, median, and standard deviation) of daily mean air temperatures and WTD over 1, 2, 3 and 4 weeks prior to sampling. We also calculated the average air temperature from the start of the growing season (1 June) until sampling and for the entire growing season (1 June to 30 September). For WTD, lagged measurements were converted into the percent of time a particular sample depth spent under the water table during the interval in question.
Aerial image analysis for alterations of palsa extent
The 1943 panchromatic aerial photographs were obtained by the Swedish Airforce during a reconnaissance operation for the army artillery forces during the summer (date unknown, time 13:37 (UTC + 1); unknown altitude, probably 3,800–4,200 m). The imagery was saved by the National Archives in Sweden from the collections of the Photographic Department, Swedish Defence Staff. Stereo pairs were obtained for study site Stordalen, which enabled visualizing elevation changes that are pronounced at the palsa edges. The analysis was carried out on the original analogue aerial images using a manual Wild Aviopret APT2 electric Stereoscope. Measurements of the palsa extent were performed with the images digitized in ArcGIS Pro (v.3.4)78 in parallel with the analogue images in stereoscope vision. The 2008 aerial imagery was obtained by a helicopter mounted camera, Rollei p20 from an altitude of 500 m, in a Lund University mapping campaign. The resolution in the images is 0.087 m. Date and time of the capture was 3 August 2008, 11:00–12:30 (UTC + 2). A topographic LIDAR scanning of the landscape with a resolution of ±3.5 cm assisted in the interpretation of the peatland geomorphology and hydrological regimes. The 2018 RGB basemap aerial photographs were captured with a Vexcel UCE-97 camera at an altitude of 7,400 m and produced from geospatial data by Lantmäteriet (the Swedish mapping, cadastral and land registration authority), provided under the FUK agreement for geodata research, education, and cultural activities. The digital imagery has a resolution 0.48 m and was obtained 28 July 2018, 10:44:50 (UTC + 2:00). The autochamber sites’ relation to hydrological regimes were mapped by an operator with more than 15 years of field experience in the site, and with extensive aerial image interpretation of the geomorphological changes of the palsa, bog and the surrounding fen or lake.
Nucleic acid extraction
DNA and RNA were extracted utilizing MoBio PowerMax Soil DNA/RNA isolation kit (12966-10) with minor alterations as described previously34,79; except for the MAG source samples from substrate addition incubations (201607_SubstrateInc_9to19), which were extracted with the DNeasy PowerSoil Kit (12988-100, Qiagen). We thawed sample vials on ice. After thawing, we added 5–10 g of peat materials to the kit-contained bead tubes. Following the manufacturer’s protocol, the nucleic acids were extracted without the addition of beta-mercaptoethanol. Lifeguard was not removed prior to extraction; to maintain the strength and concentration of solutions, reagents were increased proportionally depending on the amount of peat material used. To ensure full removal of impurities, we added an additional ethanol wash of the nucleic acid-bound column. We eluted the column-bound nucleic acids with 5 ml RNase-free deionized water and further concentrated them using an overnight ethanol precipitation with a re-elution in 100 μl of TE buffer. Next we separated and purified the DNA and RNA. We aliquoted the extracted nucleic acids into two 2 ml microcentrifuge tubes at a ratio of 1:2; 35 μl went through RNase treatment to recover DNA and 65 μl went through DNase treatment to recover RNA. We treated the nucleic acids with RNase (Invitrogen) and DNase (Roche) following the manufacturers’ instructions on the recovery of DNA and RNA. After the nuclease treatments, we performed a phenol:chloroform purification to further remove impurities and enzymes from the DNA and RNA, used ethanol precipitation to isolate the pellets, and eluted them in TE buffer. We quantified the final purified DNA and RNA with Qubit 3.0 (Thermo Fisher). The quality of extracted RNA was also examined with TapeStation analysis at Genome Shared Resources (GSR) at the Ohio State University. Extracts were stored at −80 °C prior to sequencing.
Sequencing and assembly
DNA was sequenced on a NovaSeq 6000 with 2× 150 bp chemistry at the Joint Genome Institute (JGI) Sequencing facility. RNA was sequenced in several sequencing centres depending on the year of the study. In 2011–2012, sequencing occurred at the Australian Center for Ecogenomics where several initial shallow runs were performed on 1/11th of HiSeq or MiSeq Illumina lanes followed by deeper sequencing on 1/8th of a Illumina NextSeq lane (2× 150 bp chemistry was used on each instrument; further details of sequence library preparation, including ribosomal RNA (rRNA) depletion via the Ribo-Zero rRNA Removal kit (Illumina), are available in ref. 12 and sequences are available at NCBI under accession PRJNA386568). In subsequent years (2015–2017) metatranscriptomes were sequenced at JGI on an Illumina NovaSeq 6000 system (v1.5 chemistry; S4 flow cell; 2 × 151 bp run mode; library type: Low or Ultra-Low Input RNASeq with rRNA Depletion). The 2016 metatranscriptomes were additionally sequenced at the University of Colorado Anschutz Medical Campus Illumina NovaSeq 6000 system (v.1.5 chemistry, S4 flow cell, 2× 150 bp run mode), full details of the library preparation can be found in ref. 34. Supplementary Fig. 2 provides a summary of metagenome and metatranscriptomic samples that passed quality control measures.
MAG database construction
The microbial analyses in this study rely on a MAG database of 13,290 medium- and high-quality80 genomes (dereplicated to 1,806 at 95% average nucleotide identity (ANI)) that was prepared from several datasets taken from the site15,34,81,82. Construction of the database has been previously described34. In brief, data used to prepare the MAG database came from four datasets: (1) MAGs found from samples collected during 2010–2012 and previously published12; (2) read sets from 2010–2017 from triplicate cores taken at this site; (3) reads taken from all fractions of a stable isotope probing (SIP) experiment performed with field peat and 13C-labelled plant litter; (4) MAGs generated under the JGI metagenome annotation pipeline (sourced from a combination of the previously mentioned field and SIP samples, other field samples from Stordalen, and samples taken from a substrate addition experiment performed with field peat). MAGs were constructed in several different ways depending on the dataset then dereplicated as described below to ensure no duplicate MAGs were included from any of the datasets.
All samples were assembled independently with no co-assembly. The MAGs previously obtained by ref. 12 were added to the database as is. For the 2010–2017 field samples, reads were trimmed using Trimmomatic v0.3683 and assembled with SPAdes v3.12 (--meta option)84. For large, complex samples like 20120700_E3M (whose assembly exceeded computational limits), reads were subsampled at 50% using BBTools v38.51 and assembled with SPAdes v3.12 (--meta option). Quality-controlled reads were mapped against all samples using BamM v1.7.3 to obtain contig abundances. Two rounds of ensemble binning were performed from the field samples. Initial bin sets were created using UniteM v0.0.18 and refined with DAS Tool v1.1.185 and MetaWRAP v1.0.686. MetaBAT2 v2.12.187, GroopM2 v2.0.088 and MaxBin2 v2.2.489 were inputs for MetaWRAP. Ensemble bins were iteratively refined and assessed using CheckM v1.0.1290. RefineM v0.0.2491 and Anvi’o Margaret v5.292 were used for manual refinement. The SIP reads were trimmed using Trimmomatic v0.36 and assembled with MEGAHIT v1.1.393 and SPAdes v3.13 with BFC error correction v18194. The largest read sets for each sample were assembled for samples with multiple read sets (from different fractions). Contig abundance was quantified with Bowtie2 v2.4.195, and MAGs were created using MetaBAT2 v2.12.1. Sequencing of the field samples and SIP experiment was performed at JGI where all reads were also run through the JGI internal MAG assembly pipeline96. High-quality MAGs generated from these same sample sets from JGI (downloaded December 2020) were included in the MAG database.
Genomes with >70% completeness and <10% contamination, as determined by CheckM v1.0.12, were dereplicated using Galah v0.3.097 to 95% ANI and taxonomically annotated with GTDB-Tk 2.0.0, R20798. After dereplication at 95% ANI, 1,806 unique representative MAGs remained.
Genome annotation
Genomic data
The 2011–2017 field datasets were mapped back to the MAG database using CoverM v0.6.199 (trimmed mean strategy, minimum alignment = 75%, minimum read identity = 95%; see Supplementary Table 4 for genomic mapping rates per sample). The relative abundance of each MAG was calculated on a per sample basis by dividing its robust coverage (calculated using ‘-m trimmed_mean’) by the total coverage of all species in the dereplicated (95% ANI) set. We also generated assembly-free summaries of the microbial composition in each sample using SingleM v0.14.0100. This involved running SingleM ‘pipe’ on the raw metagenomic reads and on the genomic transcripts using the S3.0 metapackage101 and running SingleM ‘appraise’ to compare the sequences between the genomes and the reads at 89% ANI (genus level). The 1,806 MAGs recovered in our data represented 73% of the bacterial and archaeal community at the genus level identified with SingleM. Genome size was determined as the sum of base pairs for each contig adjusted by CheckM completeness and contamination estimates (Extended Data Fig. 10).
Metatranscriptomic data
Pathway expression was assessed for all genomes annotated as encoding a given pathway. Forward-stranded metatranscriptome reads were processed using TranscriptM v0.3.1102, including quality control by KneadData v0.10.0, genomic DNA decontamination, and read-counting to produce TPM per gene per genome. An average of 29.4% of the metatranscriptome reads were mapped to our genomes (Supplementary Table 4). Using the pathway annotations described below, TPM values for genes were converted to a pathway-average count per pathway. First, we accounted for genes comprising multiple subunits of a given enzyme complex, by averaging the TPM across them. Next, TPM was averaged across sequential reactions in a pathway (where the outputs of reaction 1 are used by reaction 2, and so on) and summed across alternative reactions/complexes (for example, if reaction 1 can be performed by two independent sets of genes or reaction 4 can create the same outputs as reaction 2). Collectively, this produced a genome-weighted expression value for each pathway within a genome, which was used to confirm the activity of functions found in the genome.
In order to minimize the known batch effects in RNA sequencing103, sequencing batches were pooled and/or averaged, and there was a decreased emphasis on temporal-focused analysis for the metatranscriptomes. The 2016 metatranscriptomes, sequenced in parallel at JGI and University of Colorado using the same platform, chemistry and flow cells (NovaSeq 6000, v 1.5 chemistry and S4 flow cell), were concatenated (see ‘Sequencing and assembly’). The interpretations and conclusions drawn from the metatranscriptomes are not dependent on a single sequencing batch or year.
Metabolic and functional annotation
We took a conservative, manually curated pathway-centric approach to MAG annotation and functional refinement. DRAM (v. 1.3.2)104 was used to perform the initial annotation of the 13,290 MAGs. Then, a set of rules that we manually curated was used to identify 250 specific C-, N- and S-cycling pathways, P utilization, motility genes, and other genes of interest from the initial annotations. The key databases used in DRAM were: KEGG (release 102.0)105, Pfam (release 35.0)106, dbCAN (release 9)107, and MEROPS peptidase db (release 12.4)108. After running DRAM, we used a custom script (DRAM_product_refined_pipeline v0.0.1)109 to refine the DRAM ‘distillate’ into genome pathway calls according to manual curation rules. In brief, we followed a conservative decision tree for positive functional pathway calls: genomes had to contain ≥60% of the total genes in a pathway, ≥70% of the total reactions in a pathway, and the ‘signature’ gene(s) of a pathway to be positively identified. The 70% cut-off was chosen to require all reactions to be present for pathways with 3 or fewer reactions, and inclusion of signature genes helped distinguish between pathways with high overlap (for example, Wood–Ljungdahl and hydrogenotrophic methanogenesis). In most cases, signature genes are those typically used in the literature to identify a pathway’s presence (for example, acsBCD for Wood–Ljungdahl).
For some homologous genes, further refinement from the KEGG ID was required prior to pathway refinement. These genes included dsrA/rdsrA (K11180); dsrB/rdsrB (K11181); narG/nxrA (K00370); narH/nxrB (K00371); pmoA/amoA (K10944); pmoB/amoB (K10945); pmoC/amoC (K10946); and norZ/norB (K04561). To differentiate between these homologous genes we created custom GraftM v0.14.0110 packages to distinguish between the two variants among our genomes. To construct the package, we followed a similar approach to refs. 15,34. In brief, seed sequences (with experimentally confirmed functions where available) were searched against Uniref90 r2022_01111 using MMseqs2 easy-search v13-45111112. We combined 300 sequences per seed with matching sequences from our MAGs to create hidden Markov models (HMMs) and phylogenetic trees using GraftM create. These trees were inspected in ARB v6.0.6113 to classify the matching sequences from our MAGs and encode their annotation as a specific homologue based on sequences with experimentally confirmed function. Following this functional inspection, new GraftM packages were created which could distinguish between the two variants. We ran these new packages on the MAGs in our database to identify functional differences among the gene variants. Finally, methanogenesis subtype calls (hydrogenotrophic, acetoclastic and methylotrophic) were separately determined using the same methodology as in ref. 81. Although all 13,290 MAGs were annotated and used to develop and verify the pathway annotation scheme, downstream analyses used only the 1,806 representative MAGs and their annotations.
CAZyme annotation
By default, CAZymes in DRAM are considered positive calls if at least one backbone- and one oligo-cleavage gene for the same macromolecule were present. We generated GraftM packages of carbohydrate esterase (CE)4, glycoside hydrolase (GH)18 and GH23 to confirm chitin annotations and found that the CE4 hits were unreliable with a bimodal distribution of e-values. Since many CAZymes can perform multiple functions, we used a custom website scraper script (cazyme_scraper v0.0.1) in R v4.5.3114 to extract CAZyme genes that had been experimentally verified from the CAZyme website (CAZY.org). This script was used to select CAZyme families with >50% of characterized proteins having the same experimentally verified function, which were used as signature genes for the given function, further refining pathway calls for CAZyme functionality, including chitin degradation. Additional genes were excluded from being signature genes due to having <50% of characterized proteins on the CAZy database possessing the stated function: GH63, GH49, GH127, CE2, GH23, polysaccharide lyase 8 (PL8), PL30, PL33, GH88, GH67, GH98 and CE4. To ensure CAZyme degradation annotation was as robust as possible, we included several variations of the degradation pathway in our definitions. For CAZyme processing pathways, genes that were identified as not performing any other functionality were chosen as signature genes.
Carbon specialization annotation
Based on the positive pathway calls of the MAGs (see above), carbon metabolisms were broken down into specialists: methanogen, methanotroph, homoacetogen (Wood–Ljungdahl acetogen pathway), generalists (defined as encoding at least three CAZyme and at least three sugar degradation pathways), fermenters, macromolecule degraders, or monomer degraders. Where genomes met the conditions for multiple groups, the earlier group in the above list took precedence. The groups requiring the most cellular commitment (for example, total number of genes or reaction pathways) are listed first. In practice, only 22 out of the 1,806 (or 1.2%) representative genomes met the conditions for multiple groups (15 for both homoacetogen and generalist, 4 for methanotroph and generalist, and 3 for methanogen and homoacetogen). Organisms that were neither called as methanogen, methanotroph, or homoacetogen specialists, nor had enough CAZyme and sugar degradation pathways to be considered generalists, were broken down into fermenters, macromolecule degraders, or monomer degraders based on the presence of fermentation, CAZyme or sugar degradation pathways, respectively.
Genome enrichment analysis of nitrogen-cycling methanogens
To investigate the enrichment of specific genes, modules, and pathways in the methanogens that contained nitrogen fixation or other nitrogen-linked decomposition pathways (Supplementary Note 7), methanogen genomes were imported into anvi’o v892,115. Genomes were first imported into anvi’o as a contigs database using the anvi-gen-contigs-database command. Annotation of these contig databases was performed with anvi-run-kegg-kofams and anvi-run-ncbi-cogs. Using the resulting annotations, functional enrichment between the two groups of methanogen genomes was computed with the anvi-compute-functional-enrichment-across-genomes command. Combined results across annotation sources can be found in Supplementary Table 5.
Diversity analysis
Alpha-diversity
Strain-level alpha-diversity was calculated as the average alpha-diversity across 13 SingleM marker genes that are found in both Bacteria and Archaea (S3.1-13: ribosomal proteins L2, L3, L14b/L23e, L16/L10E, S2, S5, S7, S12/S23, S15P/S13e, S19, L1, S9 and pheS). For each gene for each sample, alpha-diversity was calculated rarefying to 100 sequences for richness (number of species), Shannon diversity, Pielou evenness, Simpson diversity and inverse Simpson diversity (Extended Data Fig. 3 and Supplementary Table 1).
Beta-diversity
Strain-level beta-diversity was calculated on SingleM OTU sequences using Bray–Curtis dissimilarity between samples. Genome-level beta-diversity was calculated similarly, except using the relative abundances of genomes per sample (calculated from trimmed mean abundance, see above) (Extended Data Fig. 3). Two-dimensional non-metric dimensional scaling ordination plots were generated from the metaMDS function of the R package VEGAN (Dixon 2003). Calculations were performed using VEGAN116. Sample-grouping ellipses on the plots were calculated using multivariate t-distributions (shaded ellipses) and multivariate normal distributions (outlined ellipses).
To evaluate temporal changes in beta-diversity, each sample was compared to a designated reference year leveraging pairwise Bray–Curtis distances. For habitats and depths with adequate sample size (n ≥ 2), the earliest year meeting this criterion was chosen as the reference year. Within each habitat and depth, beta-diversity between samples from the same year as the reference year was calculated to establish a baseline range. Mean and range of beta-diversity between each sample and the reference year was then computed. To visualize temporal shifts in beta-diversity, line plots were created for each habitat and depth combination, depicting the mean beta-diversity against the reference year over time. Ribbons illustrate the range of beta-diversity values for each year, providing a visual representation of the variability in community composition compared to the reference year. We also ran partial Mantel tests within each habitat (controlling for depth) to understand the correlation between the community composition (both Unifrac and Bray–Curtis) and environmental changes, such as temperature.
Correlation analysis
Correlations between MAGs and \({{\boldsymbol{a}}}_{{{\bf{CO}}}_{{\bf{2}}}{\boldsymbol{ \mbox{-} }}{{\bf{CH}}}_{{\bf{4}}}}\)
We identified VIP MAGs found in a WGCNA (see below for methods) module from the bog that was significantly correlated with \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\). If a MAG was predictive of \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\) in the module (had a VIP score greater than 1 within the module; n = 21 MAGs), it was considered a ‘VIP MAG’. We then investigated the relationship between each individual VIP MAG’s Centred log-ratio (CLR)-corrected relative abundances and \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\) using Spearman correlations. False discovery rate was used to correct the P values, and plots of each correlation were manually inspected to ensure that they were not driven by points with high leverage. MAGs were deemed to show significant and strong positive relationships to \({a}_{{\text{CO}}_{2}{\text{-CH}}_{4}}\) if the adjusted P < 0.05 and rho > 0.5 (n = 14 MAGs).
Individual MAG correlations to time
To reduce the number of statistical tests, all dereplicated MAGs were first screened for those that changed over time. To do this, we used DESeq2 v1.36.0117 to identify MAGs with significant differential abundances within each habitat and depth combination across years118. Next, Spearman correlations were run across CLR-corrected relative abundances and years to determine if any of the screened MAGs showed a strong (and significant) positive or negative correlation over time. False discovery rate was used to correct P values, and significance was determined at the 0.05 alpha cut-off.
MAG and pathway correlations to temperature
Ground temperature and depth were correlated in our dataset, so we fitted linear models rather than Spearman correlations to determine if specific MAGs and specific pathways showed a significant relationship to temperature within each habitat. To verify if any of these MAGs showed a relationship to temperature that was stronger than their relationship to depth, we fitted linear models that included ground temperature, depth, and the interaction between the two. For genomes, the response variable was CLR-transformed genome abundance; for pathways, the response variable was CLR-transformed pathway abundance.
To reduce the number of linear models needed, we used WGCNA (see below) to guide our choice of MAGs to test. WGCNA revealed seven modules strongly related to ground temperature (although all seven of these modules were concurrently and more strongly correlated with depth). MAGs were selected for testing with linear models if they came from a WGCNA module that showed more than a 0.5 correlation to ground temperature and if the MAG was predictive of temperature (had a VIP score greater than 1.5 within the module; n = 47 MAGs). To reduce the effects of multicollinearity between temperature and depth, variables were scaled and centred prior to running the models. We also assessed the variance inflation factor (VIF) of each parameter and only continued analysis if the VIF was less than 5 (this occurred in 5 out of 47 MAGs and only in the palsa where the relationship between depth and temperature is the strongest; Extended Data Fig. 2). We assessed the residuals of each model with a Shapiro test119. If the expectations of normality were not met, we log-transformed genome coverage and reran the models, using the log-transformed coverage as the response.
We controlled for the false discovery rate in multiple comparisons tests120 and used an adjusted P value cut-off of 0.05. Of the 47 MAGs correlated to and predictive of ground temperature, 15 organisms showed a weak but significant negative relationship to temperature that was also independent of depth (bog, n = 2; fen, n = 13); however, most of these relationships were strongly driven by a few samples with high leverage. We performed a similar analysis for pathway abundance for 18 pathways of interest separately in each habitat with similarly weak results. The 18 pathways were chosen based on their importance in methane, nutrient, or carbon cycling with known temperature dependence at the site2,5,12,15,29,32,74,121,122. The pathways were: acetoclastic methanogenesis, acetogenesis-simple, Wood–Ljugndahl acetogenesis, hydrogenotrophic methanogenesis, assimilatory methanotrophy, dissimilatory methanotrophy, nitrogen fixation, glycerol degradation, glycerone degradation, ethanol fermentation, lactate fermentation, propionate fermentation via succinate, propionate fermentation via acrylate, butanoate fermentation via acetyl-coA, xylan degradation, chitin degradation, amorphous cellulose degradation and xyloglucan degradation.
Weighted genome correlation analysis
Data standardization
For module identification of co-correlated genome abundances, we utilized the R package WGCNA v1.74123. (Note: in the package, WGCNA is weighted gene correlation network analysis, but in this section and the main text we refer to the G in WGCNA as ‘genome’ because this tool was applied here to genome abundances). To prepare the data for network analysis, we used Hellinger transformation on the transposed abundance table. This analysis leveraged n = 199 samples and then further subset into palsa, bog and fen separately. We then assessed the quality of samples and genes using the goodSamplesGenes function from the WGCNA package, which identifies and removes low-quality samples and genomes based on missing values and zero variance.
Soft-threshold power selection
A critical step in WGCNA is selecting an appropriate soft-thresholding power to achieve a scale-free network topology. We evaluated powers ranging from 1 to 20 using the pickSoftThreshold function, which identifies the power that best approximates a scale-free topology by maximizing the scale-free topology fit index. The optimal soft-thresholding power was determined by evaluating the scale-free topology model fit and mean connectivity for various minimum sample sizes. We selected the power that provided a high scale-free topology fit index (above 0.80) and adequate mean connectivity.
Module detection
We next identified modules of highly correlated MAGs with the blockwiseModules function and the soft-thresholding power determined previously. This function constructs a network and identifies modules using hierarchical clustering and dynamic tree cutting. We specified a signed topological overlap matrix type and used default parameters for module detection, with a merge cut height of 0.01 to combine similar modules. The resulting modules were assigned numeric labels and saved for further analysis. Module eigengenes, representing the first principal component of each module and summarizing the relative abundance profiles of all MAGs in the module, were calculated using the moduleEigengenes function. These eigengenes were then correlated with environmental metadata to identify significant associations between microbial community modules and environmental parameters. Pearson correlation coefficients and corresponding nominal P values and P values adjusted for multiple comparisons120 were calculated, and results were visualized in heatmaps to highlight significant module-trait relationships (Supplementary Table 2).
PLS analysis
We used partial least squares (PLS) analysis to relate the modules to environmental parameters of interest. For the PLS analysis, we focused on specific modules and their associations with particular environmental parameters. The environmental data was filtered to match the MAG abundance table, ensuring all samples had complete data. Missing values in the environmental parameter of interest were handled by removing the corresponding samples. We calculated the correlation between module eigengenes and the selected environmental parameter. Subsequently, PLS was performed to identify key MAGs within each module that were strongly associated with the environmental parameter. The plsr function from the pls package v2.9-0124 was used to validate the model, using leave-one-out cross-validation. VIP scores were computed to rank MAGs based on their contribution to the model. To further validate the findings, linear regression analysis was conducted to assess the relationship between measured and predicted values of the environmental parameter. This involved plotting the observed versus predicted values and calculating the coefficient of determination (R2) and P value for the regression model. These analyses confirmed the strength and significance of the associations identified through PLS.
Assumptions
This analysis assumes that Hellinger transformation yields a more ecologically meaningful data scale by mitigating the distortion from compositional constraints and dominant taxa, thereby making correlation relationships among MAGs more robust125,126,127. By filtering out samples or genomes with excessive zeroes or zero variance, the method presumes that such points contribute noise rather than biological signal. To approximate the true correlation structure among features, WGCNA uses a soft-threshold power that maximizes fit to a scale-free topology, which is a network structure characterized by a small number of highly connected nodes and many weakly connected ones123,128,129. Module detection via hierarchical clustering and dynamic tree cutting presumes coherent clusters of co-correlated genomes whose eigengenes capture their shared variation123,129,130. Finally, in relating module eigengenes to environmental variables through PLS and linear regression, it is assumed that: (1) the eigengene sufficiently summarizes module response; (2) meaningful linear associations exist; and (3) cross-validation and VIP scoring adequately guard against overfitting in a high-dimensional context123,126,129.
MTN analysis
Network generation
To generate co-occurrence networks, fastspar v1.0.0, a C++ implementation of SparCC131,132, was used. The raw coverage tables per MAG per sample, subset by habitat (palsa, bog and fen) and year (2011–2017), were used as input into fastspar, where correlations >0.3 and nominal FastSpar P values < 0.05 were used for further analyses131,133,134,135,136. These co-occurrence networks were imported into R for each habitat type and year using the multinet R package v4.1.2137. Network layers represented individual years, with nodes representing MAGs. Edges between nodes indicated significant positive correlations between MAG abundances (P < 0.05).
Network measurements and visualization
Network dissimilarity between all pairs of years within each habitat was quantified using four metrics implemented in the layer_comparison_ml function of the multinet package137: Rho.degree, which represents Spearman’s rank correlation coefficient of node degrees; Pearson.degree, the Pearson correlation coefficient of node degrees; Dissimilarity.degree, a dissimilarity index based on node degrees; and Jaccard.triangles, the Jaccard similarity coefficient of triangles (three connected nodes). Pairwise comparisons were visualized using boxplots generated with the ggboxplot function from the ggpubr package v0.6.3. Each boxplot represents the distribution of dissimilarity values for a given year compared to all other years. Statistical differences among years were assessed using the non-parametric Kruskal–Wallis test. Additionally, metrics for centrality, namely betweenness and eigenvector centrality were measured through the multinet package. Networks were visualized leveraging a modified version of the muxViz package v3.1138 to allow for plotting with ggplot2 v4.0.3139 and ggraph v2.2.2140 as well as additional modifications to node size and layout. Network layout was determined based on the igraph v2.3.3141 ‘mds’ algorithm, added as an extension to the layout capabilities within the muxViz package.
Temporal network clustering
To cluster the nodes (MAGs) across layers (years), the networks were imported into the infomapecology v1.0.6 R package142, where networks were clustered with the following parameter set: trials = 1000, seed = 497294, multilayer_relax_limit_up = −1, multilayer_relax_limit_down = −1, temporal_network = T, flow_model = “undirected”. Owing to a lack of a direct measurement for interlayer edge weight, we ran the Infomap algorithm to detect modules within the network at varying relax rates, ranging from 0.001 to 1.0. This process involved running the algorithm with 1,000 trials and a specified random seed (497,294). The relax rates were incremented by 0.0999, and the modular structure was captured at each step for each habitat. Nodes were allowed to cluster across nonconsecutive years.
Assumptions
SparCC networks typically operate on data that are compositional, meaning only relative abundances are observed while actual counts remain unknown131,143. The method expects a sparse correlation structure among taxa so only a minority of taxon pairs show strong correlations. It requires enough samples and diversity in taxa so that log-ratio variance estimates become stable. Because it uses log transformations, zeros are problematic: SparCC adds pseudocounts or draws from a Bayesian posterior of fractions to mitigate this, with the implicit assumption that zeros are due to detection limits rather than true absence131. Relationships are inferred via linear behaviour in the log-ratio transformed space, which implies that taxa whose interactions are non-linear, thresholded, or mediated through external variables may be poorly captured. Additionally, the method infers correlation and does not explicitly model confounders131,144,145. Finally, because of the approximations, the inferred covariance matrix is not always guaranteed to be positive definite; choices about taxon filtering, pseudocounts, iteration or thresholding can influence results.
This approach assumes that representing MAGs as nodes within a multilayer network across successive years offers a valid abstraction of temporal dynamics, and that uniform relaxation rates can reasonably approximate interlayer coupling in the absence of empirical interlayer edge weights142,146. The variation of relaxation rates is understood to unveil a meaningful spectrum of modular organization, thereby reflecting underlying community structure. Owing to the uncertainty surrounding the relaxation rates, a range of relaxation rates from 0 to 1 were leveraged to quantify the variation in clustering142,146. Additionally, by enabling modules to cluster across nonconsecutive years, the methodology further presumes that community structure may endure or re-emerge beyond immediate temporal adjacency.
Moreover, to avoid overinterpretation of individual correlations, we focused primarily on higher-order structural properties of the inferred networks rather than on single pairwise associations (Figs. 1 and 3). When individual correlations became of more importance to interpretation, inference was guided by recurrent patterns of connectivity and modular organization that were consistently recovered across multiple years in the multilayer framework (Fig. 4). We further used concordance with independently derived WGCNA modules and subsequent analyses to highlight certain taxa, rather than treating any single correlation as evidence of a direct ecological interaction (Fig. 4).
Ecological assembly analysis
Phylogenetic tree construction
To analyse the assembly processes and understand the extent to which stochastic or deterministic assembly was occurring in the Mire, we used phylogenetic and taxonomic compositional null models36,147,148. First, we constructed two phylogenetic trees of the archaeal and bacterial MAGs using 53 and 120 single-copy marker genes. We used the GTDB toolkit de_novo_wf command to construct the trees using the phyla Patescibacteria and Altiarchaeota as outgroups for Bacteria and Archaea, respectively98. Each tree contained the 1,806 95%-dereplicated MAGs from our in-house database as well as MAGs from the GTDB version 2.0.0 database. Next, to create a single tree for use in constructing our phylogenetic null models, we joined the two trees at the roots, which, given the outgroups chosen above, corresponded to the deep branching point between Archaea and Bacteria proposed in ref. 149. We further reasoned that as the deterministic selection of interest in our ecosystem was of recent origin (years to decades), the joining of two trees at a deep branching point would have little influence on the structure of the phylogeny at the tips.
A key assumption of phylogenetic null modelling is that ecological niches (for example, selection) can be approximated from phylogenetic distances among taxa. In other words, for the specific habitat being studied, ecological similarity in organisms’ habitat is related to phylogenetic similarity of those organisms. To determine the deepest phylogenetic distance for which this might be true, we first used the optima function of the R package analogue v0.18.1 to calculate the niche optima of each MAG for a variety of continuous environmental data. A MAG is considered to show an environmental optimum at the environment in which it most often occurs. Next we calculated the distance matrix between the environmental optima of each MAG and used Mantel correlograms to determine the phylogenetic distance at which environmental optima was significantly correlated with phylogenetic distance. For all factors studied, the correlation held true for short phylogenetic distances, and when all environmental factors were combined into one matrix, the relationship held true as well. We then concluded that phylogenetic null modelling was appropriate to conclude selection patterns at short phylogenetic distances (roughly corresponding to the species-to-genus level).
Beta-diversity null modelling
To characterize the stochastic and deterministic community assembly mechanisms we followed the method outlined by ref. 36. This method seeks to characterize the community change between each pair of samples as derived from either selection, dispersal, or drift following Vellend’s theory of community ecology150, essentially by attempting to reject the null hypothesis that neutral ecological processes formed the community. The extent to which speciation is occurring is considered to be negligible on the time scale of the observations and phylogenetic resolution of the species observations36. In brief, this is accomplished by comparing phylogenetic and taxonomic turnover to a null model built from a weighted reshuffling of either the phylogeny (for deterministic assembly processes) or community taxonomic matrix (for stochastic assembly processes)36. (See ‘Additional assumptions’ for detailed implications of the null model structure).
We first calculated the phylogenetic beta-diversity via beta nearest taxon index (β-NTI). This metric quantifies the extent to which the beta mean nearest taxon distance (β-MNTD) of a real community comparison differs from a null distribution of phylogenetic community distances. We generated the null distribution of β-MNTD from 10,000 randomly shuffled abundance-weighted phylogenetic trees for each pairwise community comparison (R package picante v1.8.2151). The null distribution is normalized such that |β-NTI| > 2 indicates deterministic assembly processes—that is, assembly processes for which species phylogeny can be predictive of assembly state—while |β-NTI| < 2 indicates primarily stochastic assembly processes—that is, assembly processes for which species phylogeny cannot be used to predict assembly state. Among deterministic assembly processes, comparisons for which |β-NTI| > 2 are further categorized as ‘homogeneous selection’ for comparisons more phylogenetically similar than expected by chance (β-NTI < −2) and ‘heterogeneous selection’ for comparisons that are less phylogenetically similar than expected by chance (β-NTI > 2).
After quantification of phylogenetic deviation from the null, we quantified taxonomic deviation from a null distribution to further categorize the stochastic assembly processes. We used the Raup–Crick metric of community distance modified to use Bray–Curtis distance (RCBray–Curtis), as has been done previously36. RCBray–Curtis is calculated by randomly reassembling MAGs in each community 10,000 times, with each random reassembly weighted by the regional occurrence and abundance of each MAG. A null distribution of Bray–Curtis distances was created from these 10,000 reassembled communities. Each observed Bray–Curtis distance is compared to the null distribution and standardized to create an RCBray–Curtis metric that ranges from −1 to 1, with values |RCBray–Curtis| > 0.95 considered significant deviations from the null. Among the stochastic assembly processes, comparisons for which RCBray–Curtis is not significantly different from the null (|RCBray–Curtis| < 0.95) are considered to have assembly processes due only to ecological drift. Those that do significantly differ from the null are further characterized as governed by ‘dispersal limitation and drift’ (more different than expected by the actions of drift alone, RCBray–Curtis > 0.95) and ‘homogenizing dispersal’ (more similar than expected by the actions of drift alone, RCBray–Curtis < −0.95).
In testing our hypotheses about assembly processes over time, we excluded pairwise comparisons between different habitats or depths. This allowed us to control for the known differences in community structure associated with depth and habitat conversion, and instead address the assembly processes within each habitat and depth over time. To understand the relationship between stochastic and deterministic assembly processes and environmental factors over time, we ran Mantel tests (P < 0.05) between the distance matrices of environmental metrics (for example, temperature or pH) and the distance matrices of β-NTI and RCBray–Curtis, for deterministic and stochastic processes, respectively.
Additional assumptions
Ecological stochasticity arises from the probabilistic nature of core biological processes and although it is often associated with inherent uncertainty, there is structure in stochastic processes that depends on the mathematical formulation used152. We note several important assumptions about philosophical interpretations from this method based on the mathematical formulations of stochasticity we use. First for interpreting selection from β-NTI, we assume that organisms’ success within a community (whether arising from species-species interaction, or from their suitability to the abiotic environment) can be approximated from their phylogeny. In other words, the ecological similarity in organisms’ habitats is related to phylogenetic similarity of those organisms (which we determined to be a reasonable assumption, see above). An additional extension of this assumption is that while genes within the genome may be under selection, this method can only detect selection events which act at the level of the genome and will miss selective pressures that occur beneath the phylogenetic resolution of MAGs in our dataset (95% ANI). We expect the resulting false negatives to be limited, both because many important traits relevant to ecology of organisms are conserved at the species level and because new MAGs are unlikely to have emerged due to speciation over the course of our seven-year study153,154. Second, because these communities are located in a small area (<35 m radius) and share a similar landscape history, we use a null model that assumes that all organisms in the regional metacommunity have the chance to end up in a particular sample, proportional to their regional abundance, and that deviations from this pattern arise from differences in dispersal of organisms.
As the interpretation of mechanisms underlying homogenizing versus heterogeneous selection are disputed155 we refrain from attributing β-NTI values to specific selective forces or interactions (for example, abiotic interactions or competition) that may underlie phylogenetic structuring unless additional evidence (for example, from network analyses or metabolic composition) is available to support a particular interpretation.
Quantifying biogeochemical and meteorological change over time
We quantified the change over time of ground temperature, pH, water table depth and sample distance from water table (as a proxy for redox state), over time within habitat and depth by running simple linear models within year as the independent variable and either temperature, pH, water table depth or sample distance from water table as the dependent variable. For each variable, P values were corrected for multiple comparisons and significance thresholds were set to <0.05. Soil temperature significantly increased in all depths of palsa and bog, and in the upper two depths of the fen (Fig. 1a). Of the other variables, only water table depth and sample distance from water table in the 30–39 cm section of bog cores showed any significant relationship with time (Supplementary Fig. 4).
To show how air temperature had changed over the century since 1913, we fit local regression (loess), to mean air temperature both averaged within season, and across the year (Extended Data Fig. 2a,b). To understand whether soil temperature and depth showed an interaction across years (for example, the potential for some years to have steeper soil temperature clines than others), we ran several mixed effects models to understand the effect of year on the relationship between ground temperature and depth, we tested year as both a random slope and a random intercept, as well as running the model without year as a random effect. The best model was determined by Akaike and Bayesian information criterion, (AIC and BIC, respectively) (Extended Data Fig. 2c). We use the terms ‘grand mean’ and ‘grand intercept’ to distinguish the population estimates of slope and intercept for the soil temperature–depth relationship from the group estimates of the slope and intercept (that is, the relationship within each year group).
Quantifying microbiome resistance to change over time
We quantified change and variation in microbial communities over time across different resolutions of analysis (hereafter, granularity). We reasoned that quantifying microbiome resistance across multiple levels of granularity and with different methods should ensure that results are robust to methodological biases. We further classified change over time into two categories: ‘directional’ change over time, where we searched for sequential changes from year-to-year and ‘non-directional’ change over time (fluctuations), where we searched for significant variation among years (results summarized in Fig. 1f and Extended Data Fig. 4a, respectively). Quantitatively, the difference between directional and non-directional change was encoded by using either an unordered categorical variable for time (non-directional) or an ordinal float (directional).
To understand the relationship(s) between time and organism and functional composition and alpha-diversity, we generated sample-by-organism tables from MAGs, highly conserved marker genes, annotated pathways, and unannotated gene clusters. The MAGs represented organisms whose genomes were assembled and dereplicated at 95% ANI. We used SingleM100 to generate highly conserved marker gene summaries of the community at the phylum, genus, and strain level to account for differences in the community that could not be captured by, or occurred at a more granular taxonomic level than, the MAG database. Similarly, we summarized the functional capacity of the community by generating sample-by-function tables for both the highly curated C, N and S pathways and from gene clusters, to ensure that even genes and pathways that were not represented in our curated metabolism analysis were represented in analyses of change over time.
To quantify beta-diversity (compositional) change in organisms and functions over time, we used PERMANOVA tests (directional change) and beta dispersion tests (non-directional change) on the organismal and functional abundance tables. To quantify changes in alpha-diversity metrics (richness, Shannon diversity, Pielou’s evenness) of organisms over time, we used linear models (directional) or ANOVA (non-directional) on the SingleM-based community compositions. All comparisons at the organismal, functional and diversity levels were performed within habitat and depth.
To quantify the relationship between community organization and time, we quantified changes in metrics of network structure and assembly processes over time using the multinet package137. Using the MTNs, we generated pairwise comparisons of network structure for all year-to-year combinations with the chosen metrics representing three different granularities of network structure. The coarsest metric was a comparison of network degree distribution where we calculated the distribution of nodes’ degrees (the number of connections each MAG had) for each year’s network and calculated the dissimilarity index between these distributions for each year-to-year comparison. The medium-granularity metric was a calculation of correlation between node degree across years. For each node (MAG) in the network, degree was calculated for each of the two comparison years. Then we used Spearman correlations between the set of all year-to-year degree comparisons to understand the changes in degree structure of the network from one year to the next. For the finest granularity metric of network structure, we calculated year-to-year overlap of tripartite relationships using Jaccard triangles. Finally, we used the pairwise matrix of βNTI and RCBray–Curtis values as representative of differences in deterministic and stochastic assembly processes, respectively.
To assess whether any of the year-to-year network structure comparisons or assembly processes changed with distance in time, we used Mantel tests to compare the matrix of year-to-year differences in network structure to a matrix of year-to-year distances (for directional change). Assembly metrics comparisons were corrected for depth using partial Mantel tests. Since the MTNs were composed of all taxa across all depths, we did not apply a depth correction for the network metrics. Across all tests listed in this section, P value cut-offs of 0.05 were applied to assess significance, and the variance explained varied based on the test (either R2, or Mantel R for Mantel tests).
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.