Introduction

With the development and utilization of diverse molecular ecology techniques based on prokaryotic 16S rRNA gene sequences, it has become clear that marine microbial communities undergo temporal and spatial variations similar to most planktonic assemblages1. The taxonomic composition of microbial assemblages and their temporal and spatial dynamics in the oceans are likely to be of major importance in determining the role of microorganisms in marine biogeochemistry2. The biogeographic or temporally ‘predictable’ patterns in the marine environment have been studied in coastal regions around the world3,4,5,6,7,8,9. Seasonal patterns have been observed in the San Pedro Channel, Bermuda Atlantic Time Series station, Western English Channel time series station and Hawaii Ocean time series station6. These long time series studies mostly concentrated on a certain location, while the spatial distribution of the microbial community was often affected by distances from coasts and terrestrial inputs7,10. When considering both the spatial and temporal effects on the community variation, different results were observed at different sites. In the northern Adriatic Sea, high variability characterizes the spatial structure of bacterial assemblages, while scarce seasonality was found at all nine studied stations, and the assemblages were generally strongly affected by river inputs, especially in spring, when freshwater loads were higher1. Similarly, in coastal waters of the South China Sea, five regularly distributed sites in three seasons showed that the community diversity was better explained by spatial than by temporal patterns8. However, studies in Ofunato Bay (Pacific Ocean area of Japan)11 and Gosung Bay (South Sea, Korea)9 both showed that seasonal changes in environmental variables contribute to the dynamic structure of the bacterial community. It seems that the spatial and temporal distribution of marine microbial communities varies in different hydrological environments. Therefore, it is a challenge to draw a conclusion on how spatial and temporal factors determine the structuring of the microbial community in unexplored areas. Indeed, temporal factors are often considered to infer the environmental factors that change with time, such as temperature, DO, salinity and inorganic/organic resources, which inevitably change with the seasons. Therefore, rather than to say study the seasonal and spatial effect on microbial communities, it is better to say that it was to study the effects of environmental factors and spatial factors on microbial community over temporal variation.

When attempting to identify the key factors determining community variation, we need to confirm whether community variation was mainly influenced by deterministic or stochastic factors. Deterministic and stochastic processes influence the assembly of species into communities12,13. Deterministic processes are associated with ecological selection, in which abiotic and biotic factors determine the presence/absence and relative abundance of different species14. Stochastic processes include probabilistic dispersal and random changes in the relative abundance of different species (ecological drift) that are not caused by differences in environmentally determined fitness15. Deterministic and stochastic processes have been widely discussed in relation to various ecological processes, but little is known about their roles in the assembly of prokaryotic communities during natural temporal variation.

In addition, several studies have focused on the relationship between microbial community composition and ecosystem functioning1,16,17. Microbial communities are composed of functional groups (C and N fixers, ammonia oxidizers, sulfur reducers, etc.), so that the presence or absence of given organisms affects the biogeochemical activities occurring in a given environment, mainly by impacting elemental cycling rates1. Enrichment of sulfate-reducing bacteria was observed, and genes relevant for dissimilatory sulfate reduction were predicted in the coastal areas of the East China Sea16. The dynamics of nitrogen metabolism during the bloom process were also predicted, with different bacterial families contributing to the abundance of genes related to nitrogen metabolism17. However, the abundance of functional genes during different seasons in the coastal environment has rarely been researched, even though it may provide important information for understanding biogeochemical cycling. Moreover, changes in metabolic potential during different seasons also need to be taken into consideration.

This study was focused on Bohai Bay, China, which is located in the western region of the Bohai Sea in northern China. Based on the important geographical position and economic status of Bohai Bay, it has gradually become one of the intensive marine areas for marine scientific research. The spatial distribution of the bacterioplankton community in this area has been studied18, and it showed distinct spatial variation in the local environmental factors and dominant OTUs. Here, we selected 12~28 sites located at different geographic locations with different hydrological environments, among which several sites were located near the mouths of rivers, several sites were close to the tourist attractions, and several sites were at different distances from the shore. The main questions addressed by this study were as follows: (1) Do planktonic prokaryotic assemblages and functional potential show temporal patterns across different geographic locations? (2) How do environmental or spatial factors affect the PCC variation? 3) What processes drive the temporal or spatial pattern of the PCCs in the surface water of Bohai Bay?

Results

Variation in environmental parameters across space and time in Bohai Bay

The environmental parameters of samples collected near the Tianjin coastal area from different stations and seasons exhibited high temporal and spatial heterogeneity. The seawater temperature was 28.09 ± 0.53 °C in Aug, 17.48 ± 2.36 °C in May, and 19.55 ± 1.26 °C in Oct (Table 1). The seasonal variation in seawater temperature corresponded to the meteorological characteristics in Bohai Bay, with warm seawater in summer and relatively cool seawater in spring. The salinity was 29.69 ± 2.71‰ in Aug, 33.19 ± 0.33‰ in May, and 30.15 ± 1.63‰ in Oct. Seasonal variations in salinity may be mainly related to freshwater loading. According to the precipitation observed data of Bohai Bay in previous years, the rainfall amount and days in summer are the most19, which may lead to the increase in runoff and the relatively low salinity in summer. Chlorophyll a (Chl a) was highest in May, with lower levels in Aug and Oct. The dissolved inorganic nitrogen (DIN) was significantly higher in May and Aug than in Oct. The higher level of DIN in May and Aug may be related to terrestrial input and supply for the demand of phytoplankton growth. In October, the temperature and DIN content were both not suitable for phytoplankton growth, and Chl_a showed the lowest value. Spatially, the DIN distribution across the three seasons was rather similar, with high values observed in nearshore waters and low values in offshore waters (Dataset S1 & Fig. S1), which suggested that terrestrial input was an important source of DIN. The pH, soluble reactive phosphate (SRP) and chemical oxygen demand (COD) showed relatively higher values in October than in August and May, which may be caused by the dead phytoplankton release and terrestrial loadings through coasts and rivers. The dissolved oxygen (DO), conductivity and depth did not show significant variation among sampling times (Table 1), while the conductivity and depth had relatively higher values at offshore stations (Dataset S1) since the more remote the sampling water was, the greater the depth was in Bohai Bay and the closer it was to the open sea with higher salinity and conductivity. The ordination plot showed distinct partitioning of samples from nearshore and offshore sites along principal component axis 1 (PC1) (Fig. 1). The ordination plot could explain 73.49% of the total variation in the geo-physical–chemical parameters and revealed a linear positive correlation between different parameters (Fig. 1). AN, DIN, nitrate and Chl_a were most crucial in the partitioning of samples from May and the other 2 months; salinity, longitude, depth and conductivity were crucial for the partitioning of samples from offshore and nearshore stations; pH, COD, SRP, nitrite and temperature were crucial for the partitioning of samples from nearshore stations in August and October and samples from offshore stations. Overall, the principal component analysis (PCA) plot clearly showed both the temporal and spatial variation of the measured environmental parameters, indicating that complex biogeochemical processes and hydrodynamic conditions lead to the variation among sites and seasons.

Table 1 The independent-samples t test of environmental variables and α-diversity among different months.
Figure 1
figure 1

Biplot of the principal component analysis (PCA) for environmental parameters in the seawater samples of the Bohai Bay coastal area across different seasons and sites. The two principal components (PC1 and PC2) explained 73.49% of the total variation in the environmental data and showed clear partitioning of offshore samples (in blue font) from other nearshore samples along PC1 and partitioning of May samples from August and October along PC2. The variables transparency and latitude were strongly correlated with PC1, and the variables ammonia nitrogen (AN), COD, pH, soluble reactive phosphate (SRP), and nitrite were strongly correlated with PC2. Chlorophyll a (Chl_a), dissolved inorganic nitrogen (DIN), nitrate and DO were mainly positively correlated with samples from May, while salinity, longitude, depth and conductivity were mainly positively correlated with offshore samples. Blue arrows represent environmental parameters, and circles in color represent sampling points.

Prokaryotic α/β-diversity variation

Measures of α-diversity showed significant differences in shannon, evenness, faith_pd and OTU richness between samples from May/Aug and Oct (Fig. 2, Table 1). Principal coordinates analysis (PCoAs) based on weighted UniFrac (WUF) distance and unweighted UniFrac (UUF) distance showed that the PCC from different sampling months separated across the first and second principal coordinates (Fig. 3A-B). Both the analysis of similarity (ANOSIM) and permutational multivariate analysis of variance (PERMANOVA/ADONIS) results indicated that the prokaryotic communities varied significantly across different sampling months when using a WUF distance metric (ANOSIM, r = 0.709, P = 0.001; ADONIS, R2 = 40.0%, P = 0.001) and UUF distance metric (ANOSIM, r = 0.934, P = 0.001; ADONIS, R2 = 38.7%, P = 0.001). At the same time, the prokaryotic α– and β-diversity both showed high within-month variability in Aug (Figs. 2, 3C–D), which indicated that the community varied greatly among different sites in Aug.

Figure 2
figure 2

Alpha diversity of shannon, eveness, faith_pd (phylogenetic diversity) and OTU richness value of the prokaryotic community of all the samples from different stations at different sampling times.

Figure 3
figure 3

Principal coordinate analysis (PCoA) based on unweighted (A) and weighted (B) UniFrac distances for prokaryotic communities in the surface waters; box plots showing the unweighted (C) and weighted (D) UniFrac distances among each station at different sampling times.

Correlation between prokaryotic α/β-diversity and physical, chemical and geographic factors

The α-diversity measurements exhibited significant positive correlations with temperature, pH, SRP, AN and un_ionN (Dataset S2). The correlation between α-diversity indexes and geo factors (longitude and latitude) was not strong or significant both in samples across the three sampling times or from each sampling time (Dataset S2).

The environmental variation significantly correlated with β-diversity among the three seasons (r_weighted = 0.4558, r_unweighted = 0.4631, P = 0.001, Table 2), with pH, AN, temperature, un_ionN, COD, nitrite, SRP, salinity, DO and DIN as the main individual determinants. However, it did not show significant correlations with β-diversity at any sampling time except in Oct (Table S1).

Table 2 Spearman’s rank correlation between environmental/spatial variability (Euclidean distance) and prokaryotic β-diversity (weighted/unweighted UniFrac distance) among all samples from different season.

The geographic distance was not correlated with prokaryotic β-diversity (variation in community composition; r < 0.03, P > 0.05; Table 2) among the three sampling times. However, samples from Aug and Oct exhibited a significant correlation between β-diversity and geographic distance (Table S1).

Factors driving the PCC variation

PERMANOVA using the UUF/WUF distance indicated that temperature variation explained the largest part of community variation among the investigated factors (34.90%/19.83%, P = 0.001, Dataset S3), with AN (31.84%/13.56%, P = 0.001) and salinity (12.91%/6.21%, P = 0.001) as the second and third most significant sources of variation.

The variance partitioning analysis (VPA) conducted on both UUF/WUF distances showed that almost 100% percent of the variation in PCC among all three sampling times was explained by the detected environmental factors. In May, no environmental or spatial factors could be selected as significantly explain the PCC variation; in Aug, the joint effects of environmental and spatial factors could explain 49.5% of the variation; in Oct, based on WUF distance, the spatial factors could purely explain 10.5%, environmental factors could purely explain 38.8%, their joint effects could explain 28.2%, and based on UUF distance, the joint effects of environmental factors and trend could explain 13.7% of the PCC variation. These results indicated dramatic shifts in the spatial or environmental factor effects on the PCC variation at different sampling times in Bohai Bay (Table 3).

Table 3 Variance partitioning analysis of prokaryotic community in Bohai Bay according to seawater environmental factors and geospatial factors. The spatial factors including linear trend and PCNM variables. Forward selection procedures were used to select the best subset of environmental, trend, and PCNM variables explaining community variation, respectively. The community variation was calculated on the weighted and unweighted UniFrac distance matrix, respectively. Monte Carlo permutation test was performed on each set without the effect of the other by permuting samples freely (999 permutations).

Distinct seasonal features at the phylum and OTU levels

There were notable differences in the proportions of various phyla among different seasons (sampling month). In May, there was a greater proportion of Alphaproteobacteria (41.41%), Planctomycetes (6.42%), Actinobacteria (3.86%), Firmicutes (1.48%), Acidobacteria (0.45%), TM7 (0.16%), Tenericutes (0.16%), OD1 (0.13%), and WPS-2 (0.09%) than in Aug and Oct, whereas Gammaproteobacteria (44.23%), GN02 (0.08%) and SAR406 (0.04%) were depleted in May and Aug but enriched in Oct. In Aug, Bacteroidetes (13.98%), Deltaproteobacteria (6.93%), Verrucomicrobia (4.5%), Chloroflexi (0.36%), Lentisphaerae (0.97%), TM6 (0.25%), Nitrospirae (0.08%), Chlamydiae (0.07%), Chlorobi (0.07%), Spirochaetes (0.04%) and OP8 (0.03%) were significantly enriched than in the other two sampling times (Duncan test; Table S2).

At the OTU level, OTUs with relative abundance > 0.01% (1040 OTUs) were used to perform the difference analysis, and 175 OTUs in May, 281 OTUs in Aug, and 210 OTUs in Oct were identified as seasonal specific OTUs (ssOTUs). The cooccurrence network showed that the ssOTUs were clustered separately (Fig. 4A). Furthermore, the separation of the three modules contained most of the ssOTUs specific to different seasons (Fig. 4A-B). All the ssOTUs of different seasons comprised a taxonomically broad set of prokaryotes at the phylum (phylum Proteobacteria is grouped at the class level) level (Fig. 4C) belonging to various phyla with different proportions. Betaproteobacteria, Verrucomicrobia, Gemmatimonadetes, Epsilonproteobacteria, PAUC34f., and Euryarchaeota did not show significant differences among the three sampling times at the phylum level, but features belonging to these phyla showed differences at the OTU level (Fig. 4C, Dataset S4). In addition, the phylum ssOTUs belonging to, such as Alphaproteobacteria, Gammaproteobacteria, Bacteroidetes, Actinobacteria, and Deltaproteobacteria, were not only enriched at one sampling time (Dataset S4) but also enriched at the other two sampling times (Fig. 4C, Dataset S4). These results revealed that different seasons do not strictly select specific microbial lineages at the phylum level, but a finer level analysis could more strictly reflect the seasonal variation.

Figure 4
figure 4

Co-occurrence patterns of seasonal sensitive OTUs (A). Co-occurrence network visualizing significant correlations (ρ > 0.7, P < 0.001; indicated with grey lines) between OTUs from the three sampling times with abundance > 0.01%. Different colors represent ssOTUs in May (green), Aug (red) and Oct (blue). Cumulative relative abundance (as counts per million, CPM; y-axis in × 1000) of all the sensitive modules in the networks (B). The phylum attribution of ssOTUs in each season (C). The y-axis is the percentage of the number of OTUs that belong to a particular phylum that accounts for the total number of all the OTUs.

Regression analysis between the relative abundance of modules to which the ssOTUs belonged and the environmental factors was also conducted, and module 1 abundance, to which the Aug-ssOTUs belonged, showed a significant positive correlation with temperature (R2 = 0.77, P = 6.609e−62), AN (R2 = 0.43, P = 7.416e−25), and un_ionN (R2 = 0.75, P = 1.366e−58) and a negative correlation with SRP (R2 = 0.81, P = 6.762e-17). This may be caused by the functional role of the microbes in Aug. In the Aug-ssOTUs, Deltaproteobacteria showed a higher ratio than in the other 2 months (Fig. 4c), and in the following functional analysis, Deltaproteobacteria contributed to the genes related to nitrogen fixation, which may help to explain why there was a positive correlation of Aug-ssOTUs to AN and un_ionN. The module 2 abundance to which the May-ssOTUs belonged showed a significant negative correlation with pH (R2 = 0.65, P = 4.026e−44), temperature (R2 = 0.19, P = 2.325e−10), un_ionN (R2 = 0.025, P = 0.01779), and SRP (R2 = 0.12, P = 4.104e−07) and a positive correlation with AN (R2 = 0.26, P = 5.174e−14). In the May-ssOTUs, the ratio of Alphaproteobacteria was the highest, and Alphaproteobacteria were reported to be pH-sensitive groups in marine environments20, which prefer neutral pH environments21. In this study, the pH in May was 8.04 ± 0.07, in Aug was 8.39 ± 0.09, in Oct was 8.38 ± 0.07, and the pH in May was the closest to neutral, and the ratio decreased with increasing pH in Oct and Aug. The abundance of module 3, to which the Oct-ssOTUs belonged, showed a significant positive correlation with SRP (R2 = 0.81, P = 0.16e-10) and pH (R2 = 0.054, P = 0.00075) and a negative correlation with temperature (R2 = 0.44, P = 2.276e−25), AN (R2 = 0.75, P = 4.51e−58), and un_ionN (R2 = 0.6, P = 3.995e-39) (Fig. S2). Phosphate has been identified to limit primary productivity22, which is of great importance in the structure of dominant bacterial taxa in marine environments23. In the Oct-ssOTUs, the ratio of Gammaproteobacteria was the highest, as reported. Gammaproteobacteria was significantly explained by SRP during the seasonal variation in the Western English Channel, with Rho equal to 0.7523, which suggested the sensitivity of it to SRP, and in that study, it also showed a negative correlation between temperature and Gammaproteobacteria and a positive correlation between SRP and Gammaproteobacteria. Although the correlation was not significant, the variation trend was consistent, which indicates that the phenomenon observed in this study was not unexpected. In addition, most ammonia-oxidizing bacteria belong to the Betaproteobacteria and Gammaproteobacteria classes are chemolithoautotrophs that oxidize ammonia to nitrite24. Gammaproteobacteria and Betaproteobacteria both had higher ratios in Oct-ssOTUs, and the functional prediction results also showed that pmoA/amoA and pmoB/amoB, which encode ammonia monooxygenase, were mainly contributed by OTUs from Gammaproteobacteria and Betaproteobacteria (Dataset S10). The utilization of ammonia may explain the negative correlation between the Oct-ssOTUs and AN.

Community assembly processes across different sampling months and sites

Based on the analysis of phylogenetic turnover, unweighted βNTI mostly ranged from -2 to 2 across different sites at a single sampling time in May, Aug and Oct, revealing that PCC variations across different sampling sites at a single time were mostly affected by stochastic processes. The unweighted βNTI was greater than 2 across May–Aug, May–Oct and Aug-Oct (Fig. 5A), which revealed that the variations in PCC across different sampling times were mostly affected by deterministic processes. The RCbray values across any two sampling times were equal to 1, and in each sampling time, the RCbray values ranged from − 1 to 1 (Fig. 5B). Combining the βNTI and RCbray values, the community assembly processes were quantified at each sampling time and at any two sampling times. As shown in Fig. 5C, turning over of the community during different sampling times was mainly governed by selection; among the different sites in May and Oct, it was mainly governed by “undominated” processes; community turn over in Aug was mainly governed by the influence of “Dispersal Limitation”. These results indicated that the shifts in the assembly of prokaryotic communities during different sampling times were caused by strong “heterogeneous selection” (βNTI > 2), and the community variation at each sampling time was mainly caused by stochastic processes.

Figure 5
figure 5

Patterns of distribution of unweighted βNTI (A) and RCbray (B) values across different sampling times. Quantification of the features that impose community assembly processes in and among different sampling times. (C) Pie charts give the percent of turnover in community composition governed primarily by Selection acting alone (white fill), Dispersal Limitation (green line fill), Homogenizing Dispersal (blue line fill) and undominated process (cyan fill).

Prediction of the metabolic potential at different sampling times

The NSTI scores of each sample ranged from 0.033 to 0.096, with a mean of 0.058 (Dataset S5). Microbial functions were detected in all the samples from the three sampling times, and it was found that the relative abundances of 242 pathways were significantly changed between samples from May and samples from Aug (Dataset S6). The relative abundances of 321 pathways were significantly changed between samples from May and Oct (Dataset S7), and the relative abundances of 370 pathways were significantly changed between samples from Aug and Oct (Dataset S8).

Genes related to energy metabolism were given more attention. For nitrogen metabolism genes relevant with nitrogen fixation (nifD, nifK) were detected only enriched in Aug, while genes relevant with nitrate reduction and denitrification (narG, narZ, nxrA, narH, narY, nxrB, narI, narV, nirD, nasA, nasB) were detected enriched in May, genes related with ammonia oxidation were both detected enriched in Oct and Aug. For sulfur metabolism, genes relevant with thiosulfate oxidation (soxA, soxB, soxC, soxX, soxY and soxZ) were only enriched in Aug, while genes relevant with sulfate and sulfite reduction (cysNC, aprA, aprB, cysJ, cysI, cysK, dsrA) were detected enriched in May and Oct (Fig. 6).

Figure 6
figure 6

The LEfSe analysis indicated significantly differential abundances of PICRUSt predicted genes relevant to energy metabolism in different months of samples.

Prokaryotic taxa contributed to the significantly varied functional genes related to nitrogen and sulfur metabolism at different sampling times. At the species level, the taxa contributing to nifK and nifD mainly belonged to Deltaproteobacteria and Firmicutes, and the taxa contributing to the sox-series genes mainly belonged to Alphaproteobacteria and Gammaproteobacteria (Fig. S3). The denitrification-related functional genes that were enriched in May were mainly contributed by members from Alphaproteobacteria and Gammaproteobacteria. The taxa contributing to dsrA, aprA and aprB were mainly from Deltaproteobacteria, including members of Desulfarculaceae, Desulfobacteraceae, Desulfobulbaceae, Desulfovibrionaceae and Syntrophobacteraceae (Fig. S4).

Discussion

We found clear temporal variation in the composition of the prokaryotic community in the surface water of Bohai Bay across different sites during the three sampling months. We observed that environmental factors have a stronger effect on PCC variation than spatial factors during different sampling times. Overall, environmental factors such as temperature, pH, AN, un_ionN and SRP all showed significant correlations with α/β-diversity (Dataset S2, Table 2). In addition, the coefficients between environmental factors (temperature, pH, AN, un_ionN, COD, SRP, DO, DIN) and β-diversity/βNTI were decreased when the temporal factor was deconvoluted (Tables 2, 4), which suggested that these factors were also seasonally varied, and it can be speculated that seasonally varied environmental factors contributed to the dramatic prokaryotic temporal variation. Temperature plays a fundamental role in regulating the activity and growth of microorganisms, and changes in temperature could have a major direct effect on the population dynamics of marine bacteria25. In this study, temperature had the highest correlation coefficient with unweighted β-diversity (Table 2), which indicated its important role in affecting seasonal community variation. pH is also an important factor in shaping marine microbial communities20,26,27. Many studies have focused on the influence of pH decrease as a consequence of ocean acidification on marine zooplankton26,28,29. Acidification may impact prokaryotic communities by shifting towards plankton dominance, affecting productivity and nutrient cycling as well as increasing the abundance of disease-causing bacteria20,28. In contrast to previous studies, the community shift with pH variation in this study seemed not to be caused by ocean acidification, since the previously reported increase in the abundance of Flavobacteriales (Bacteroidetes)20 and disease-causing bacteria, such as Vibrionaceae and Alteromonadaceae (Gammaproteobacteria)26,28, at lower pH values was not observed in Bohai Bay in May (Table S2). Conversely, the pH observed in this study was slightly alkaline, with which in Aug was the highest. The rising temperature and strong photosynthesis in Aug may reduce the concentration of carbon dioxide and hydrogen ions in the surface seawater, resulting in a rise in pH. In addition, the riverine input and anthropogenic activities during different seasons may also affect the pH value. AN was reported to be an important factor in the marine environment affecting the variation in OTU richness30. In a previous study of the same research scope in Bohai Bay 18, AN showed a significant correlation with the β-diversity of the bacterioplankton community along with differently polluted areas. In this study, there was a positive correlation between AN and OTU richness and phylogenetic diversity (faith_pd) (Dataset S2), and the correlation coefficient between AN and the weighted UniFrac distance-based β-diversity was the highest (Table 2). The correlation between un_ionN and α/β-diversity was consistent with that of AN, and even with higher coefficients (Tables 2 & 4, Dataset S2), the effect of un_ionN on the microbial community was rarely reported, since un_ionN is a part of AN, and in this study, un_ionN exhibited a different influence on the distribution of ssOTUs among seasons (Fig. S2) with AN, which may indicate that the different chemical forms on phylogenetic distribution are different, and more targeted research is needed to explain this phenomenon. There was a negative correlation between SRP and the prokaryotic α-diversity in all samples, while the analysis based on a single sampling time showed that it was in August that the α-diversity indexes (faith_pd, richness, Shannon, and Pielou_e) were all negatively correlated with SRP (Dataset S2), which indicated that it may be the heterogeneous input of phosphate in different stations in August that caused the variation. Gilbert et al.31 reported that the most abundant phyla varied among different seasons in the Western English Channel and were associated with SRP. Here, we also found the importance of SRP in shaping the phylogenetic structure of the prokaryotic community. Phosphate has been identified to limit primary productivity 22, and in this study, phosphate played an important role in structuring the dominant taxa enriched in Oct (ssOTUs in Oct), which was mainly composed of members from Gammaproteobacteria (Fig. 4c), whose variation was also reported to be significantly explained by the SRP variable in the marine environment23. COD was also found to be an important factor significantly correlated with β-diversity and βNTI (Tables 2, 3) in this study. COD serves as one of the comprehensive indexes of the relative content of organic matter, which reflects the degree of pollution by reducing substances in the water. In the coastal region of the East China Sea, it was also found that COD had a significant effect on the microbial community composition4. The COD with the highest value was observed in Oct in Bohai Bay in this study, which may be caused by the apoptosis of phytoplankton since Chl_a was the lowest in Oct, which may contribute to the higher COD. In addition, the seasonal COD flux and tidal influence may also affect the transport processes of COD in the Bohai Bay area in different seasons32. DO and DIN had relatively lower but significant correlations with α/β-diversity and βNTI than other parameters, but they were both reported as very important factors in shaping marine bacterial communities18,33,34,35. In conclusion, the coexistence of multiple seasonally varied environmental factors shows a significant association with the prokaryotic seasonal pattern of surface water in the study area.

Table 4 Spearman’s rank correlation between environmental/spatial variability (Euclidean distance) and weighted and unweighted βNTI among all samples from different season.

According to the quantitative analysis of assembly processes among different months, it could be clearly seen that the selection processes accounted for most (> 80%) of the turnover of the community between any two sampling times, and combined with the βNTI value mostly above 2, it can be speculated that the “heterogeneous selection” processes dominated the temporal community variation (Fig. 5). The temporal effect was so strong that the spatial effect was masked by it during different sampling times. Recently, increasing evidence has shown that the spatial distributions of microbes are nonrandom and that distance decay of similarity occurs for microbial compositional structures36,37. Similar findings have been made in Bohai Bay as a result of our previous research within the study area, similar to this work18. To eliminate the influence of seasonal factors on spatial effects, we also tested the environmental-spatial effect on PCC variation for single season/month samples. According to the VPA results, no factors could explain the community variation in May (Table 3), and the assembly process quantification results showed that the “undominated” processes accounted for 58.33% of the community turnover in May among the 12 sites, while the “selection process” accounted for 25.72%, which indicated that the communities in May were mostly governed by stochastic processes, and there may be unknown environmental factors that were not detected that accounted for the “selection process” parts (Fig. 5C). In Aug, the environmental and spatial factors did not show purely significant effects on the PCC variation, while their joint effects could explain 49.5% of the PCC variation (based on UUF distance) among the 28 sites in this sampling time (Table 3), and the dispersal limitation accounted for 66.41% of the community turnover in Aug (Fig. 5C), which suggested that spatial factors play an important role in determining the PCC variation in Aug, since in multivariate analysis, when using variation partitioning38 to estimate the relative importance of environmental and spatial factors, the spatial factors often considered to infer the dispersal process in microbial community assembly in marine waters, which could be considered as spatial effects. In October, the VPA results based on unweighted UniFrac distances showed that the environmental and spatial factors could explain 34.7% of the PCC variation. Meanwhile, the quantitative analysis of assembly processes based on unweighted βNTI showed that the selection and dispersal process accounted for 36.6% of the community turnover, which was consistent with the VPA results (Table 3, Fig. 5C). From the above, we could conclude that environmental and spatial factors driving the assembly processes on the PCC variation were changed with the temporal shifts.

The detection of dominant groups within microbial assemblages may be of particular importance in ecological studies concerning biogeochemical cycles2, as microbes belonging to different groups can express different degrees of activity in a given ecosystem39. The groups of microorganisms that varied with the season variation were different in different studies. For example, Gammaproteobacteria in the SPOT observation was the highest in August and the lowest in May, Flavobacteria was highest in February and lowest in Oct, while Cyanobacteria was highest in November and lowest in April6. A similar study on the Qinhuangdao coast of the Bohai Sea found that Alphaproteobacteria and Firmicutes were the most abundant in July, while Cyanobacteria and Bacteroidetes were the most abundant in Oct5. In contrast, in this study, the abundance of Gammaproteobacteria was highest in Oct and lowest in May, that of Alphaproteobacteria and Firmicutes was highest in May, while that of Bacteroidetes was highest in August. In contrast, Cyanobacteria did not show significant differences at each sampling time during the three sampling times in different seasons (Table S2). The differences between studies in different regions indicate that seasonal variation in microorganisms is not consistent across the region, even in different regions of the same ocean. In addition to differences in detection methods (qPCR/ARISA/Illumina MiSeq), the differences in the results further indicate that except for seasonal factors, other local environmental factors may also play an important role in determining prokaryotic community patterns. Further study is needed to focus on seasonal changes in microbial communities in different marine environments.

This study paid more attention to OTUs that varied dramatically among the detected months with the aim of finding their correlation with the local environmental factors, which may provide some clues for the prediction of how the microbial community reacts to changes in the marine bay environment. We found that the ssOTUs naturally clustered as different modules in the network analysis (Fig. 4A), and the cumulative relative abundance of the ssOTUs in each module all showed definite seasonal bias (Fig. 4B). Moreover, the ssOTUs had a significant correlation with the environmental factors (Fig. S2, Temperature, AN, un_ionN, SRP, pH), which was consistent with the driving factors related to the PCC temporal variation obtained from the Mantel test based on β-diversity. These results indicated that the seasonally varied environmental factors definitely affected the variation in prokaryotic communities at the OTU level. Many studies have aimed to identify the specific taxonomic groups that drive seasonal variation, and it was found that nonseasonal taxa contain seasonal OTUs6, which calls for finer taxonomic groups to be analysed since they may adapt to different ecological niches using different metabolic genes. In this study, the analysis of ssOTUs could reflect the response of the prokaryotic communities to temporal environmental changes more elaborately and comprehensively. It was found that some ssOTUs within the phyla to which they belonged (Verrucomicrobia, Betaproteobacteria, Crenarchaeota) did not show significant temporal variation, and most of the ssOTUs in different seasons came from the same phylum. This suggested that it may not be enough to analyse the community at only the phylum level but may be necessary to pay more attention to finer levels.

Temporal functional gene variation has rarely been studied in seasonal research on marine environments, such as in Bohai Bay. In this study, PICRUSt2 was used to predict the approximate functional potential of the prokaryotic community. The accuracy of PICRUSt generally increased with decreasing NSTI score, and reliable results were generated from a dataset of soil samples with a mean NSTI score of 0.17. In this study, the mean NSTI score was 0.058, suggesting that the results are credible and could accurately reflect the variation trend of the targeted function. Based on the PICRUSt2 results, the nitrogen fixation and sulfur oxidation functions were mainly enriched in August, while the denitrification and sulfite or sulfate reduction functions were mainly enriched in May and October (Fig. 6). The variation in nitrogen metabolism during different seasons in this study was consistent with a study of oceanic mangrove habitats, where the rate of nitrogen fixation in the wet season was higher than that in the dry season, while the potential denitrification rates were higher during the dry season than during the wet season40. The variation in sulfur metabolism in different seasons in surface seawater has rarely been reported, since it is often reported to occur in anaerobic environments, and most studies are concerned with the variation in sulfur metabolism in lakes and marine sediments16,41. In this study, the nitrogen fixation and sulfur oxidation functions were predicted to be enriched in August, which may be because rainfall in the wet season (Fig. S6) is often accompanied by periodic high tides, which bring abundant dissolved nutrients, such as SRP, nitrate, and ammonia nitrogen, which could effectively improve the availability of nitrogen or sulfur, promoting the enrichment of nitrogen fixation and sulfur oxidation. However, the anaerobic functions mediated by sulfate-reducing bacteria and denitrifying bacteria that were enriched in May and Oct should be carefully interpreted. This phenomenon may be explained by the relative abundance of the prokaryotic taxa that contributed to the denitrification and sulfate reduction functions. Prokaryotic taxa contributing to these two functions at the species level showed a very low relative abundance of minus than 0.01 for most of them (Fig. S5), except for taxa belonging to Rhodobacteraceae, which contained members with aerobic denitrification abilities, such as Paracoccus, a representative aerobic denitrifying bacterium that was commonly found to be dominant in sulfate reduction bacteria (SBR) during the denitrification process42. The contributed taxa varied among the three sampling times, resulting in the corresponding functional variation, while this was not to say that the detected function played a key role in the corresponding period; it could just reflect the relative change in a certain function during the sampling period in different seasons. However, the distinct variation in nitrogen and sulfur metabolism-related genes distributed in different sampling months reminds us to pay more attention to the nitrogen and sulfur cycles in surface seawaters in future research.

The linkage between nitrogen and sulfur metabolism is also worth attention. In this study, both the denitrification and sulfate reduction potential functions were predicted to be enriched in May and Oct, which may indicate that these two processes are interwoven with each other in the surface water of Bohai Bay. These predicted denitrifying members of Alphaproteobacteria and Gammaproteobacteria were most negatively correlated with nitrogen nutrients (Dataset S9), which may suggest the strengthened consumption of nitrogen salts by these taxa in October and May. Simultaneously, the sulfite and sulfate reduction members of Deltaproteobacteria were most positively correlated with un_ionN, which may indicate the relevance between sulfate reduction and nitrogen metabolism. These findings may guide further study of nitrogen and sulfur metabolism in Bohai Bay, and more reliable analytical techniques, such as metagenomic and meta-transcriptomic sequencing, will be needed in future work.

Finally, due to limited sampling, samples from the cold season were not collected, while the aim of this study was to explore the spatial and temporal effects on the distribution of prokaryotic communities. The results clearly showed strong “heterogeneous selection” processes affecting the PCC temporal variation during the study period. The VPA and quantitative analysis of the assembly processes showed that environmental and spatial factors driving the assembly processes on the PCC variation were changed with the temporal shifts. There were distinct seasonal features at the phylum and OTU levels (ssOTUs), while the ssOTUs exhibited different seasonal attributions under the same phylum, which calls for finer-level analysis to reflect the temporal variation more strictly. Moreover, functional prediction showed that nitrogen and sulfur metabolism were significantly shifted during the temporal variation, which needs further study for nitrogen and sulfur metabolism in Bohai Bay.

Materials and methods

Study area, sampling, and physicochemical analyses of seawater samples

We collected 188 (biological replicates included) surface seawater samples from 12 to 28 stations (Fig. S1), which covered the north and south coasts and the offshore area of Bohai Bay. Among the sampling stations, TJ19 was located nearest the Bei Pai River mouth, TJ12 was located near the Du Liu Jian River in the southern part, TJ04 was located near the Yong Ding Xin River in the northern part, TJ01 was located near Da Sheng Tang village, TJ02 was located near Ma Zu park, TJ21 was located near Dongjiang Bay, which are all popular tourist attractions in the Tianjin coastal region, TJ13, TJ09, TJ20, TJ24 and TJ30 were located at a middle distance off the shore, and the most remote station, TJ14, was located as far as 110 km off the shore, which was more influenced by ocean currents from the Bohai Sea than other stations. Surface water samples at 0.5 m depth were collected at each site during 16–18 May, 16–18 August (Aug) and 17–19 October (Oct) in 2016. In May, samples from 12 stations were collected, and in August and October, samples from 28 stations were collected. In Aug and Oct, each site was sampled with three replicates and in May with two replicates. The detailed sampling information is listed in Dataset S1. All sampling was undertaken during high tide conditions. Approximately 500 ml of the water sample of each sample was filtered onto a 0.2 μm polycarbonate membrane (Millipore, USA) and stored at − 20 °C prior to DNA extraction. Environmental DNA on the polycarbonate membrane was extracted using a PowerWater DNA Isolation Kit (MO BIO, USA) according to the manufacturer’s instructions. Sampling environmental parameters, including water temperature, depth and transparency, were recorded through field measurements. The pH values, DO, salinity and conductivity were measured using a probe (Multi 3430, WTW, Germany). The concentrations of soluble reactive phosphate (SRP), ammonium nitrogen (AN), nitrite, nitrate, dissolved inorganic nitrogen (DIN) and COD were analysed following the standard methods of the specification for marine monitoring of seawater analysis (GB 17378.4-2007). Chlorophyll a (Chl_a) was determined in water samples in accordance with the “Specification for oceanographic survey” (GB/T 12763.4-2007). Nonionic ammonia (un_ionN) was determined in accordance with the “Surface water quality standards” (GB 3838-88). The geographic coordinates and physicochemical parameters of the water samples are listed in Dataset S1. Student’s t test was used to compare the environmental difference between any two time points. Principal component analysis (PCA) was performed to reveal the relationships between the environmental parameters and the distribution of the sampling stations and time in an ordination plot.

DNA extraction, 16S rRNA gene amplification, and Illumina sequencing

The DNA extracts were quantified using a spectrophotometer (NanoDrop ND-2000, USA) and subsequently submitted to Novogene Co. Beijing for 16S rRNA gene amplification and sequencing. Briefly, the 16S rRNA gene V4 region was amplified using dual-indexed bacterial/archaeal primers 515 f. (GTG YCA GCM GCC GCG GTA A) and 806r (GGA CTA CNV GGG TWT CTA AT) containing adaptor sequences for the Illumina HiSeq 2500 platform (Illumina, San Diego, CA, USA) using the 2 × 250PE rapid run mode. Details of the sequencing libraries can be found in previous work18.

16S rRNA gene amplicon processing and analysis

Sequences were demultiplexed in Quantitative Insights Into Microbial Ecology version 2 (QIIME2). The raw sequences with forwards and reverse reads were imported through time QIIME tools import with PairedEndFastqManifestPhred33V2 as input format, and amplicon sequence variants were generated using DADA2 version 2019.7.0 with time QIIME dada2 denoise-paired script to remove sequences with quality scores < 20 and chimeric sequences43. FeatureData[Sequence] were obtained after quality control with DADA2, which is the equivalent of the QIIME 1 representative sequences file, and which are the equivalent of 100% OTUs from QIIME 1 with more accurate estimates of diversity and taxonomic composition, which are generally referred to as amplicon sequence variants (ASVs). The phylogenetic tree was generated based on the representative sequences using align-to-tree-mafft-fasttree from the Q2-Phylogeny plugin. Taxonomy was assigned using the q2-feature-classifier command with default parameters in QIIME2, and sequences were matched against the Greengenes 13_8 database44.

Prokaryotic α-diversity and β-diversity estimates were calculated by even rarefication at 26,000 reads per sample, with multiple indexes (Faith Phylogenetic Diversity metric (Faith_pd), the quantification of taxon richness through phylogenetic tree units (OTU_richness), Shannon and evenness (pielou_e) and weighted (WUF)/unweighted UniFrac (UUF) distances between samples. The differences in α-diversity indexes and taxa abundances at the phylum level among different sampling times were analysed by one-way ANOVA with alpha levels obtained by a two-tailed test. Pearson’s correlation coefficients between geo-physical–chemical variables and α-diversity indexes were calculated to measure the relationships between them. We used a principal coordinates analysis (PCoA) plot based on WUF and UUF distances to visualize the sample clusters and dissimilarity in prokaryotic community composition between sampling times and subsequently tested the significance of pairwise dissimilarity in community composition between sampling times with analysis of similarity (ANOSIM) and permutational multivariate analysis of variance (PERMANOVA). Simple and partial Mantel tests were used to test the correlations of geographic distance and environmental parameters with prokaryotic β-diversity (variation in community composition). Variance partitioning analysis (VPA) was conducted on all samples or single-time sampling using the WUF/UUF distances as response variables and using environmental factors, linear trends, and principle coordinates of neighbor matrices (PCNM) as the explanatory variables to investigate the relative contributions of spatial and environmental parameters to the variation in PCC, with the same analysis methods as those used in a former study in Bohai Bay18. The spatial parameters included linear trends and PCNM, and the environmental factors included all the physical–chemical parameters detected in Bohai Bay seawater samples.

The OTUs responsible for the differences among the sampling times were identified by correlation-based indicator species analysis using the function multipatt () in the package “indicspecies”45 and likelihood ratio tests using the function DGEList () in the package “edgeR”46. Finally, the OTUs confirmed by both approaches were defined as seasonal sensitive OTUs (ssOTUs). The cooccurrence network was performed on the OTUs with a relative abundance of > 0.01%. Then, the abundances of screened OTUs were normalized by the “trimmed means of M” (TMM) method and expressed as relative abundance per counts million (CPM) using the function cpm () in the package “edgeR”. The TMM-normalized CPM counts and calculated Spearman rank correlations (ρ > 0.7, p < 0.001) between OTUs were utilized to construct a meta co-occurrence network. To further investigate the relationship of ssOTUs and the community structure of different sampling times, we identified net-work modules, which are substructures of nodes with a higher density of edges within groups than between them. For this, we utilized the greedy optimization of modularity algorithm47 as implemented in the package “igraph”. Modules with the ssOTUs were further analysed to calculate the cumulative relative abundance using the TMM method; simultaneously, the regression analysis between the module abundance and environmental factors was also analysed through R48.

The functional potential of the prokaryotic community was predicted by PICRUSt2 (v2.1.4 beta)49 according to the guidelines with the unrarefied OTU abundance table as the input. The relative predicted abundance of KEGG pathways was calculated by dividing the abundance of each pathway by the sum of all pathway abundances per sample. The relative contribution of each OTU to the predicted pathways was calculated by dividing the contribution of each OTU by the sum of all contributions per sample. The significantly discriminant energy metabolism gene ontologies related to nitrogen and sulfur metabolism in each sampling time were determined using LDA effect size50, which employs the factorial Kruskal–Wallis sum-rank test (α = 0.05) to identify genes with significantly different relative abundances between sampling times (using one-against-all comparisons). The taxonomy assignment of the predicted genes associated with nitrogen or sulfur metabolism with relative abundance significantly different in each season was plotted using Heml 1.051.

Analysis of assembly processes of prokaryotic communities

The β-nearest taxon index (βNTI)12 and Bray–Curtis-based Raup–Crick (RCbray)52 were used to quantify community assembly processes and identify features that impose them. Based on the random shuffling of OTU labels across the tips of the phylogeny, the βNTI was computed as the number of standard deviations that observed β-mean nearest taxon distance (βMNTD) values deviated from the mean of the null distribution (999 null replicates)12. If the observed βMNTD is significantly greater or less than the null expected phylogenetic turnover (βNTI >  + 2 or <  − 2), we can infer that “heterogeneous selection” or “homogeneous selection” (under heterogeneous or homogeneous environmental conditions) governs phylogenetic difference or similarity between communities, respectively53,54. If |βNTI|< 2, stochastic processes may play an important role in structuring microbial communities12,17. The second step of the quantification was to use the modified Raup-Crick metric55 based on Bray‒Curtis dissimilarity to evaluate the standardized deviation of observed OTU compositional turnover from the null expectation52. When |βNTI|< 2, if the observed Bray‒Curtis dissimilarity is significantly greater or less than the null expected compositional turnover (RCbray >  + 0.95 or <  − 0.95), we can infer that “dispersal limitation” or “homogenizing dispersal” governs compositional difference or similarity between communities, respectively. RCbray values between − 0.95 and + 0.95 infer that the compositional turnover between a given pair of communities is “undominated” by any single process54. Subsequently, we calculated the percentages of each process in all pairwise comparisons according to the βNTI and RCbray values.

The boxplot or bar plot in Figs. 2, 3, 5 and 6 were made through the ImageGP web server39.