Effects of marine heatwaves on the dynamics of marine coastal microbial communities
Efekti morskih toplotnih talasa na dinamiku mikrobnih zajednica obalnog mora
Haro-Moreno JM, Díaz-Arinero E, Aldeguer-Riquelme B, Rubio-Portillo E.
2026 · Environmental microbiome · CC BY-NC-ND
Prevod na srpski je mašinski (Claude) i prikazan je radi čitljivosti; original je merodavan.
Abstract Background Climate change is projected to intensify and prolong marine heatwaves, characterized by abnormally high sea surface temperatures. These events can profoundly alter ecosystem composition and functioning, sometimes triggering mass mortality events. The Mediterranean Sea, due to its semi-enclosed nature, is particularly susceptible to warming, with future climate scenarios predicting a temperature increase of up to 3.8 °C and at least one persistent heatwave annually by 2100. Despite this vulnerability, the effects of marine heatwaves on seawater microbial and viral communities remain poorly understood. Results Using microcosm experiments, we examined microbial and viral dynamics under control conditions (20 °C) and two simulated marine heatwaves (MHWs) (23 °C and 25 °C). By the end of the experiment, microbial assemblages in all three conditions were dominated by metagenome-assembled genomes (MAGs) that were not detected in the initial natural sample, indicating the competitive success of rare biosphere taxa over initially abundant species. Virulence factors and antibiotic resistance genes increased in relative abundance throughout the incubation, but such increase was amplified under warming conditions. Temperature also shaped viral strategies, with heatwaves showing a higher percentage of integrated lysogenic viruses compared to control samples. This trend was consistent with observations from natural samples, where lysogenic viruses peaked during warmer months. Conclusions The shift toward lysogeny observed under elevated temperatures may enhance horizontal gene transfer, accelerating the spread of virulence and antibiotic resistance genes. In fact, we observed an increased abundance of these genes in samples under heat stress. These processes could weaken ecosystem resilience, disrupt microbial-driven biogeochemical cycles, and amplify risks to marine and human health. Our study underscores the need to integrate microbial and viral responses into predictions of ocean functioning in a rapidly warming world. Electronic supplementary material The online version of this article (10.1186/s40793-026-00861-3) contains supplementary material, which is available to authorized users. Keywords: Climate change, Heatwaves, Seawater, Marine microbial community, Vibrio, Bacteriophages
Background Global climate change, primarily driven by anthropogenic activities, has contributed to a gradual increase in ocean temperatures and the occurrence of extreme climatic events, including marine heatwaves (MHWs) [ 1 ]. MHWs are defined as discrete events of abnormally elevated sea surface temperatures that persist for at least five consecutive days and can extend across vast oceanic regions [ 2 ]. These events have been associated with mass mortality events, particularly among macroscopic marine organisms such as corals, fish, and macroalgae [ 3 – 5 ]. However, their impact on microbial communities remains poorly understood, despite the pivotal role of microorganisms in oceanic ecosystems. Seawater harbors approximately one billion bacterial cells per liter, contributing to an estimated total of 10 29 bacterial cells in the global ocean [ 6 ]. These microbial communities not only constitute a substantial proportion of ocean biomass [ 7 ] but also are essential regulators of trophic interactions, biogeochemical processes, and ecosystem resilience [ 8 – 10 ]. Even less is known about the effect of MHWs over marine viral communities, which play crucial roles in microbial mortality, horizontal gene transfer, and nutrient cycling [ 11 – 13 ]. The limited understanding of how these microbial and viral communities respond to thermal anomalies represents a critical gap in our capacity to assess the ecological consequences of MHWs, particularly in warming-sensitive environments such as the Mediterranean Sea. The Mediterranean Sea is particularly vulnerable to global warming due to its semi-enclosed nature, restricted exchange with the Atlantic Ocean, and intense anthropogenic pressures. Climate projections indicate that sea surface temperatures in the region could rise by as much as 3.8 °C under high-emission scenarios by the end of the twenty-first century (IPCC, 2022; [ 14 ]). As a result, MHWs are expected to become more frequent, prolonged, and intense, with at least one persistent event projected to occur annually by 2100 (IPCC, 2022; [ 14 ]). Among Mediterranean habitats, coastal zones are especially vulnerable to thermal stress, as their shallow depths lead to rapid warming in response to atmospheric heat fluxes. The intensification of MHWs is therefore expected to impose increasing stress on the structure and functioning of coastal planktonic communities. Despite this, most studies to date have focused primarily on phytoplankton responses to these events [ 15 ], while the effect on the other microbial groups, particularly heterotrophic prokaryotes and viruses, remains largely underexplored. Much of the current understanding of how climate change affects marine microbial communities comes from research on pathogenic species, especially those that pose risks to human health. Among these, non-cholera Vibrio species have been described as a “microbial barometer of climate change” due to their strong sensitivity to temperature shifts [ 16 ]. Numerous studies have documented the increase in prevalence and geographic expansion of pathogenic species of Vibrio such as Vibrio vulnificus and Vibrio parahaemolyticus , driven by ocean warming [ 17 , 18 ]. However, the ecological relevance of Vibrio spp. extends beyond their impact on human health, as several species are also known pathogens of marine organisms, including fish, bivalves, and corals. As extreme heat events become more frequent and intense, further expansion in the distribution of Vibrio infections is expected, with potentially severe consequences for both public health and the stability of coastal marine ecosystems [ 19 ]. These patterns highlight the necessity to better understand how climate-related disturbances affect the structure and behavior of microbial communities in the ocean. Studying the impact of MHWs and other transient but intense stressors on planktonic microbial communities in situ remains a methodological challenge, because these events are hard to predict and can cover large areas. Consequently, controlled microcosms are widely used to explore microbial responses to specific environmental changes under reproducible and manageable conditions. These mesocosm incubations tend to favor fast-growing, opportunistic bacteria rather than preserving the original community [ 20 , 21 ]. Nevertheless, mesocosms offers a valuable opportunity to investigate the dynamics of fast-growing opportunistic taxa that are typically part of the rare biosphere [ 22 ] and remain undetected in natural samples due to their extremely low relative abundance. Such studies are particularly relevant for investigating climate-driven microbial dynamics in vulnerable regions such as the Mediterranean Sea. In this study, we combine traditional cultures, cell and viral counts along with metagenomics to examine how thermal stress influence planktonic microbial communities in Mediterranean coastal seawater, within the framework of a controlled microcosm experiment. Materials and methods Experimental design and set-up Before the experiment, all aquaria and associated material (tanks, lids and aeration systems) were carefully cleaned and disinfected using 70% ethanol followed by UV irradiation for 30 min. In addition, during the incubation period, aquaria were kept covered, and aeration was provided using air pumps equipped with 0.22 µm filters to minimize the introduction of airborne microorganisms. Seawater was collected at Cape Huertas, Alicante, Spain (38°21′11.8"N, 0°25′12.0"W) in November 2023. Cape Huertas is an oligotrophic marine area recognized for its ecological richness and biodiversity [ 23 ]. Among the marine sites accessible from our laboratory, it was selected due to logistical convenience and the availability of previous seasonal metagenomic data [ 24 ], providing a relevant reference framework for sample comparisons. Upon arrival at the laboratory, seawater was distributed into nine 20 L aquaria equipped with six daylight LED lamps (4.8 W, 9000 K), programmed to follow the natural day-night cycle at a constant light intensity corresponding to that time of year. Three aquaria served as confinement control replicates and were maintained at 20 °C, which was the in situ seawater temperature. Each of the two heatwave simulations also had three replicate aquaria; in these cases, the water temperature was increased by 0.5 °C per day until reaching the target temperatures of 23 °C (HW1) and 25 °C (HW2). This required six and ten days of acclimation, respectively. Once target temperatures were reached, conditions were maintained for an additional 10 days (Fig. 1 ). Fig. 1 Experimental design and sampling timeline for the marine heatwave simulation. Seawater was collected at Huertas Cape (Alicante, Spain) and distributed into nine 20 L aquaria under controlled light and temperature conditions. A baseline sample (named Cell-T0 ) was taken at 20 °C on Day 0 and subsequent sampling times, T1-T6, are shown at the top. Three experimental treatments, with three replicates each, were established: Control (blue), maintained at 20 °C; HW1 (yellow), gradually increased to 23 °C over six days; and HW2 (red), increased to 25 °C over ten days. The temperature increase followed a ramp of 0.5 °C per day until reaching the target temperature, which was then maintained during the exposure phase. For the cell metagenomes, samples were collected at two key time points: (i) after the acclimation period, Day 6 for Control and HW1 ( Cell-T1-20ºC , Cell-T1-23ºC ), and Day 10 for HW2 ( Cell-T2-25ºC ); and (ii) after the treatment exposure period, Day 20 for Control and HW2 (C ell-FT-20ºC , Cell-FT-25ºC ), and Day 16 for HW1 ( Cell-FT-23ºC ). For the viral metagenomes, samples were only collected from the baseline (Virome- T0 ) and at the end of the exposure period (Virome- FT-20ºC , Virome- FT-23ºC , and Virome- FT-25ºC ). Similarly, lysogenic viruses were induced with mytomicin in the initial sample (InducedVirome-T0), and at the end of the exposure (InducedVirome-FT-20ºC, InducedVirome-FT-23ºC, InducedVirome-FT-25ºC). Partially created in BioRender. Rubio-portillo, E. (2026) https://BioRender.com/95ebd06 Samples for metagenomic analysis of the cellular fraction (cell metagenomes) were collected at three time points: (i) at the beginning of the experiment (cellT0), (ii) after the acclimation period, on Day 6 for Control (Cell-T1-20ºC) and HW1 (Cell-T1-23ºC), and on Day 10 for HW2 (Cell-T2-25ºC); and (iii) after the treatment exposure period, on Day 16 for HW1 (Cell-TF-23ºC) and Day 20 for Control (Cell-TF-20ºC) and HW2 (Cell-TF-25ºC). Viral metagenomes (viromes) were obtained only from the baseline (Day 0) and at the end of the exposure period (Days 16 and 20, depending on the treatment) (Fig. 1 ). Microbial abundances Samples for measuring viral and bacterial abundances were collected from each microcosm on Days 0, 6, 10, 13, 16, and 20. One mL subsamples were fixed with glutaraldehyde (0.5% final concentration at 4 °C for 30 min), rapidly frozen in liquid nitrogen, and stored at − 80 °C, following the protocol of Marie et al. [ 25 ]. Cell and viral counts were conducted using a Cytek Aurora spectral flow cytometer (Cytek Biosciences) equipped with a 488 nm laser, after SYBR Gold staining and acquisition at optimal event rates (100–800 events s −1 ). Vibrio abundances and isolation Samples collected on days 0, 6, 10, 13, 16, and 20 were used for the enumeration of Vibrio spp. by plating sample aliquots on thiosulfate citrate bile salts sucrose (TCBS) agar (Pronadisa, Spain). Plates were incubated at 30 °C for 48 h. Distinct colony morphotypes were distinguished based on color, size, and morphology. Representative colonies were re-streaked onto fresh TCBS agar and incubated for an additional 24 h at 30 °C. This process was repeated three times to obtain pure cultures. Isolates were identified via hsp60 gene sequencing, and 16 representative isolates were selected for whole-genome sequencing. Details on the Vibrio isolates used in this study, including their origin, taxonomic identification, and genomic features, are provided in Additional File 1 . Sample processing and DNA extraction Seawater samples collected at the beginning (day 0) and end of the experiment were processed for metagenomic analysis of both the cellular and viral fractions. For the cellular fraction, 10 L of seawater were first passed through a 20 µm mesh and subsequently filtered onto 0.22 µm membrane filters (GTTP, Millipore). Filters were immediately flash-frozen in liquid nitrogen and stored at − 80 °C. Prior to DNA extraction, filters were aseptically cut into ~ 1 mm 2 pieces, and DNA was extracted using the DNeasy Blood & Tissue Kit (QIAGEN, USA), following the manufacturer’s instructions. Additionally, after the acclimation period, seawater samples were collected exclusively for the cellular fraction. For each microcosm unit, 3 L of seawater were filtered through a 20 µm mesh and then onto a 0.22 µm membrane filter (GTTP, Millipore). To isolate the viral fraction, the 0.22 µm filtrate was concentrated using the InnovaPrep® LVC Kit with hollow-fiber ultrafiltration and wet foam elution (Tris-PBS). Eluted volumes (100–200 mL) were further filtered (0.22 µm GV, Millipore) and concentrated with Centricon® Plus-70 devices (30 kDa cutoff), yielding 10 mL. Viral particles were pelleted by ultracentrifugation (185,000 × g, 4 h, 20 °C) and resuspended in 1 mL of sterile seawater. Viral concentrates were treated with DNase I (300 U/mL), and DNA was extracted using the QIAamp MinElute Virus Spin Kit (QIAGEN, USA). DNA yield was quantified by Qubit HS, and bacterial DNA contamination was assessed via 16S rRNA gene PCR (primers 515F/806R, Earth Microbiome Project protocol). A PCR spike ( Vibrio mediterranei Vic-OC-097) was included to monitor PCR inhibition. An additional 5 L samples from each aquarium were processed with mitomycin C (1 mg/mL) to induce lysogenic viruses prior to viral concentration and DNA extraction. Extracted DNA from the viral and cellular fractions was sequenced using Illumina MiSeq 2 × 150 bp technology at the Centre for Genomic Regulation (Barcelona, Spain). Metagenomic analyses Raw sequencing reads were quality-filtered using Trimmomatic [ 26 ] to remove low-quality bases and adapter sequences. The extent of metagenomic coverage in each dataset was estimated with Nonpareil (v3.401) [ 27 , 28 ]. Taxonomic classification of the reads was performed using Kaiju (v1.6.3) [ 29 ], aligning against the NCBI nr database. Subsequently, high-quality reads were assembled into contigs with metaSPAdes (v3.13.0) [ 30 ], and open reading frames (ORFs) were predicted using Prodigal (v2.6.3) [ 31 ]. Protein sequences predicted from contigs were functionally annotated using EggNOG-mapper v2 [ 32 ], utilizing the EggNOG v5.0 orthology database [ 33 ]. Functional assignments were mapped to COG (Clusters of Orthologous Groups) categories to facilitate comparative analyses of metabolic and cellular functions across samples. Annotations were performed using default parameters, and only proteins with significant COG matches were retained for downstream analyses. To identify putative virulence factors, representative protein sequences were queried against the Virulence Factor Database (VFDB, 2025) [ 34 ] using DIAMOND BLASTP [ 35 ]. To minimize false-positive annotations, stringent filtering criteria were applied: E-value < 1e −5 , sequence identity > 40%, and alignment length > 70 amino acids. Contigs larger than 5 kb were selected for metagenomic binning using MaxBin2 (v2.2.4) [ 36 ], MetaBAT2 (v2.12.1) [ 37 ], and Semibin2 (v2.2.0) [ 38 ], using default parameters. Bin completeness and contamination values were calculated using CheckM2 (v1.1.0) [ 39 ], and taxonomic affiliation was assigned using the Genome Taxonomy Database (GTDB) R220 using GTDB-Tk [ 40 , 41 ]. Only bins with a completeness score of at least 50% and less than 5% contamination were kept. Redundancy of the retrieved bins was assessed using dRep (v3.5.0) [ 42 ], clustering bins at 99% nucleotide identity with FastANI algorithm [ 43 ] and keeping the best representative metagenome-assembled genome (MAG) based on their genome completeness, contamination, and the number of binned contigs per MAG, as recommended in [ 44 ]. Details on MAGs characteristics are provided in Additional File 2 . Prediction of their metabolic traits was performed using EggNOG-mapper v2 [ 32 ]. Resulting annotations were converted to KEGG orthologs (KOs) and grouped into metabolic pathways using KEGGaNOG ( https://github.com/iliapopov17/KEGGaNOG ). Relative abundances were estimated by aligning metagenomic reads against MAGs and Vibrio genomes using BLASTn (v2.12.0 +) [ 44 ]. We applied a stringent cut-off of 99% read nucleotide identity over a minimum alignment length of 50 nucleotides, requiring that ≥ 70% of the genome length be covered by reads to consider it as present. Genome relative abundances were normalized as reads recruited per kilobase of genome per gigabase of metagenome (RPKG). In addition, the global distribution and abundance of MAGs carrying a 16S rRNA gene was assessed by mapping 22,472 16S rRNA gene amplicon sequencing datasets, available in SRA database, from sea water samples collected around the world. Briefly, raw reads were downloaded from NCBI using prefetch and fastq-dump (–minReadLen 50 –qual-filter –split-3) from the SRA-toolkit. Then, paired reads were assembled with Flash v1.2.11 [ 45 ]. Extended reads were mapped to the MAG’s 16S rRNA genes with usearch [ 46 ] [-evalue 0.00001 -id 0.9 -userfields query + target + id + alnlen + mism + opens + qlo + qhi + tlo + thi + evalue + bits + ql + tl -strand both], and filtered to retain only reads mapping with identity > 0.95 over > 70% of the query or subject sequence. Relative abundance was estimated as fraction of mapped reads. Putative plasmids were identified from metagenomic assemblies using geNomad (v1.8.1) [ 47 ] and clustered using thresholds of ≥ 95% average nucleotide identity (ANI) and ≥ 80% alignment fraction. To classify the plasmid clusters into conjugative, mobilizable, or non-conjugative categories, we applied the criteria proposed by Tamayo-Leiva et al. [ 48 ]. Briefly: (i) sequences were classified as putative conjugative plasmids if they encoded a relaxase, a type IV coupling protein (T4CP), and a type IV secretion system ATPase (T4SS ATPase; e.g., VirB11, VirB4, TraC, or TrwD); (ii) sequences were classified as mobilizable plasmids if they encoded a relaxase but lacked a complete conjugation system; and (iii) sequences were considered non-conjugative if they encoded components of the conjugation machinery but did not possess a detectable relaxase. Viral fraction Bacterial contamination in virome samples was evaluated by quantifying the proportion of bacterial 16S ribosomal RNA reads and single-copy bacterial marker genes using ViromeQC (v1.0.2) [ 49 ]. Reads were assembled into contigs, and only viral contigs larger than 5 kb were considered for downstream analyses. Additionally, viral contigs (> 5 kb) identified from the cellular metagenomes by VirSorter2 (v2.2.4) (categories 1 and 2; [ 50 ]), and VIBRANT (v1.2.1) (high-quality or complete genomes; [ 51 ]) were also included. Viral genome completeness was assessed with CheckV (v0.6.0) [ 52 ]. Viral sequences were clustered into viral operational taxonomic units (vOTUs) using thresholds of ≥ 95% ANI and ≥ 80% alignment fraction. Representative genomes for each vOTU were functionally annotated with VirClust (v2.0) [ 53 ] using the PHROGS, pVOGs, VOGDB, Efam and Efam-XC databases [ 54 – 57 ] and further complemented with BLASTp v2.12.0 + against the NCBI nr database (only best hits were retained). Virus–host interactions were predicted using IPHoP [ 58 ]. vOTU relative abundances were estimated by read mapping with BBmap (v38.22) [ 59 ], using thresholds of ≥ 95% ANI and ≥ 80% alignment fraction. To compare the ecological state of integrase-carrying vOTUs or temperate phages, we evaluated their relative abundances across the free viral and cellular metagenomic fractions. For each vOTU and condition, we computed the log₁₀-transformed ratio of abundance between the free and cellular fractions. vOTUs were then classified as “free” if the ratio exceeded 1 log₁₀ unit (i.e., > tenfold more abundant in the free fraction), “integrated” if the ratio was below − 1 log₁₀ unit, and “neutral” otherwise. This classification allowed us to assess shifts in the balance between spontaneous viral release and latency under thermal stress. The response of vOTUs to heat stress was assessed based on relative abundance. Specifically, vOTUs were classified into one of three groups based on the fold-change in relative abundance between Virome-FT-25ºC and Virome-FT-20ºC: above 2 (increasing), below 0.5 (decreasing), or otherwise undetermined. Statistical analysis Statistical analyses were performed using R (v.4.5.0) with the packages lme4 , lmerTest , and emmeans . To evaluate the effects of temperature treatment, time, and their interaction on cell, viral and Vibrio abundances, a linear mixed-effects model was fitted using the lmer() function. The model included Treatment , Time , and their interaction as fixed effects, and Replicate as a random effect to account for variability between experimental units. Because the random effect variance was estimated as zero, the model was singular; however, the structure was retained to reflect the experimental design. Type III analysis of variance was performed using Satterthwaite's method to calculate F-values and corresponding p-values for fixed effects. Post-hoc pairwise comparisons were conducted using Tukey's correction for multiple testing, to identify significant differences between treatment groups and time points. For the MetaFast comparison [ 60 ], a subset of twenty million reads was randomly extracted from each sample. Microcosm cellular metagenomes were compared both among themselves and with seasonally sampled metagenomes from the same location [ 24 ]. In contrast, viral metagenomes generated here were only compared with one another, as no corresponding seasonal viral datasets were available. Given the absence of metagenome replicates to determine the statistical significance of the observed differences between samples, we employed a resampling approach [ 61 ]. Pairwise community comparisons were performed as described in Martin-Cuadrado et al. [ 62 ], using a permutation-based Bray–Curtis distance test to estimate p -values under the null hypothesis that both samples originate from the same community. In all cases, the resulting p -values were < 0.001, remaining significant after multiple testing corrections. Results Microbial and viral dynamics throughout the experiment Microbial cells, Vibrio spp., and viral abundances exhibited distinct responses to thermal treatments throughout the incubation experiment, reflecting differential physiological tolerances. Microbial cell abundance increased markedly during the early incubation period (T1–T2) across all treatments, indicating a general response to confinement (linear mixed-effects model, p < 0.001). In contrast, at later time points (T3–T4), significant treatment and time interactions revealed that elevated temperatures sustained higher cell abundances relative to the control, with the strongest effects observed under HW2 conditions (linear mixed-effects model; Control-T3 vs HW2–T3: p = 0.001; Control-T4 vs HW2–T4: p < 0.001; Control-T5 vs HW2-T5: p < 0.001)(Fig. 2 A). Vibrio spp., quantified as colony-forming units (CFU), also showed a pronounced and transient increase during the early incubation period, with a strong peak at T1 across all treatments (linear mixed-effects model, p < 0.001), consistent with a general response to confinement. Significant treatment and time interactions indicated that elevated temperature amplified this early response under HW2 conditions (Control-T1 vs HW2–T1: p < 0.001) and sustained higher Vibrio abundances at later stages of the experiment (Control-T2 vs HW2–T2: p = 0.025; Control-T4 vs HW2–T4: p < 0.001; Control-T5 vs HW2-T5 p = 0.001), when Vibrio was nearly absent in the control and HW1 treatments, indicating a persistent effect of intense warming (Fig. 2 B) . Fig. 2 Prokaryotic and viral abundance dynamics across experimental treatments during the study. Seawater microcosms were exposed to three treatments: Control (blue), maintained at 20 °C; HW1 (yellow), heated to 23 °C; and HW2 (red), heated to 25 °C. Samples were collected at six time points (T0 to T5). A Prokaryotic cell concentrations (cells ml⁻ 1 ) were quantified by flow cytometry. B Colony-forming units (CFUs ml⁻ 1 ) were measured using Vibrio -specific plate counts. C Virus-like particle (VLP) concentrations (VLPs ml⁻. 1 ) were determined by flow cytometry. D Virus-to-bacterium ratios (VBRs) were calculated from flow cytometry data. Data are presented as means ± standard error (n = 3). Statistical significance of temporal and treatment effects was assessed using linear mixed-effects models, with Treatment, Time and their interaction as fixed effects and replicate as a random effect. Exact p-values for all reported effects are provided in the Results section and Additional File 3 Viral abundance also increased during the acclimation period, with significantly higher values from T1 to T4 across all treatments (linear mixed-effects model, p < 0.001), consistent with the increase in microbial cell abundance. No significant differences among treatments were detected at T0, and treatment effects were generally weak over time, with only a transient interaction observed under HW1 at T2 (linear mixed-effects model, p < 0.001) (Fig. 2 C). The virus-to-bacterium ratio (VBR) values increased markedly during the incubation period, with significantly higher values from T1 to T4 across all treatments (linear mixed-effects model, p < 0.001). However, significant treatment and time interactions revealed a pronounced decline in VBR under thermal stress, particularly under HW2 conditions at later time points (Control-T3 vs HW2–T3: p < 0.001; Control-T4 vs HW2–T4: p < 0.001; Control-T5 vs HW2–T5: p < 0.001), despite higher microbial cell abundances, indicating a decoupling between viral and microbial dynamics under intense warming. (Fig. 2 D). Microbial community changes associated with temperature The Nonpareil coverage of the seven cellular metagenomes surpassed the recommended 60% threshold (Table 1 ), ensuring sufficient sequencing depth for robust and unbiased biological interpretations [ 27 , 63 ]. Hierarchical clustering based on Bray–Curtis dissimilarities revealed that the natural seawater sample (Cell-T0), along with those collected immediately following the temperature acclimation phase (Cell-T1-20ºC, Cell-T1-23ºC, and Cell-T2-25ºC), grouped together with a reference natural sample from the same sampling location collected in June (Fig. 3 A). This clustering pattern indicates that the microbial communities remained relatively stable during the short-term acclimation period. Nevertheless, the sample incubated at 25 °C (Cell-T2-25ºC) showed the greatest dissimilarity within the early microcosm samples, suggesting that brief exposure to elevated temperature can lead to detectable shifts in community composition. In contrast, the samples collected at the end of the experiment (Cell-FT-20ºC, Cell-FT-23ºC, and Cell-FT-25ºC) clustered separately from both the initial and acclimated samples (Fig. 3 A). The pronounced divergence between Cell-T1-20ºC and Cell-FT-20ºC supports a confinement-driven restructuring of the microbial community. Therefore, temporal changes during the experiment are mainly driven by the “bottle effect”. Nevertheless, differences between temperature treatments at individual time points can be attributed to temperature effects. Table 1 Summary of metagenomic sequencing and assembly statistics for each cell sample Samples Base pairs (Gbp) Nonpareil coverage Nonpareil diversity Shannon diversity Gini-Simpson diversity %GC Longest Contig (kb) Number of contigs > 1 kb Growth rate(hours) Cell-T0 21.3 71.35 21.71 4.35 0.91 45.12 174.5 217,941 4.33 ± 0.72 Cell-T1-20ºC 12.7 77.2 21.82 4.64 0.95 45.39 213.2 156,507 4.23 ± 0.68 Cell-T1-23ºC 15.8 73.41 21.38 4.43 0.95 47.01 233.8 172,707 2.17 ± 0.46 Cell-T2-25ºC 11.2 73.45 20.94 4.55 0.96 44.81 184.1 103,889 2.93 ± 0.5 CellFT-20ºC 15.3 87.98 19.31 3.89 0.89 40.04 442.8 105,502 1.68 ± 0.4 Cell-FT-23ºC 20.6 91.67 18.88 3.77 0.88 50.56 348.1 134,597 1.77 ± 0.33 CellFT-25ºC 12 86.84 19.03 3.60 0.82 48.69 271.0 67,270 1.44 ± 0.26 Sequencing depth is expressed in gigabase pairs (Gbp), and assembly quality metrics include Nonpareil coverage and diversity, Shannon and Gini–Simpson diversity indices, GC content (%), longest assembled contig (bp), and number of contigs longer than 1 kb. The estimated growth rate is reported in hours. Values represent those obtained from processed and quality-filtered metagenomes. Fig. 3 Changes in microbial community composition and functional potential across experimental conditions. A Hierarchical clustering heatmap showing pairwise dissimilarities among samples based on metagenomic profiles, where color intensity represents distance values. B Estimated genome abundances (genomes/mL) at the genus level across time points Alpha diversity declined under prolonged confinement and thermal stress conditions (Table 1 ). Concomitantly, analysis of the GC content of metagenomic reads indicated a clear increase under heat stress, which was further accentuated with extended confinement time (Table 1 ). In parallel, the estimated microbial growth rates tended to be faster under elevated temperatures and longer confinement, supporting the notion of a shift in community structure (Table 1 ). These patterns suggest a selection for fast-growing opportunistic taxa (r-strategists) characterized by higher GC content [ 64 ]. Estimates of Bray–Curtis dissimilarity obtained using a community resampling approach revealed significant shifts in microbial community composition at the genus level across experimental conditions (Additional File 4 ). The differential abundance approach was employed to identify prokaryotic genera exhibiting significant changes in relative abundance under varying temperature conditions during the acclimation period (Additional File 5 ). Whereas the natural sample and early acclimation time points (Cell-T0, Cell-T1-20ºC, Cell-T1-23ºC and Cell-T2-25ºC) had relatively even genus-level community structure, the samples collected at the end of the experiment were dominated by a few fast-growing taxa, particularly Hirschia , Hyphomonas , and Alteromonas (Fig. 3 B). Effect of confinement and MHW conditions on MAGs Following metagenomic binning of all samples, a total of 71 MAGs were successfully reconstructed, each exhibiting completeness and contamination values of ≥ 50% and ≤ 5%, respectively (Additional File 2 ). Phylogenomic classification, conducted using the GTDB-tk, revealed that most MAGs belonged to the class Alphaproteobacteria (30), followed by Gammaproteobacteria (17), and phyla Bacteroidota and Cyanobacteriota (14 and 5, respectively), among other less abundant taxa. Notably, 43 MAGs lacked a species level representative (defined as ≥ 95% ANI) within the GTDB, underscoring their taxonomic novelty (Additional File 2 ). Metagenomic recruitment analysis, performed using MHW and natural marine samples collected from Cape Huertas, delineated the recovered genomes into two distinct groups based on abundances (Fig. 4 ). The first group, comprising 29 MAGs, exhibited high recruitment values at the initial time point (T0). Their abundances subsequently decreased during the acclimation phase of the experiment, ultimately becoming undetectable in later stages. This group included members of Prochlorococcus high-light (HW-MAG18) and low-light (HW-MAG17) ecotypes, Synechococcus subclusters 5.1 (HW-MAG20 and HW-MAG21) and 5.3 (HW-MAG19) (Additional File 6 ), and several Flavobacteriales , Puniceispirillales (also known as SAR116 clade) and Luminiphilus (OM60/NOR5). These taxa are well-known inhabitants of epipelagic natural marine environments, consistent with their detection in Cape Huertas metagenomes (Fig. 4 ) and offshore Mediterranean Sea waters [ 65 ]. Fig. 4 Metagenomic recruitment (≥ 99% identity) of MAGs recovered in this work. Values are expressed as reads per kilobase of genome per gigabase of metagenome (RPKGs). Genomes are sorted by taxonomy and colored according to their behaviour: Green MAGs grew during the heatwave (HW) event, whereas red MAGs decreased after the acclimation period. Samples from Cape Huertas (a natural marine habitat) collected at different months were used as control Conversely, the second group, consisting of 42 MAGs, generally showed low or undetectable recruitment at T0. However, their recruitment values significantly increased throughout the experimental period, with some reaching high abundances exceeding 200 RPKGs. Most of these MAGs were putatively classified as copiotrophic bacteria, a classification supported by their comparatively large genome sizes (Additional File 2 ), which often correlate with strategies for rapid growth and resource utilization in fast-changing environments (e.g. phytoplankton blooms) [ 66 ]. Although initially present at low abundances, several MAGs, such as HW-MAG12 and HW-MAG16, are in fact abundant and cosmopolitan, reaching relative abundances above 0.1% in seawater samples collected from 31 and 6 different countries, respectively, based on 16S rRNA gene analyses (Additional File 7 ). Virulence and antibiotic resistance genes A total of 108,420 proteins were identified as virulence factors using the Virulence Factor Database and subsequently grouped into 6,986 clusters based on a threshold of 40% amino acid identity. Bray–Curtis dissimilarity analyses of predicted virulence factor (VF) profiles revealed significant changes in the functional potential of the microbial community over the course of the experiment (Additional File 8 ). The comparison between the initial sample (Cell-T0) and the 6-day control at 20 °C (Cell-T1-20ºC) indicated a measurable shift, suggesting that confinement alone was sufficient to alter the representation of virulence-associated traits. Temperature exerted a pronounced influence, with communities incubated at elevated temperatures (23 °C and 25 °C) exhibiting greater divergence from the control (Cell-T1-20ºC). At 20 °C and 23 °C, VF profiles remained relatively stable over time, as no significant differences were detected between early and final samples. In contrast, the community incubated at 25 °C showed a sustained increase in dissimilarity, with clear differences between the post-heatwave community and that observed after the initial acclimation period (Cell-T2-25ºC vs. Cell-FT-25ºC), indicating ongoing functional turnover. The highest Bray–Curtis values were observed between final time points across temperatures, particularly between 20 °C or 23 °C and 25 °C (Cell-FT-20ºC vs Cell-FT-25ºC or Cell-FT-23ºC vs Cell-FT-25ºC), highlighting cumulative and temperature-dependent shifts in virulence potential (Additional File 8 ). Notably, the virulence factors that increased under thermal stress conditions were primarily associated with adherence, biofilm formation, exotoxin production, immune modulation, and stress survival (Fig. 5 A), suggesting the selective enrichment of traits that may confer adaptive advantages under heat-induced environmental pressures. Fig. 5 Changes in virulence factors and antibiotic resistance genes across experimental conditions. A Proportion of proteins identified as virulence factors, categorized by functional role, across samples. B Proportion of antibiotic resistance genes across all samples We also investigated the presence of putative plasmids within our metagenomic datasets using the tool geNomad. From a total of 72,908 contigs longer than 5 kb, 3,682 (5.05%) were identified as putative plasmids with a confidence score above 0.7. To reduce redundancy and facilitate comparative analyses, these sequences were clustered into 2,396 representative plasmid sequences, hereafter referred to as the plasmidome, with a median length of 16.5 kb. Antibiotic resistance genes (ARGs) were detected within the plasmidome, and their relative abundance and diversity increased significantly throughout the incubation likely due to the confinement effects. However, such increase was more pronounced in the 25 ºC treatment, suggesting that temperature intensified the selection of ARGs-encoding taxa (Fig. 5 B). In the natural sample (Cell-T0), ARGs conferring resistance to only three antibiotic classes (beta-lactams, aminoglycosides, and tetracyclines) were identified. In contrast, during the incubation period, ARGs associated with a broader range of antibiotic classes emerged, including resistance to at least nine additional antibiotic classes not detected in the natural sample (Fig. 5 B). Effect of MHW conditions on Vibrio species and strains Due to the consistently low abundance of Vibrio spp. (0.06–0.22%) in our metagenomic dataset, reconstruction of MAGs was not feasible, and we opted to follow a culture-based approach. As a result, we obtained 16 Vibrio isolates recovered across various treatments and time points (see Materials and Methods). ANI-based comparisons revealed that these isolates corresponded to at least nine distinct Vibrio species (Additional File 1 ). Most genomes clustered with well-characterized marine taxa, including Vibrio owensii and Vibrio coralliilyticus . Several isolates retrieved from the same treatment across different time points exhibited identical or nearly identical ANI values (> 99.88%), indicating clonal persistence within a highly cohesive genomic lineage. In contrast, isolates of the same species obtained from different thermal regimes consistently showed lower pairwise ANI values (96–97%), while still exceeding the species demarcation threshold (95%) (Additional File 9 ). Furthermore, ANIr values for all strains of these two species increased under elevated temperature conditions, indicating a reduction in intraspecific genomic diversity. These patterns suggest the selection of distinct strain lineages adapted to the temperature conditions. Read recruitment analysis further illustrated dynamic changes in the abundances of these isolates throughout the experiment. Following the acclimation period, a marked increase in RPKG values was observed, especially under the heatwave treatments (Cell-FT-23ºC and Cell-FT-25ºC), indicating that elevated temperatures may have promoted the proliferation or activation of specific Vibrio strains (Additional File 10 ). This peak in RPKG was followed by a gradual decline, although several strains remained detectable in the experiment’s final stages. These observations suggest a transient bloom of thermally responsive strains, followed by stabilization likely driven by ecological interactions or resource constraints. Supporting this, their abundances in natural seawater from Cape Huertas increased notably from May to November, coinciding with seasonal temperature rises and reinforcing the idea that warmer conditions favor the proliferation or persistence of certain Vibrio taxa. Effect of temperature and confinement on viral community composition A total of eight viromes were generated, consisting of four representing the free viral community (“Virome” samples) and another four representing the induced viral community (“InducedVirome” samples) for the initial (T0) and three final time points (T5 for Control and HW2 and T4 for HW1). Quality control assessments revealed minimal bacterial contamination (Table 2 ). Additionally, Nonpareil analysis demonstrated that metagenome coverage values surpassed the recommended 60% threshold. Hierarchical clustering based on Bray–Curtis dissimilarities (Fig. 6 A) showed that the natural seawater sample clustered closely with the control treatment samples. In contrast, viromes from heat-stressed samples formed a distinct cluster, with the free and induced viral fractions grouping separately. These results suggest that temperature was the primary driver of changes in viral community composition. Table 2 Summary of sequencing, taxonomic, and assembly characteristics across metagenomic viral samples. Samples Base pairs (Gbp) % Bacterial markers Score Nonpareil coverage Nonpareil diversity Shannon diversity Gini-Simpson diversity %GC Longest contig Number of contigs > 5 kb Virome-T0 6.8 0.0041 100 85 17.9 6.54 0.99 41.78 115.7 3911 InducedVirome-T0 5.2 0.0062 77.4 81.29 19.1 7.28 0.99 42.17 83.6 3523 Virome-FT-20ºC 5.2 0.0085 56.05 85.99 18.08 6.54 0.99 41.25 89.2 1691 InducedVirome-FT-20ºC 6.2 0.0203 23.8 94.56 15.23 4.86 0.95 47.63 146.1 1216 Virome-FT-23ºC 5.2 0.0054 100 83.49 17.46 5.66 0.98 45.92 87.8 1142 InducedVirome-FT-23ºC 5.3 0.0183 26.3 83.82 17.67 6.06 0.98 48.42 87.8 1627 Virome-FT-25ºC 4 0.0093 51.67 85.94 16.56 5.58 0.98 43.64 190.1 780 InducedVirome-FT-25ºC 5.4 0.0129 37.3 88.84 16.4 5.71 0.98 46.60 185.0 1739 This table includes the total number of sequenced base pairs (in gigabase pairs), the percentage of reads assigned to bacterial marker genes, and the corresponding quality score. Assembly quality and community complexity are represented by Nonpareil coverage and diversity estimates, as well as Shannon and Gini–Simpson diversity indices. Genomic composition is indicated by GC content (%), while assembly continuity is described by the length of the longest contig and the number of contigs greater than 5 kilobases Fig. 6 Viral dynamics across experimental conditions and environmental metagenomes. A Hierarchical clustering heatmap showing pairwise dissimilarities among samples based on metagenomic profiles, where color intensity represents distance values. B Violin plots displaying the log₁₀-transformed abundance ratios of vOTUs between treatments: "Free / Cell metagenome" (light blue) and "MitC / Free" (dark blue). C Proportional distribution of temperate vOTUs categorized by their state (Neutral, Free, or Integrated) across the experimental conditions. D Seasonal variation in lysogenic vOTUs abundance (log₁₀-transformed RPKG) in natural seawater metagenomes from Cape Huertas A total of 7,866 vOTUs were identified across all virome samples. An additional 1,295 vOTUs detected in cellular metagenomes were incorporated, resulting in a final dataset comprising 9,161 vOTUs. Of these, 530 were classified as temperate phages based on the presence of integrase genes. Host prediction using iPHoP assigned putative bacterial hosts to 1,525 vOTUs—126 of which were temperate—spanning 22 distinct bacterial phyla, mostly Pseudomonadota (55%) and Bacteroidota (19%) (Additional File 11 ). These findings indicate that most vOTUs identified in the experiment infect ecologically significant members of the marine microbiome. In the natural seawater sample at T0 (Virome-T0), 1,144 abundant vOTUs (defined as > 10 RPKGs) were detected. These viruses were primarily associated with Pseudomonadota (92 vOTUs, 5.3% relative abundance) and Bacteroidota (63 vOTUs, 3.2%), followed by Actinomycetota (9 vOTUs, 1.0%) and Cyanobacteriota (17 vOTUs, 0.9%). This composition indicates that Pseudomonadota and Bacteroidota are central viral hosts in the baseline marine virome. Under experimental conditions, however, clear shifts were observed. The number of abundant vOTUs increased in the control treatment by the end of the experiment (Virome-FT-20ºC) to 1,289, suggesting a widespread lytic infection under confinement conditions. In contrast, vOTU richness dropped under heatwave scenarios, with only 743 and 640 abundant vOTUs detected at 23 °C and 25 °C, respectively. Despite this decline in diversity, the relative abundance of Pseudomonadota -infecting phages increased with temperature. At 20 °C, 123 such vOTUs were detected (11.7% relative abundance), mainly infecting Vibrio and Pelagibacter . At 23 °C and 25 °C, 79 vOTUs (12.9%) and 70 vOTUs (13.8%) were detected, with predicted hosts predominantly from Vibrio and Sediminibacterium . These findings indicate that rising temperatures drive a reduction in host and viral diversity but promote the expansion of a limited set of dominant viral taxa. Temperate phage shifts under MHW conditions As compositional differences were found between free and induced viral communities in heat stress samples, and as explained above, the total viral abundance and the VBR were significantly lower at the end of the experiment, particularly under heat-stress conditions, such patterns could indicate a shift toward lysogeny during heat stress (Fig. 1 D). To further test this hypothesis, we compared the abundance of temperate vOTUs in both the free and induced fractions across all treatments, as well as in the cell metagenomes over time. Log-ratio comparisons of temperate phage abundances across viral fractions revealed notable differences in data dispersion under varying thermal conditions. The Induced/Free (L/V) ratio showed the highest variability at 20 °C, with an interquartile range (IQR) of 1.19, whereas dispersion was substantially lower under heat stress conditions, even lower than under natural conditions. In the Free/Cellular (V/Cell) comparison, dispersion similarly decreased at elevated temperatures, with IQRs of 0.75 and 0.78 at 23 °C and 25 °C, respectively, compared to 1.29 at T0 (Fig. 6 B). Supporting this interpretation, the classification of temperate vOTUs revealed a significantly higher proportion of integrated vOTUs at 23 °C and 25 °C compared to T0 and control treatment (Fig. 6 C; χ 2 = 51.83, df = 6, p < 0.001). Thus, our results suggest that thermal stress promotes the maintenance of lysogeny over active viral replication in temperate phages. This trend was also examined using metagenomes obtained seasonally from Cape Huertas, and a significant temporal pattern was observed in lysogen abundance across months ( Kruskal–Wallis , p < 0.001, Fig. 6 D). The highest abundance was recorded in June, followed by May, whereas November, December, and January showed the lowest values. Intermediate months such as March and April exhibited moderate levels of lysogen abundance. These results indicate a seasonal pattern in lysogen prevalence in natural conditions. Auxiliary metabolic genes in viruses Auxiliary metabolic genes (AMGs) were detected in 1,056 vOTUs, representing 11.3% of the total viral dataset. We found 2OG-Fe(II) oxygenase, ferredoxin and phosphoadenosine 5’ phosphosulfate (PAPS) reductase among the most frequent AMGs, being present in 3.3%, 1.5% and 0.9% of all vOTUs, respectively (Additional File 12 ). 2OG-Fe(II) oxygenase is frequently found in cyanophages [ 67 ] despite their function having not yet been elucidated. Similarly, ferredoxin, a protein that mediates electron transfer reactions (e.g., during photosynthesis) has also been associated with cyanophages [ 68 ]. PAPS reductase is involved in sulfur metabolism and it could be used by bacteriophages to enhance the metabolism of sulfur-containing amino acids, such as methionine and cysteine [ 69 ]. In addition to these prevalent AMGs, genes associated with queuosine metabolism, ribosomal and membrane proteins were detected, underscoring the diversity of AMGs in sea water (Additional File 12 ). To further explore the potential ecological role of AMGs under heatwave conditions, we assessed the dynamics of vOTUs encoding AMGs during our experiment. Three dynamics were observed: i) vOTUs that increase in relative abundance with temperature treatment, ii) vOTUs that decrease in relative abundance, and iii) vOTUs with an undetermined behaviour. The group of vOTUs showing a decrease with temperature was the largest with 532 vOTUs, followed by 427 vOTUs with an undetermined behaviour and finally 97 vOTUs that increase; these numbers align with the general decrease in alpha diversity with increasing temperature (Table 2 ). vOTUs encoding AMGs associated with queuosine biosynthesis and restriction alleviation showed the highest positive fold-change in relative abundance between the control (V20) and the 25ºC heatwave scenario (V25) (Additional File 13 ). However, among the AMGs encoded by vOTUs that responded positively to higher temperatures, only Lar-like restriction alleviation protein showed a statistically significant enrichment compared to a null model ( p -value 0.0308; 10,000 permutations). Therefore, while these results suggest that specific AMG functions, such as restriction alleviation proteins, could influence the response of bacteriophages under heat stress, the evidence is currently insufficient to draw definitive conclusions. Discussion This study investigated the effects of a simulated marine heatwave on planktonic microbial communities from coastal Mediterranean seawater, with a particular emphasis on prokaryotic responses and virus–host dynamics. Although thermal stress was the principal experimental variable, confinement also influenced prokaryotic community composition. During the acclimation period, taxonomic profiles remained relatively stable, showing pronounced shifts at the end of the experiment in all treatments, suggesting that incubation time affected community structure. This pattern reflects the well-documented “bottle effect” produced because artificial enclosure and prolonged incubation favor the rapid proliferation of copiotrophic and opportunistic taxa [ 20 , 21 , 70 ]. These taxa are often components of the "rare biosphere" in marine natural samples but can rapidly increase in response to altered environmental conditions. In our experiment, members of the rare biosphere that responded to the confinement effect included the genus Alteromonas , which exhibited rapid proliferation during the acclimation period. This genus is characterized by large genomes and broad metabolic versatility that allow it to use diverse organic substrates and are frequently enriched under confinement in microcosm studies [ 21 , 71 ]. Similarly, the genera Hirschia and Hyphomonas also increased in abundance, but their proliferation occurred toward the end of the experiment. These genera belong to the family Hyphomonadaceae, which is widely distributed in the marine environment (seawater, sediments, or marine algae) and play important roles in the degradation of high molecular weight organic matter in ocean ecosystems [ 72 , 73 ]. Among the rare biosphere taxa that showed changes under experimental conditions, we have identified 43 MAGs that were taxonomically novel. This finding suggests that microcosm experiments may provide a valuable framework for discovering cryptic microbial species and their changes under different environmental conditions. The emergence of taxa belonging to the “rare biosphere” in our experiment, likely driven by bottle effects, may not fully reflect responses occurring in the natural environment, thereby limiting the extrapolation of our conclusions to in situ conditions. Nevertheless, even under these constraints, we identified heat-stress responses that may be ecologically meaningful. In fact, although many MAGs that responded positively to heat stress were not detected in the initial natural sample, they were identified in seawater samples from diverse global locations, often reaching relative abundances above 0.1%. This fact suggests these MAGs could be ecologically relevant on a global scale. Therefore, the positive response to heat stress observed in our microcosm experiment may reflect a broader, ecologically significant pattern. The ecological success of these rare taxa under stress conditions raises important questions about the functional traits that may confer competitive advantages in fluctuating environments. In this regard, our results suggested an increase in virulence factors and antibiotic resistance genes under confinement conditions, being more pronounced in the heatwave treatments, particularly at 25ºC, suggesting that thermal stress may amplify the prevalence of pathogenicity-related genes. These shifts highlight a potential ecological risk, as climate-induced stress could promote the spread of opportunistic pathogens. Viruses play a pivotal role in microbial dynamics and ecosystem processes. These organisms, which are both abundant and highly diverse, play key roles in marine biogeochemical cycles, microbial death rates, and the transfer of genetic material between organisms [ 11 ]. Despite their ecological relevance, the impact of marine heatwaves on the viral community remains poorly characterized. During the acclimation period, the concurrent increase of virus-like-particles and bacterial cells was accompanied by a rise in the virus-to-bacteria ratio (VBR). This pattern is related to an intense viral production, likely driven by lytic infection cycles. When bacterial density rises, phage-host encounters are more likely, which can result in more lysis events. This dynamic may possibly fit with the “Kill-the-Winner” model [ 74 ], where dominant bacterial populations are controlled by viral lysis, thereby maintaining microbial diversity. However, this pattern shifted as the experiment progressed. By the end of the experiment, viral community composition remained relatively stable in the control treatment, which clustered closely with the natural samples. This suggests that the viral community remain relatively insensitive to confinement conditions. However, by the end of the experiment both heatwave conditions displayed clear shifts in viral composition compared to the 20ºC control, implying that elevated temperature had a strong effect on viral communities. Even though bacterial counts were higher in the heatwave treatments, the VBR dropped, suggesting a possible decline in lytic activity. This finding fits with the “Piggyback-the-Winner” model [ 75 ], which proposes that when environmental stress increases and hosts are abundant, viruses may favor lysogenic strategies instead of lytic ones. Supporting this interpretation, more lysogenic phages were found in cellular metagenomes from warmer treatments, and we detected more signs of prophage integration in heatwave treatments. Additionally, the temporal dynamics of the lysogenic phages identified in the present study indicated higher relative abundance in natural samples from the Mediterranean Sea during warmer months. All these findings suggest that thermal stress in coastal marine ecosystems may promote lysogenic infections, potentially altering virus–host dynamics. Conclusions Integrating microcosm studies with environmental data is essential for advancing our understanding of microbial ecological dynamics and assessing the risks associated with the expansion of certain taxa under climate change scenarios. In this context, our findings provide new insights into the effects of marine heatwaves on coastal microbial communities, showing that warming can alter community composition by favoring better-adapted taxa. Accordingly, viral communities were also sensitive to heat stress. The observed patterns, including changes in virus-to-bacterium ratios and a rise in lysogenic phage detection at higher temperatures, indicate a shift from lytic to temperate infections. These findings suggest that marine heatwaves may not only alter microbial community structure but also reshape virus–host interactions, with considerable consequences for biogeochemical cycling and the long-term stability of coastal marine ecosystems in a warming climate. Electronic supplementary material Below is the link to the electronic supplementary material. Supplementary file 1 (DOCX 18 kb) Supplementary file 2 (xlsx 29 kb) Supplementary file 3 (xlsx 16 kb) Supplementary file 4 (DOCX 17 kb) Supplementary file 5 (xlsx 13 kb) Supplementary file 6 (xlsx 13 kb) Supplementary file 7 (pptx 471 kb) Supplementary file 8 (xlsx 11 kb) Supplementary file 9 (docx 16 kb) Supplementary file 10 (docx 16 kb) Supplementary file 11 (docx 152 kb) Supplementary file 12 (pdf 317 kb) Supplementary file 13 (pdf 542 kb) Supplementary file 13 (xlsx 95 kb) Acknowledgements Special thanks to Heather Maughan for the professional English editing and critical reading of the manuscript. Author contributions E.R-P conceived the study and developed the experimental design, including the aquaria experiment. E.D.A carried out *Vibrio* isolation and DNA extractions. J.H-M, B.A-R and E.R-P performed the sequence analyses. E.R-P and B.A-R took the lead in writing the manuscript. All authors provided critical feedback and contributed to shaping the research, analyses, and manuscript. E.R-P supervised the project. Funding This study has been funded by Generalitat Valenciana under the program for emerging research groups (reference CIGE/2022/21). Data availability The datasets supporting the conclusions of this article are available in NCBI SRA database, under accession number PRJNA1313860 ( https://www.ncbi.nlm.nih.gov/bioproject/PRJNA1313860 ). Declarations Ethics approval and consent to participate Not applicable. Consent for publication Not applicable. Competing interests The authors declare no competing interests. Footnotes Publisher's Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References 1. Frölicher TL, Fischer EM, Gruber N. Marine heatwaves under global warming. Nature. 2018;560:360–4. 10.1038/s41586-018-0383-9. 2. Hobday AJ, Alexander LV, Perkins SE, Smale DA, Straub SC, Oliver ECJ, et al. A hierarchical approach to defining marine heatwaves. Prog Oceanogr. 2016;141:227–38. 10.1016/j.pocean.2015.12.014. 3. Smith KE, Burrows MT, Hobday AJ, Sen Gupta A, Moore PJ, Thomsen M, et al. Socioeconomic impacts of marine heatwaves: global issues and opportunities. Science. 2021. 10.1126/science.abj3593. 4. Garrabou J, Gómez‐Gras D, Medrano A, Cerrano C, Ponti M, Schlegel R, et al. Marine heatwaves drive recurrent mass mortalities in the Mediterranean Sea. Glob Chang Biol. 2022;28:5708–25. 10.1111/gcb.16301. 5. Smith KE, Aubin M, Burrows MT, Filbee-Dexter K, Hobday AJ, Holbrook NJ, et al. Global impacts of marine heatwaves on coastal foundation species. Nat Commun. 2024;15:5052.10.1038/s41467-024-49307-9. 6. Whitman WB, Coleman DC, Wiebe WJ. Prokaryotes: the unseen majority. Proc Natl Acad Sci U S A. 1998;95:6578–83. 10.1073/PNAS.95.12.6578. 7. Pomeroy LR, IeB. Williams PJ, Azam F, Hobbie JE, Oceanography Society. The microbial loop. Oceanography. 2007;20:28–33. 8. Glibert PM, Mitra A. From webs, loops, shunts, and pumps to microbial multitasking: evolving concepts of marine microbial ecology, the mixoplankton paradigm, and implications for a future ocean. Limnol Oceanogr. 2022;67:585–97. 10.1002/lno.12018. 9. Guidi L, Chaffron S, Bittner L, Eveillard D, Larhlimi A, Roux S, et al. Plankton networks driving carbon export in the oligotrophic ocean. Nature. 2016;532:465–70. 10.1038/nature16942. 10. Azam F, Malfatti F. Microbial structuring of marine ecosystems. Nat Rev Microbiol. 2007;5:782–91. 10.1038/nrmicro1747. 11. Breitbart M, Bonnain C, Malki K, Sawaya NA. Phage puppet masters of the marine microbial realm. Nat Microbiol. 2018;3:754–66. 10.1038/s41564-018-0166-y. 12. Roux S, Brum JR, Dutilh BE, Sunagawa S, Duhaime MB, Loy A, et al. Ecogenomics and potential biogeochemical impacts of globally abundant ocean viruses. Nature. 2016;537:689–93. 10.1038/nature19366. 13. Suttle Ca. Marine viruses--major players in the global ecosystem. Nat Rev Microbiol. 2007;5:801–12. 10.1038/nrmicro1750. 14. Cooley S, Schoeman D, Bopp L, Boyd P, Donner S, Ghebrehiwet DY, et al. Oceans and coastal ecosystems and their services. In: Pörtner H-O, Roberts DC, Tignor M, Poloczanska ES, Mintenbeck K, Alegría A, et al., editors. Climate change 2022—impacts, adaptation and vulnerability contribution of working group II to the sixth assessment report of the intergovernmental panel on climate change. Cambridge: Cambridge University Press; 2022. p. 379–550. 10.1017/9781009325844.005 15. Soulié T, Vidussi F, Mas S, Mostajir B. Functional and structural responses of plankton communities toward consecutive experimental heatwaves in Mediterranean coastal waters. Sci Rep. 2023;13:8050. 10.1038/s41598-023-35311-4. 16. Baker-Austin C, Trinanes J, Gonzalez-Escalona N, Martinez-Urtaza J. Non-cholera Vibrios: the microbial barometer of climate change. Trends Microbiol. 2017;25:76–84. 10.1016/j.tim.2016.09.008. 17. Trinanes J, Martinez-Urtaza J. Future scenarios of risk of Vibrio infections in a warming planet: a global mapping study. Lancet Planet Health. 2021;5:e426–35. 10.1016/S2542-5196(21)00169-8. 18. Vezzulli L, Grande C, Reid PC, Hélaouët P, Edwards M, Höfle MG, et al. Climate influence on Vibrio and associated human diseases during the past half-century in the coastal North Atlantic. Proce Natl Acad Sci. 2016. 10.1073/pnas.1609157113. 19. Sampaio A, Silva V, Poeta P, Aonofriesei F. Vibrio spp.: life strategies, ecology, and risks in a changing environment. Diversity. 2022;14:97. 10.3390/d14020097. 20. Massana R, Pedrόs-Aliό C, Casamayor EO, Gasol JM. Changes in marine bacterioplankton phylogenetic composition during incubations designed to measure biogeochemically significant parameters. Limnol Oceanogr. 2001;46:1181–8. 10.4319/lo.2001.46.5.1181. 21. Haro-Moreno JM, Rodriguez-Valera F, López-Pérez M. Prokaryotic population dynamics and viral predation in a marine succession experiment using metagenomics. Front Microbiol. 2019. 10.3389/fmicb.2019.02926. 22. Sogin ML, Morrison HG, Huber JA, Welch DM, Huse SM, Neal PR, et al. Microbial diversity in the deep sea and the underexplored “rare biosphere.” Proc Natl Acad Sci USA. 2006;103:12115–20. 10.1073/pnas.0605127103. 23. Coll M, Piroddi C, Steenbeek J, Kaschner K, Ben Rais Lasram F, Aguzzi J, et al. The biodiversity of the Mediterranean Sea: estimates, patterns, and threats. PLoS ONE. 2010;5:e11842. 10.1371/journal.pone.0011842. 24. Nekrouf NA, Maestre‐Carballa L, Lluesma‐Gomez M, Martinez‐Hernandez F, Martinez‐Garcia M. Annual dynamics and metagenomics of marine vesicles: one more layer of complexity in the dissolved organic fraction. Limnol Oceanogr. 2025;70:1315–28. 10.1002/lno.70031. 25. Marie D, Brussaard CPD, Thyrhaug R, Bratbak G, Vaulot D. Enumeration of marine viruses in culture and natural samples by flow cytometry. Appl Environ Microbiol. 1999;65:45–52. 10.1128/AEM.65.1.45-52.1999. 26. Bolger AM, Lohse M, Usadel B. Trimmomatic: a flexible trimmer for Illumina sequence data. Bioinformatics. 2014;30:2114–20. 10.1093/bioinformatics/btu170. 27. Rodriguez-R LM, Konstantinidis KT. Nonpareil: a redundancy-based approach to assess the level of coverage in metagenomic datasets. Bioinformatics. 2014;30:629–35. 10.1093/bioinformatics/btt584. 28. Rodriguez-R LM, Gunturu S, Tiedje JM, Cole JR, Konstantinidis KT. Nonpareil 3: fast estimation of metagenomic coverage and sequence diversity. mSystems. 2018. 10.1128/mSystems.00039-18. 29. Menzel P, Ng KL, Krogh A. Fast and sensitive taxonomic classification for metagenomics with Kaiju. Nat Commun. 2016;7:11257. 10.1038/ncomms11257. 30. Nurk S, Meleshko D, Korobeynikov A, Pevzner PA. MetaSPAdes: a new versatile metagenomic assembler. Genome Res. 2017;27:824–34. 10.1101/GR.213959.116/-/DC1. 31. Hyatt D, Chen G-L, LoCascio PF, Land ML, Larimer FW, Hauser LJ. Prodigal: prokaryotic gene recognition and translation initiation site identification. BMC Bioinformatics. 2010;11:119. 10.1186/1471-2105-11-119. 32. Cantalapiedra CP, Hernández-Plaza A, Letunic I, Bork P, Huerta-Cepas J. eggNOG-mapper v2: functional annotation, orthology assignments, and domain prediction at the metagenomic scale. Mol Biol Evol. 2021;38:5825–9. 10.1093/molbev/msab293. 33. Huerta-Cepas J, Szklarczyk D, Heller D, Hernández-Plaza A, Forslund SK, Cook H, et al. eggNOG 5.0: a hierarchical, functionally and phylogenetically annotated orthology resource based on 5090 organisms and 2502 viruses. Nucleic Acids Res. 2019. 10.1093/nar/gky1085. 34. Zhou S, Liu B, Zheng D, Chen L, Yang J. VFDB 2025: an integrated resource for exploring anti-virulence compounds. Nucleic Acids Res. 2025;53:D871–7. 10.1093/nar/gkae968. 35. Buchfink B, Xie C, Huson DH. Fast and sensitive protein alignment using DIAMOND. Nat Methods. 2015;12:59–60. 10.1038/nmeth.3176. 36. Wu YW, Simmons BA, Singer SW. MaxBin 2.0: an automated binning algorithm to recover genomes from multiple metagenomic datasets. Bioinformatics. 2016;32:605–7. 10.1093/bioinformatics/btv638. 37. Kang DD, Li F, Kirton E, Thomas A, Egan R, An H, et al. MetaBAT 2: an adaptive binning algorithm for robust and efficient genome reconstruction from metagenome assemblies. PeerJ. 2019;7:e7359. 10.7717/peerj.7359. 38. Pan S, Zhao X-M, Coelho LP. SemiBin2: self-supervised contrastive learning leads to better MAGs for short- and long-read sequencing. Bioinformatics. 2023;39:i21–9. 10.1093/bioinformatics/btad209. 39. Chklovski A, Parks DH, Woodcroft BJ, Tyson GW. CheckM2: a rapid, scalable and accurate tool for assessing microbial genome quality using machine learning. Nat Methods. 2023;20:1203–12. 10.1038/s41592-023-01940-w. 40. Chaumeil PA, Mussig AJ, Hugenholtz P, Parks DH. GTDB-Tk: a toolkit to classify genomes with the genome taxonomy database. Bioinformatics. 2020;36:1925–7. 10.1093/bioinformatics/btz848. 41. Parks DH, Chuvochina M, Waite DW, Rinke C, Skarshewski A, Chaumeil P-A, et al. A standardized bacterial taxonomy based on genome phylogeny substantially revises the tree of life. Nat Biotechnol. 2018;36:996–1004. 10.1038/nbt.4229. 42. Olm MR, Brown CT, Brooks B, Banfield JF. DRep: a tool for fast and accurate genomic comparisons that enables improved genome recovery from metagenomes through de-replication. ISME J. 2017;11:2864–8. 10.1038/ismej.2017.126. 43. Jain C, Rodriguez-R LM, Phillippy AM, Konstantinidis KT, Aluru S. High throughput ANI analysis of 90K prokaryotic genomes reveals clear species boundaries. Nat Commun. 2018;9:1–8. 10.1038/s41467-018-07641-9. 44. Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ. Basic local alignment search tool. J Mol Biol. 1990;215:403–10. 10.1016/S0022-2836(05)80360-2. 45. Magoč T, Salzberg SL. FLASH: fast length adjustment of short reads to improve genome assemblies. Bioinformatics. 2011;27:2957–63. 10.1093/bioinformatics/btr507. 46. Edgar RC. Search and clustering orders of magnitude faster than BLAST. Bioinformatics. 2010;26:2460–1. 10.1093/bioinformatics/btq461. 47. Camargo AP, Roux S, Schulz F, Babinski M, Xu Y, Hu B, et al. Identification of mobile genetic elements with geNomad. Nat Biotechnol. 2024;42:1303–12. 10.1038/s41587-023-01953-y. 48. Tamayo-Leiva J, Alcorta J, Sepúlveda F, Fuentes-Alburquenque S, Arroyo JI, González-Pastor JE, et al. Structure and dispersion of the conjugative mobilome in surface ocean bacterioplankton. ISME Communications. 2024. 10.1093/ismeco/ycae059. 49. Zolfo M, Pinto F, Asnicar F, Manghi P, Tett A, Bushman FD, et al. Detecting contamination in viromes using ViromeQC. Nat Biotechnol. 2019;37:1408–12. 10.1038/s41587-019-0334-5. 50. Guo J, Bolduc B, Zayed AA, Varsani A, Dominguez-Huerta G, Delmont TO, et al. VirSorter2: a multi-classifier, expert-guided approach to detect diverse DNA and RNA viruses. Microbiome. 2021;9:1–13. 10.1186/S40168-020-00990-Y/FIGURES/5. 51. Kieft K, Zhou Z, Anantharaman K. VIBRANT: automated recovery, annotation and curation of microbial viruses, and evaluation of viral community function from genomic sequences. Microbiome. 2020;8:1–23. 10.1186/S40168-020-00867-0/TABLES/2. 52. Nayfach S, Camargo AP, Schulz F, Eloe-Fadrosh E, Roux S, Kyrpides NC. CheckV assesses the quality and completeness of metagenome-assembled viral genomes. Nat Biotechnol. 2021;39:578. 10.1038/S41587-020-00774-7. 53. Moraru C. Virclust—a tool for hierarchical clustering, core protein detection and annotation of (prokaryotic) viruses. Viruses. 2023;15:1007. 10.3390/V15041007/S1. 54. Zayed AA, Lücking D, Mohssen M, Cronin D, Bolduc B, Gregory AC, et al. efam: an e xpanded, metaproteome-supported HMM profile database of viral protein fam ilies. Bioinformatics. 2021;37:4202–8. 10.1093/bioinformatics/btab451. 55. Kiening M, Ochsenreiter R, Hellinger H-J, Rattei T, Hofacker I, Frishman D. Conserved secondary structures in viral mRNAs. Viruses. 2019;11:401. 10.3390/v11050401. 56. Grazziotin AL, Koonin EV, Kristensen DM. Prokaryotic virus orthologous groups (pVOGs): a resource for comparative genomics and protein family annotation. Nucleic Acids Res. 2017;45:D491–8. 10.1093/nar/gkw975. 57. Terzian P, Olo Ndela E, Galiez C, Lossouarn J, Pérez Bucio RE, Mom R, et al. PHROG: families of prokaryotic virus proteins clustered using remote homology. NAR Genom Bioinform. 2021. 10.1093/nargab/lqab067. 58. Roux S, Camargo AP, Coutinho FH, Dabdoub SM, Dutilh BE, Nayfach S, et al. iPHoP: an integrated machine learning framework to maximize host prediction for metagenome-derived viruses of archaea and bacteria. PLoS Biol. 2023;21:e3002083. 10.1371/journal.pbio.3002083. 59. Bushnell B. BBMap: A fast, accurate, splice-aware aligner. United States. 2014. 60. Ulyantsev VI, Kazakov SV, Dubinkina VB, Tyakht AV, Alexeev DG. MetaFast: fast reference-free graph-based comparison of shotgun metagenomicdata. Bioinformatics. 2016;32:2760–7. 10.1093/bioinformatics/btw312. 61. Good PI. Introduction to statistics through resampling methods and R/S-PLUS. John Wiley & Sons; 2005. 62. Martin-Cuadrado A-B, Rubio-Portillo E, Rosselló F, Antón J. The coral Oculina patagonica holobiont and its response to confinement, temperature, and Vibrio infections. Microbiome. 2024;12:222. 10.1186/s40168-024-01921-x. 63. Aldeguer-Riquelme B, Rodriguez-R LM, Konstantinidis KT. Differences in metagenome coverage may confound abundance-based and diversity conclusions and how to deal with them. ISME communications. 2025;5(1):ycaf140. 10.1093/ismeco/ycaf140. 64. Aliperti L, Aptekmann AA, Farfañuk G, Couso LL, Soler‐Bistué A, Sánchez IE. R/K selection of GC content in prokaryotes. Environ Microbiol. 2023;25:3255–68. 10.1111/1462-2920.16511. 65. Haro-Moreno JM, López-Pérez M, de la Torre JR, Picazo A, Camacho A, Rodriguez-Valera F. Fine metagenomic profile of the Mediterranean stratified and mixed water columns revealed by assembly and recruitment. Microbiome. 2018;6:128. 10.1186/s40168-018-0513-5. 66. Ngugi DK, Acinas SG, Sánchez P, Gasol JM, Agusti S, Karl DM, et al. Abiotic selection of microbial genome size in the global ocean. Nat Commun. 2023;14:1384. 10.1038/s41467-023-36988-x. 67. Wang Q, Cai L, Zhang R, Wei S, Li F, Liu Y, et al. A unique set of auxiliary metabolic genes found in an isolated cyanophage sheds new light on marine phage-host interactions. Microbiol Spectr. 2022. 10.1128/spectrum.02367-22. 68. Lindell D, Sullivan MB, Johnson ZI, Tolonen AC, Rohwer F, Chisholm SW. Transfer of photosynthesis genes to and from Prochlorococcus viruses. Proc Natl Acad Sci U S A. 2004;101:11013–8. 10.1073/pnas.0401526101. 69. Mara P, Vik D, Pachiadaki MG, Suter EA, Poulos B, Taylor GT, et al. Viral elements and their potential influence on microbial processes along the permanently stratified Cariaco Basin redoxcline. ISME J. 2020;14:3079–92. 10.1038/s41396-020-00739-3. 70. Calvo-Díaz A, Díaz-Pérez L, Suárez LÁ, Morán XAG, Teira E, Marañón E. Decrease in the autotrophic-to-heterotrophic biomass ratio of picoplankton in oligotrophic marine waters due to bottle enclosure. Appl Environ Microbiol. 2011;77:5739–46. 10.1128/AEM.00066-11. 71. Eilers H, Pernthaler J, Amann R. Succession of pelagic marine bacteria during enrichment: a close look at cultivation-induced shifts. Appl Environ Microbiol. 2000;66:4634–40. 10.1128/AEM.66.11.4634-4640.2000. 72. Coulon F, McKew BA, Osborn AM, McGenity TJ, Timmis KN. Effects of temperature and biostimulation on oil‐degrading microbial communities in temperate estuarine waters. Environ Microbiol. 2007;9:177–86. 10.1111/j.1462-2920.2006.01126.x. 73. Cha Q-Q, Liu S-S, Dang Y-R, Ren X-B, Xu F, Li P-Y, et al. Ecological function and interaction of different bacterial groups during alginate processing in coastal seawater community. Environ Int. 2023;182:108325. 10.1016/j.envint.2023.108325. 74. Thingstad TF. Elements of a theory for the mechanisms controlling abundance, diversity, and biogeochemical role of lytic bacterial viruses in aquatic systems. Limnol Oceanogr. 2000;45:1320–8. 10.4319/lo.2000.45.6.1320. 75. Knowles B, Silveira CB, Bailey BA, Barott K, Cantu VA, Cobián-Güemes AG, et al. Lytic to temperate switching of viral communities. Nature. 2016;531:466–70. 10.1038/nature17193. Associated Data Supplementary Materials Supplementary file 1 (DOCX 18 kb) Supplementary file 2 (xlsx 29 kb) Supplementary file 3 (xlsx 16 kb) Supplementary file 4 (DOCX 17 kb) Supplementary file 5 (xlsx 13 kb) Supplementary file 6 (xlsx 13 kb) Supplementary file 7 (pptx 471 kb) Supplementary file 8 (xlsx 11 kb) Supplementary file 9 (docx 16 kb) Supplementary file 10 (docx 16 kb) Supplementary file 11 (docx 152 kb) Supplementary file 12 (pdf 317 kb) Supplementary file 13 (pdf 542 kb) Supplementary file 13 (xlsx 95 kb) Data Availability Statement The datasets supporting the conclusions of this article are available in NCBI SRA database, under accession number PRJNA1313860 ( https://www.ncbi.nlm.nih.gov/bioproject/PRJNA1313860 ).
