Skip to main content

Explore mediated co-varying dynamics in microbial community using integrated local similarity and liquid association analysis



Discovering the key microbial species and environmental factors of microbial community and characterizing their relationships with other members are critical to ecosystem studies. The microbial co-occurrence patterns across a variety of environmental settings have been extensively characterized. However, previous studies were limited by their restriction toward pairwise relationships, while there was ample evidence of third-party mediated co-occurrence in microbial communities.


We implemented and applied the triplet-based liquid association analysis in combination with the local similarity analysis procedure to microbial ecology data. We developed an intuitive scheme to visualize those complex triplet associations along with pairwise correlations. Using a time series from the marine microbial ecosystem as example, we identified pairs of operational taxonomic units (OTUs) where the strength of their associations appeared to relate to the values of a third “mediator” variable. These “mediator” variables appear to modulate the associations between pairs of bacteria.


Using this analysis, we were able to assess the OTUs’ ability to regulate its functional partners in the community, typically not manifested in the pairwise correlation patterns. For example, we identified Flavobacteria as a multifaceted player in the marine microbial ecosystem, and its clades were involved in mediating other OTU pairs. By contrast, SAR11 clades were not active mediators of the community, despite being abundant and highly correlated with other OTUs. Our results suggested that Flavobacteria are more likely to respond to situations where particles and unusual sources of dissolved organic material are prevalent, such as after a plankton bloom. On the other hand, SAR11s are oligotrophic chemoheterotrophs with inflexible metabolisms, and their relationships with other organisms may be less governed by environmental or biological factors.


By integrating liquid association with local similarity analysis to explore the mediated co-varying dynamics, we presented a novel perspective and a useful toolkit to analyze and interpret time series data from microbial community. Our augmented association network analysis is thus more representative of the true underlying dynamic structure of the microbial community. The analytic software in this study was implemented as new functionalities of the ELSA (Extended local similarity analysis) tool, which is available for free download (


Marine ecosystem dynamics are likely controlled by environmental conditions and by the interactions between individual microbial taxa in the environment [1, 2]. Therefore, the study of the interplay among microbial species and the factors that control them are critical to understand and predict ecosystems’ functions and their response to environmental changes. But how to apply theoretical approaches to predict species interactions in microbial communities from proximal data such as taxon abundances is still a key challenge in microbial ecology [3, 4]. Studies of microbial co-occurrence patterns [5,6,7] have led to novel insights into the ecology and habitats of different bacterial species. For instance, correlation network analyses have shown that related organisms, such as different ecotypes of SAR11 respond to different environmental conditions and co-occur with different bacterial, archaeal and protistan species [7, 8]. Such analyses have also elucidated the differences in the interactions between grazers and viruses with bacteria [9, 10], and have suggested that changes in surface environments can have an effect on bacteria deep in the ocean [11, 12].

One limitation of previous correlation-based methods, such as CoNet, MENAP, SparCC, and CCLasso [13,14,15,16] is that they examine only pairwise correlations between organisms. It is however observed that some relationships between organisms are mediated by third variables [17,18,19]. For example, in marine ecosystems, mixotrophic eukaryotes feed on bacteria under some conditions (such as low sunlight or high prey density) but are photosynthetic under others. The trophic mode of these mixotrophs, is thus influenced by environmental conditions; in turn the way the mixotrophs interact with their environment is influenced by their trophic mode. Thus, a three variable mediation relationship could exist where sunlight levels (through trophic mode) affect the relationship between the mixotroph and its prey. Many bacteria are mixotrophic as well [20,21,22], and may similarly have interactions with their surroundings that are mediated by the variables that determine the trophic mode.

Other associations that likely include more than two variables would include symbioses that are favorable under only certain conditions. A well-known example is the symbioses between nitrogen fixing bacteria and their eukaryotic hosts [23,24,25], which are likely only prevalent in nitrogen-limited environments. Syntrophic relationships likewise would only exist under conditions favorable to that relationship, as would predation, competition and any other interaction that could occur between two organisms but might be mediated by third variables.

To examine how co-occurrence might be mediated by biological or environmental variables we employed liquid association (LA) analysis [26, 27] in succession to co-occurrence network analysis by the local similarity analysis (LSA) [6, 28, 29]. The rationale here is that LSA acts as a filtering mechanism to limit our three way analysis to only those variables that were at least sometimes associated with each other. Importantly, local associations, measured by ELSA [28,29,30], can include patterns that are present and robust over some parts of a time-series data set while weak or absent in other parts of that time-series. A natural question is whether the time-series are associated with a third variable. This question can then be measured by LA.

Our newly implemented Extended Liquid Association (ELA) analysis pipeline integrates both co-occurrence and mediation analysis to identify both pairwise and third party mediated associations. The ELA software is available as subroutines of the ELSA package ( The tool will enable researchers to address the co-occurrence phenomenon with additional perspective of changing pairwise species-species or species-environment interaction with regard to a third species or environmental factor, or a varying ecosystem indicator. In this study, we identified multi-party interactions in interspecies and species-environment interaction using the San Pedro Ocean Time-series (SPOT) microbial community data by Cram et al. [11], which profiles the marine ecosystem near Los Angeles coast [7] using Automated Ribosomal Intergenic Spacer Analysis (ARISA) [31]. We also discussed the limitations of current analysis and possible future developments of ELA.


Analysis scheme

Our entire process, from data collection through visualization was outlined in Fig. 1 and is detailed in the following subsections. Briefly, we first collected the combined SPOT dataset (as detailed in Data Collection) including both operational taxonomic unit (OTU) abundance levels and environmental factors co-measured. We then imputed the missing values and applied rank-based normalization to the dataset (as detailed in Data Normalization). The normalized data was analyzed by the ELSA software to discover significant local pairwise associations (as detailed in Local Similarity Analysis); these are associations that are present over part, though not necessarily all of the time series. Finally, we analyzed these significant local associations with the Extended Liquid Association routines within ELSA to reveal third party meditations of these pairwise interactions (as detailed in Liquid Association Analysis). We finally described a novel visualization scheme to represent mediated association triplets in Cytoscape [32], and discussed their implications (as detailed in Visualization).

Fig. 1
figure 1

The flowchart of integrated co-occurrence (Local Similarity) and mediation (Liquid Association) analysis pipeline

Our new bioinformatics tool - Extended Liquid Association (ELA) implements every step described in this analysis. This tool integrates two established and validated methods: Liquid Association analysis by Li et al [26] and the Local Similarity Analysis by Ruan et al. [6] and Xia et al. [28]. We chose to combine these tools because they behave synergistically with each other -- ELSA can uniquely identify local time-series associations and LA can elucidate those associations that are modulated by a third variable. Furthermore, the two tools, LSA and LA have been individually benchmarked extensively, comparing with other tools by independent studies [33, 34]. Indeed, in a comparison of many tools for correlation based network analysis, Weiss et al. [13] recently identified LSA as the best tool for correlation-based ecological time series data analysis.

Data collection

Our data were from the San Pedro Ocean Time-series project, which are publicly available from the BCO-DMO (Biological & Chemical Oceanography Data Management Office) websites: <> (physical and chemical data) and <> (biological data). The generation of these data has been described previously [35]. The samples were collected approximately monthly from 5-m depth from August 2000 through January 2011. Environmental parameters such as temperature and salinity measurements were measured in situ. Nitrate, nitrite, phosphate and silicate concentrations were measured by auto-analyzer. Bacterial heterotrophic productivity was measured through thymidine and leucine incorporation. Bacterial and viral concentrations were measured by SYBR (Synergy Brands, Inc) green epifluorescence microscopy. We also obtained satellite estimates chlorophyll-A concentration, and surface productivity. Other environmental variables included day length, virus to bacteria ratios, the excess phosphate concentration over Redfield ratios, and cell doubling time.

Bacterial community composition was determined by the ARISA fingerprinting method in conjunction with clone libraries. The ARISA data we used were a set of 423 of operational taxonomic units with putative taxonomic identities. The final data set is a 423 by 120 data matrix, where each row is an ARISA profile and each column is a time point (each entry value of an ARISA profile stands for the percentage of that operational taxon unit (OTU) in the community at the time. A 35 by 120 data matrix of supplementary biotic and abiotic environmental factors and ecosystem status indicators was combined with the ARISA data, in which, each row is one environmental factor and each column is the measure of that environmental factor at one time point, to obtain the final merged 458 by 120 raw data matrix.

Data normalization

We took the approach as in Li et al. [26] to normalize the relative abundance for ARISA datasets. In detail, to accommodate possible nonlinear associations and the variation of scales within the raw data, we apply the following approach to normalize the raw dataset before our analysis. We use Xi to denote the raw data of the i-th time spot of a variable. Assuming we have n samples in OTU profile, first, we take

$$ {R}_k=\operatorname{rank}\ \mathrm{of}\ {X}_k\ \mathrm{in}\ \left\{{X}_1,{X}_2,\dots, {X}_n\right\} $$

Then, we take:

$$ {Z}_k={\Phi}^{-1}\left[\frac{R_k}{n+1}\right], $$

where Φ is the cumulative distribution function of the standard normal distribution. We will take Z = Z[1 : n] obtained through the above procedure as the normalization of X.

A flowchart for incorporating Liquid Association (LA) with Local Similarity Analysis (LSA) was shown in Fig. 1. First, we used LSA to find candidate local and without time-delayed associations between factors X and Y. We filtered the results based on p-value and q-value. Then, given the significant LSA factors X and Y, we computed LA score to screen all environmental/OTU factors to discover potential mediating factor Z. Next, a permutation test for liquid association was performed and the results were filtered based on p-value and q-value to remove insignificant triplets. Finally, we used the software Cytoscape to visualize the resulted association network.

Local similarity analysis

In the next step, Local similarity analysis (LSA) was used to screen locally co-occurring pairs for later third-party mediation analysis. The LSA technique has been fully characterized in previous literature and has been successfully applied to the study of the co-occurrence networks within marine ecosystems [6, 7, 28, 29]. In this study, LSA was applied to find local associations with or without time delays. LSA was carried out with the ELSA software package [29] with parameters ‘-d 0’ and ‘-p theo’. The ‘-d 0’ flag in this case indicates to the algorithm that we only wanted to identify unlagged associations -- that is, associations of zero time delay. This parameter was chosen because we were only interested in synchronized co-occurrences and thus accepted only local similarity associations without delays. We also specified, with the ‘-p theo’ flag that we wanted to estimate the p-value with the faster theoretical approximation [28] rather than the slower permutation based approach.

To correct for multiple testing, we use the false discovery rate (FDR) or q-value (Q). This q-value is defined as the fraction of false positives if a given association is declared as significant [36]. Resulting pairs with “P≤0.001”, “Q≤0.05” and with an association segment spanning more than 50% of the total sampled time units were selected as correlated pairs. A cut-off for Local Similarity (LS) Score was determined at 0.28 by those p-value and q-value cut-offs, which could be interpreted as an analog of correlation coefficient of the same sample size.

Liquid association analysis

Next, we applied liquid association (LA) analysis to the each of the correlated pairs of variables to find their mediating factors. Liquid association analysis was originally developed by K.C. Li et. al. for characterizing the internal evolution of expression pattern of a pair of genes (X,Y) depending on a ‘scouting’ (mediator) gene Z [26]. In the microbial ecology setting, we analyze ecological functional factors instead of genes. Suppose X, Y, and Z are ecological functional factors and their measurements are standard normal distributed (after a normalization procedure) random variables with mean 0 and variance 1. The liquid association score (LA score) of X and Y with respect toZ, as denoted by LA (X; Y| Z), is defined as LA(X; Y| Z) = E(XYZ).

We estimate the LA score using the average product of three properly normalized factors:

$$ \mathrm{LA}\left(X;Y|Z\right)=\frac{1}{m}{\sum}_{i=1}^m{X}_i{Y}_i{Z}_i $$

It can be seen that LA(X; Y| Z) = LA(Y; X| Z) = LA (Z; Y| X). Therefore, the LA score is a measurement of dependent association among the three functional factors; however, the score does not tell which two of the three are associated, which other is the mediating the relationship. In our analysis, the LSA approach supplements as the first step to identify the correlated pairs and then we used the identified pairs to scout for mediating factors.

To see whether the LA score computed is statistically significant, a permutation test was performed. To do this, after we computed the true LA score for X and Y with respect to Z, we randomly permuted the sequences of Z, and computed again a permuted LA score and compared it to the true LA score to see whether it was more extreme. The procedure was repeated many times (N = 1000) and the p-value (P) was calculated as the fraction that the permuted LA scores were higher than the true LA score. We used “P≤0.001” and “Q≤0.05” to control for statistical significance and multiple testing.

As shown in Fig. 2, There are four types of mediated correlation relationship, i.e., liquid association types, among factors X, Y and Z: (A) High Z level enhances the positive correlation between X and Y (Fig. 2a); (B) Low Z level enhances the negative correlation between X and Y (Fig. 2b); (C) Low Z level enhances the positive correlation between X and Y (Fig. 2c); (D) High Z level enhances the negative correlation between X and Y (Fig. 2d). In all cases, the correlation between X and Y is mediated by the level of Z. Those liquid association scenarios include cases when factors X and Y are correlated in one direction when Z is in one state, and X and Y cease to correlate or even to correlate reversely when the state of Z changes [26].

Fig. 2
figure 2

Mediated correlation and example Cytoscape diagrams for all liquid association types of factors X, Y and Z. a High Z level enhances the positive correlation between X and Y; b Low Z level enhances the negative correlation between X and Y; c Low Z level enhances the positive correlation between X and Y; d High Z level enhances the negative correlation between X and Y

For example, the scenario a high Z level enhances the positive correlation between X and Y is shown in Fig. 2a. In the upper panel of Fig. 2a, factors X and Y were displayed in a scatter plot and the corresponding status of Z was both shape- and color-coded in the scattered points. A green circle stands for a low level of Z while an orange square stands for elevated level. The mediated co-occurrence is represented by an orange-colored regression line applied to the scatter points of high level of Z only. We designed the graphic element as in the lower panel of Fig. 2a to illustrate this relationship for visualizing the co-occurrence networks using Cytoscape. Those three factors: X, Y and Z, were interconnected via a gray triangle to denote this three-way association. The wavy line connecting the triangular with the factor Z stands for mediation and the solid lines connecting the triangular with X and Y stands for the mediated correlation. We use red to indicate positive correlations and blue for negative correlations. Similarly, one can interpret the other types of liquid associations as depicted in the other panels of Fig. 2.


To illustrate those complex triplet relationships in Cytoscape, we created a representation diagrams for each type: Green squares represent environmental factors or ecosystem status indicators. Violet octagons represent functional groups (OTUs). Gray triangles represent the three-way liquid association. Solid lines indicate local similarity associations - red solid lines indicate positive correlations while blue solid lines indicate the negative. Wavy lines indicate third-party mediation - red wavy lines indicate that the association is strong when the mediating variable is high, while the blue wavy lines indicate that the association is strong when the mediating variable is low (see Fig. 2).

We loaded all liquid association and local similarity connections into Cytoscape [32], along with metadata of bacterial and environmental factors. With Cytoscape we illustrated all significant three-way associations that involved environmental parameters. Those associations were all statistically significant and their pairwise LS scores were higher than 0.28. We went on to investigate associations that involved nodes of special interest. We first investigated pairwise interactions between operational taxonomic units that were regulated by environmental parameters. We also investigated associations that involved at least one OTU from the SAR11 cluster, as well as associations that contained at least one OTU from the class Flavobacteria.


Co-occurrence mediated by environmental factors

Bacterial abundance

Inspection of the liquid association interactions between pairs of OTUs that were mediated individual environmental parameters identified a variety of three-way interactions. Bacterial abundance (Bact) appeared to predict correlations of seven pairs of operational taxonomic units (Fig. 3). That is, seven pairs of positively and negatively correlated OTUs showed strongest correlations in their relative abundance in some cases when total bacterial abundance was high, and in other cases when bacterial abundance was low. For instance, the correlation between AEGEAN_676.9 and OTU522.8 is positive and was at its strongest when the total bacterial abundance was high. Conversely, as shown in the figure, the correlation between AEGEAN_676.9 and Prochl_HL (I)_828.8 was positive and at its strongest when total bacterial abundance was low.

Fig. 3
figure 3

A sub-network of local and liquid associations in which OTU correlations were mediated by the total bacterial abundance (Bact), an environmental factor

In total, five of those seven pairs of bacteria (SAR11_682.4, SAR11_703.7, AEGEAN_653.1, AEGEAN_679.4, AEGEAN_676.9) contained at least one OTU from the SAR11 cluster. Furthermore, six of the seven pairs were linked by a common OTU (Bact). That is, there were two OTUs (OCS155_418.5 and OM43_836.8) that were correlated (positively or negatively) with another OTU when total bacterial abundance was high but correlated with a different OTU when the bacterial abundance was low. Overall it suggested that an alternating pattern exists for those common OTUs as they change interacting partners and types as the total bacteria abundance rise or drops, for example, when Bact is high OM43 may compete with Formos but when Bact is low, OM43 instead cooperates with AEGEAN.

Other environmental factors

There were many other environmental parameters that also appeared to be in liquid association with correlated OTU pairs, including silicate (12 connections), viral abundance (5 connections), salinity (6 connections), bacterial productivity as measured by thymidine incorporation (4 connections), the rate of change in day length (spring vs fall) (4 connections), phosphate concentration, and chlorophyll-A concentration (3 connections) (see Fig. 4).

Fig. 4
figure 4

A comprehensive network of local and liquid associations in which OTU correlations were mediated by environmental factors

For example, chlorophyll-A concentration (Chol_A_Sat) was a critical mediator of alphaproteobacteria and actinobacteria clades. When it was high, it enhanced the cooperation between SAR11_703.7 and AEGEAN169_653.1 clades - both were alphaproteobacteria, to promote carbon oxidization. This positive triplet association indicated likely oxidative bacteria bloom after a major increase of marine productivity from photosynthetic plankton as indicated by high Chol_A_Sat level. Such alphaproteobacterial cooperativity however was inhibited by competition from OTU OCS155_418.5, which was a predominantly actinobacteria clade and was also involved in degrading organic matters, as we could observe an enhanced negative correlation between SAR11_682.4 and OCS155_418.5 when Chol_A_Sat concentration was high. A nature explanation for the observation was alphaproteobacteria and actinobacteria’s competing biochemical nature to degrade organic matters. Interestingly, when Chol_A_Sat was low, it also enhanced the cooperation between two other alphaproteobacterial OTUs (SAR216_744.7 and AEGEAN_679.4). This partner switch suggested subclones of alphaproteobacterium clades could rise or cease to dominate clade activity depending on changing environmental status.

Co-occurrence mediated by other operational taxonomic units


Due to its unique metabolism and ecological role [37, 38], as well as its abundance and temporal variability in the surface of the san pedro channel [6] and globally [39], we focused on three-way associations in which any of the three nodes were from the SAR11 clade (Pelagibacterales). It was evident that while many SAR11s were correlated with other operational taxonomic units, only OTU SAR11_735.5 appeared to be involved in (several) three-way interactions with cutoffs of a liquid association effect larger than 0.8 (Fig. 5).

Fig. 5
figure 5

A sub-network showing OTUs mediated and/or correlated to/by SAR11 OTUs. SAR11 nodes were highlighted by bold outlines. All SAR11 in the dataset and their significant liquid and local associations were shown

In the sub-network formed by the five correlating OTUs (Fig. 6), SAR11_735.5 has a special status. First, SAR11_735.5 and OTU_545.8 (an OTU of unknown taxonomy) were positively correlated. They were connected by red solid lines and their correlations were mediated (gray triangle) by three OTUs (OCS155_871.5, PAUG3G_600.6, and OTU_522.8). When the abundance of those three mediating OTUs were high, the strength of the positive correlation between SAR11_735.5 and OTU_545.8 was stronger, and those positive three-way interactions were represented by red wavy lines. Further, the correlations of four pairs of SAR11 OTUs (OTU_545.8 and OCS155_871.5, OTU_545.8 and PAUC34_600.6, OCS155_871.5 and OTU_522.8, PAUC34_600.6 and OTU_522.8) were mediated by SAR11_735.5. When the abundance of SAR11_735.5 was high, the strength of these four correlations were stronger. Notably, all correlations between pairs of OTUs and three-way interactions in this network were all positive, implying these OTUs benefited from each other’s boom and their relationships belonged to mutualism. This subgraph illustrated a complex and largely feed-forward trophic network that whose dynamics depended on the activity of SAR11 clades.

Fig. 6
figure 6

A sub-network of four bacterial OTUs that were liquid-associated with SAR11 and SAR11_735.5


The genus that appeared to be involved in the most three-way interactions was Flavobacteria with four nodes appearing in a tight cluster with other OTUs, most of which were liquid-associated (Fig. 7). These associations suggested that the bacteria in the cluster occasionally co-occurred together. At other times the Flavobacteria and their cooperatives were not co-occurring, but they were not necessarily all absent.

Fig. 7
figure 7

A sub-network showing OTUs mediated and/or correlated to/by Flavobacteria. Flavobacteria nodes were highlighted by bold outlines

There were 31 liquid association patterns in the (Fig. 7). All the Flavobacteria OTUs, which were highlighted by bold outlines, were involved in triple associations. OTU_522.8 was a special OTU (which was located at the left of Fig. 7) in this cluster. It was involved in more than 30 three-way association patterns. For instance, OTU_522.8 was positively correlated with OTU_545.8, and their correlation was mediated by six OTUs, which included Formos_785 and NS9_683.9. The red solid and wavy lines indicated that the relationship of those OTUs was mutualism. The correlation between OTU_522.8 and OCS155_871.5 was mediated by OCS155_435.5, the blue wavy line indicated that when the abundance of OCS155_435.5 was high, the positive correlation between OTU_522.8 and OCS155_871.5 was weaker, which demonstrates a competitive relationship between OCS155_435.5, OTU_522.8 and OCS155_871.5.


The interactions between microbial species are complex and often non-linear. Some of those interactions are regulated by factors within the microbial community itself [40], such as the levels of key organic matter producers. Some of them are however mediated by environmental factors, such as temperature, oxygen, among others. For example, water column mixing can disturb microbial communities by disrupting the physical–chemical gradients created by thermal stratification known to define niches for microorganisms [41,42,43,44,45]. Liquid association is thus promising in revealing and elucidating these complex non-linear co-mediated associations.


Analysis of the SPOT dataset suggested that there were a series of correlations that occurred most strongly only under certain conditions. We observed that several biotic and environmental parameters, especially bacterial and viral abundance, silicate concentrations and salinity appeared to predict a number of correlations between bacteria. Liquid associations involving these parameters suggest that not only do bacteria interact with each other and environmental parameters, but furthermore that the nature of the relationships between many bacteria are likely affected by their environment.

Liquid associations in which bacterial abundance mediated the relationships between pairs of OTUs could indicate symbioses or competitive interactions between species that depend upon either the overall density of the bacterial community. Denser microbial communities, for instance are likely to have higher encounter rates between bacteria pair of bacteria which could potentially increase opportunities for symbioses, antagonistic interactions, viral exchange and other interactions. Alternatively, some unmeasured parameter, such as predation [46]. For instance, the AEGEAN_676.9 bacteria (which is a SAR11 relative [47], is positively associated with OTU_522.8 under high bacterial abundance, and with Prochlorococcus High Light Strain 828.8 under low bacterial abundance. SAR11 is known to require metabolic by products of other organisms, and one could expect that it gathers these metabolites from different organisms under different conditions.

Viruses are believed to have complex effects on bacterial communities, and this study suggests a number of interactions that may be mediated either by the viruses themselves or an unmeasured factor that relates to viral abundance [48, 49]. Silicate concentrations likely affect the protest community with diatoms utilizing silicate and dinoflagellates taking advantage of low silicate conditions; these eukaryotes likely interact with bacteria by producing chemicals, consuming resources, through predation and possibly through symbioses [50]. These different conditions might impact the kinds of relationships bacteria could have. For instance, the several bacteria that work together to break down a compound produced by one source might show up as a three-way positive interaction. Meanwhile two bacteria that compete to colonize a diatom symbiotic host or diatom carcass might show up as a three-way negative interaction with diatoms.

The parameter in our dataset that appeared to predict the associations between the most of OTUs was the number of days that had elapsed since the beginning of our data set. This suggests that a number of correlations that could be found in the first part of our data set were not seen in the later years of the data set and vice versa. This suggests a long-term temporal shift in the kinds of associations in the bacterial community.


There were numerous cases of interactions between trios of bacteria and noticed that certain groups appeared to be associated with these three way interactions but not others. We observed notably different patterns between the liquid associations that contained at least one SAR11 OTU and those liquid associations that contained at least one Flavobacterial OTU. SAR11s, with the exception of one OTU (SAR11_735.5), appear to not be found in three-way liquid associations in this dataset, meaning that while they may correlate with other bacteria, the magnitude of this correlation is rarely associated with the relative abundance of a third OTU. This lack of three way associations suggests that SAR11 bacteria themselves do not influence associations between other kinds of bacteria. On the other hand, out of ten Flavobacterial OTUs that correlated with other bacteria, eight of these appeared to be part of liquid associations. The overall pattern for Flavobacteria is that they were part of a cluster of positive liquid and local associations. This suggests that there was a set of conditions in which Flavobacteria and related OTUs co-occurred positively. However, under other conditions, these OTUs were un-related to each other. Likely these Flavobacteria and their associates were all responding to some unmeasured environmental situation such as a bloom. That is, when the unmeasured condition was happening, one set of associations predominated, and when it was not happening another set predominated. This manifests as three way associations between OTUs. Another possibility is that communities may structure themselves in different ways, with different sorts of exchanges between organisms. Under one structure, we see one set of patterns and under another we see a different set of patterns. This structure could be driven by (unmeasured) environmental variability, could be a process shaped the interplay between organisms themselves. As no environmental parameters that we measure appeared to associate with this cohort, we can only speculate at this time what likely caused this association.

This difference in patterns between microorganisms suggests different trends in the ecological associations between organisms of different genetic makeup. Flavobacteria are known for being particle associated and able to break down complex molecules and might respond to situations in which particles and unusual sources of dissolved organic material are prevalent, such as after a plankton bloom [51]. SAR11s on the other hand are known as oligotrophic chemoheterotrophs with inflexible metabolisms. Accordingly, their relationships with other organisms may be less governed by environmental or biological factors.


It should be noted that the collected data and obtained results are only associations (not causality), and need be further verified their validity by one by one OTU experimentation. Furthermore, the validity of ELA depends on the goodness of community fingerprint data, such as number of samples, accurate abundance of each species In the future, by applying ELA. In the future, by applying liquid association analysis to an integrated community big dataset, it is possible to find resilient associations are common to all communities as well as associations unique to certain community types. This can help us better understand the ecological dynamics with regard to community differences.


Multi-party correlations have been vastly revealed between biological entities ranging from ecosystems to genes [52]. Our approach of coupling local association with liquid association allows additional insight by first identifying statistical patterns, and then using liquid association to identify whether the strength of those patterns is modulated by additional variables. This approach examines many associations at once, and is thus inherently hypothesis generating. It allows for an initial exploration of patterns in a microbial data-set that go beyond pairwise correlations to three way correlations. In our analysis of the San Pedro Ocean time series, this approach has shown us for the first time that associations between organisms appear to change from the beginning to the end of the data set, that bacterial and viral total abundance appears to modulate the interactions between relative abundances of individual OTUs, and that OTU associations appear to be modulated both by environmental parameters and by other OTUs. These patterns provide a starting point for future observational approaches to explore whether these sorts of three-way patterns are robust across ecosystems, and for experimental and modeling approaches to explore the mechanistic underpinnings of these sorts of associations. We think this approach will be valuable in the analysis of any multivariate time-series data sets. We encourage groups to use the freely available software which has been added as an extension to the ELSA software package [28, 29] whose source code can be found at



Automated ribosomal intergenic spacer analysis


Extended local similarity analysis


False discovery rate


Liquid association


Local similarity analysis


Operational taxonomic unit


San Pedro Ocean Time Series


  1. DeLong EF, Karl DM. Genomic perspectives in microbial oceanography. Nature. 2005;437:336.

    Article  CAS  Google Scholar 

  2. Fuhrman JA, Cram JA, Needham DM. Marine microbial community dynamics and their ecological interpretation. Nat Rev Microbiol. 2015;13:133.

    Article  CAS  Google Scholar 

  3. Chapin Iii FS, Zavaleta ES, Eviner VT, Naylor RL, Vitousek PM, Reynolds HL, Hooper DU, Lavorel S, Sala OE, Hobbie SE, et al. Consequences of changing biodiversity. Nature. 2000;405:234.

    Article  Google Scholar 

  4. Widder S, Allen RJ, Pfeiffer T, Curtis TP, Wiuf C, Sloan WT, Cordero OX, Brown SP, Momeni B, Shou W, et al. Challenges in microbial ecology: building predictive understanding of community function and dynamics. ISME J. 2016;10:2557.

    Article  Google Scholar 

  5. Bálint M, Bahram M, Eren AM, Faust K, Fuhrman JA, Lindahl B, O'Hara RB, M Ö, Sogin ML, Unterseher M. Millions of reads, thousands of taxa: microbial community structure and associations analyzed via marker genes. FEMS Microbiol Rev. 2016;40(5):686–700.

    Article  Google Scholar 

  6. Ruan Q, Dutta D, Schwalbach MS, Steele JA, Fuhrman JA, Sun F. Local similarity analysis reveals unique associations among marine bacterioplankton species and environmental factors. Bioinformatics. 2006;22(20):2532–8.

    Article  CAS  Google Scholar 

  7. Steele JA, Countway PD, Xia L, Vigil PD, Beman JM, Kim DY, Chow C-ET, Sachdeva R, Jones AC, Schwalbach MS, et al. Marine bacterial, archaeal and protistan association networks reveal ecological linkages. ISME J. 2011;5:1414.

    Article  Google Scholar 

  8. Muyzer G. Marine microbial systems ecology: microbial networks in the sea. In: Stal LJ, Cretoiu MS, editors. The marine microbiome: an untapped source of biodiversity and biotechnological potential. Cham: Springer International Publishing; 2016. p. 335–44.

    Chapter  Google Scholar 

  9. Chow C-ET, Kim DY, Sachdeva R, Caron DA, Fuhrman JA. Top-down controls on bacterial community structure: microbial network analysis of bacteria, T4-like viruses and protists. ISME J. 2013;8:816.

    Article  Google Scholar 

  10. CJ A, PA E, FJ A. Dilution reveals how viral lysis and grazing shape microbial communities. Limnol Oceanogr. 2016;61(3):889–905.

    Article  Google Scholar 

  11. Cram JA, Xia LC, Needham DM, Sachdeva R, Sun F, Fuhrman JA. Cross-depth analysis of marine bacterial networks suggests downward propagation of temporal changes. ISME J. 2015;9:2573.

    Article  Google Scholar 

  12. Cram JA, Chow C-ET, Sachdeva R, Needham DM, Parada AE, Steele JA, Fuhrman JA. Seasonal and interannual variability of the marine bacterioplankton community throughout the water column over ten years. ISME J. 2014;9:563.

    Article  Google Scholar 

  13. Weiss S, Van Treuren W, Lozupone C, Faust K, Friedman J, Deng Y, Xia LC, Xu ZZ, Ursell L, Alm EJ. Correlation detection strategies in microbial data sets vary widely in sensitivity and precision. ISME J. 2016;10(7):1669.

    Article  CAS  Google Scholar 

  14. Deng Y, Jiang Y-H, Yang Y, He Z, Luo F, Zhou J. Molecular ecological network analyses. BMC Bioinformatics. 2012;13(1):113.

    Article  Google Scholar 

  15. Friedman J, Alm EJ. Inferring correlation networks from genomic survey data. PLoS Comput Biol. 2012;8(9):e1002687.

    Article  CAS  Google Scholar 

  16. Fang H, Huang C, Zhao H, Deng M. CCLasso: correlation inference for compositional data through lasso. Bioinformatics. 2015;31(19):3172–80.

    Article  CAS  Google Scholar 

  17. Ho YY, Parmigiani G, Louis TA, Cope LM. Modeling liquid association. Biometrics. 2011;67(1):133–41.

    Article  Google Scholar 

  18. Narisawa N, Haruta S, Arai H, Ishii M, Igarashi Y. Coexistence of antibiotic-producing and antibiotic-sensitive bacteria in biofilms is mediated by resistant bacteria. Appl Environ Microbiol. 2008;74(12):3887–94.

    Article  CAS  Google Scholar 

  19. Schulz-Bohm K, Geisen S, Wubs EJ, Song C, de Boer W, Garbeva P. The prey’s scent–volatile organic compound mediated interactions between soil bacteria and their protist predators. ISME J. 2017;11(3):817.

    Article  CAS  Google Scholar 

  20. Eiler A. Evidence for the ubiquity of mixotrophic bacteria in the upper ocean: implications and consequences. Appl Environ Microbiol. 2006;72(12):7431–7.

    Article  CAS  Google Scholar 

  21. Moore LR. More mixotrophy in the marine microbial mix. Proc Natl Acad Sci U S A. 2013;110(21):8323.

    Article  CAS  Google Scholar 

  22. Stoecker DK, Hansen PJ, Caron DA, Mitra A. Mixotrophy in the marine plankton. Annu Rev Mar Sci. 2016;9(1):311.

    Article  Google Scholar 

  23. Foster RA, Kuypers MMM, Vagner T, Paerl RW, Musat N, Zehr JP. Nitrogen fixation and transfer in open ocean diatom–cyanobacterial symbioses. ISME J. 2011;5(9):1484–93.

    Article  CAS  Google Scholar 

  24. Zehr JP. Nitrogen fixation by marine cyanobacteria. Trends Microbiol. 2011;19(4):162–73.

    Article  CAS  Google Scholar 

  25. Remigi P, Zhu J, Young JP, Masson-Boivin C. Symbiosis within Symbiosis: evolving nitrogen-fixing legume symbionts. Trends Microbiol. 2016;24(1):63–75.

    Article  CAS  Google Scholar 

  26. Li K-C. Genome-wide coexpression dynamics: theory and application. Proc Natl Acad Sci. 2002;99(26):16875.

    Article  CAS  Google Scholar 

  27. Wang L, Liu S, Ding Y, S-s Y, Ho Y-Y, Tseng GC. Meta-analytic framework for liquid association. Bioinformatics. 2017;33(14):2140–7.

  28. Xia LC, Ai D, Cram J, Fuhrman JA, Sun F. Efficient statistical significance approximation for local similarity analysis of high-throughput time series data. Bioinformatics. 2013;29(2):230–7.

    Article  CAS  Google Scholar 

  29. Xia LC, Steele JA, Cram JA, Cardon ZG, Simmons SL, Vallino JJ, Fuhrman JA, Sun F. Extended local similarity analysis (eLSA) of microbial community and other time series data with replicates. BMC Syst Biol. 2011;5(Suppl 2):S15.

    Article  Google Scholar 

  30. Xia LC, Ai D, Cram JA, Liang X, Fuhrman JA, Sun F. Statistical significance approximation in local trend analysis of high-throughput time-series data using the theory of Markov chains. BMC Bioinformatics. 2015;16:301.

    Article  Google Scholar 

  31. Brown MV, Schwalbach MS, Hewson I, Fuhrman JA. Coupling 16S-ITS rDNA clone libraries and automated ribosomal intergenic spacer analysis to show marine microbial diversity: development and application to a time series. Environ Microbiol. 2005;7(9):1466–79.

    Article  CAS  Google Scholar 

  32. Shannon P, Markiel A, Ozier O, Baliga NS, Wang JT, Ramage D, Amin N, Schwikowski B, Ideker T. Cytoscape: a software environment for integrated models of biomolecular interaction networks. Genome Res. 2003;13(11):2498–504.

    Article  CAS  Google Scholar 

  33. Duren Z, Wang Y. A systematic method to identify modulation of transcriptional regulation via chromatin activity reveals regulatory network during mESC differentiation. Scientific reports 6, 22656.

  34. Gunderson T, Ho YY. An efficient algorithm to explore liquid association on a genome-wide scale. BMC Bioinformatics. 2014;15:371.

    Article  Google Scholar 

  35. Chow C-ET, Sachdeva R, Cram JA, Steele JA, Needham DM, Patel A, Parada AE, Fuhrman JA. Temporal variability and coherence of euphotic zone bacterial communities over a decade in the Southern California bight. ISME J. 2013;7(12):2259–73.

    Article  CAS  Google Scholar 

  36. Storey JD, Tibshirani R. Statistical significance for genomewide studies. Proc Natl Acad Sci U S A. 2003;100(16):9440–5.

    Article  CAS  Google Scholar 

  37. Carini P, Campbell EO, Morré J, Sanudo-Wilhelmy SA, Thrash JC, Bennett SE, Temperton B, Begley T, Giovannoni SJ. Discovery of a SAR11 growth requirement for thiamin’s pyrimidine precursor and its distribution in the Sargasso Sea. ISME J. 2014;8(8):1727.

    Article  CAS  Google Scholar 

  38. Tripp HJ. The unique metabolism of SAR11 aquatic bacteria. J Microbiol. 2013;51(2):147–53.

    Article  CAS  Google Scholar 

  39. James TM, Sundareshwar PV, Christopher TN, Bjorn K, Cahoon DR. Responses of coastal wetlands to rising sea level. Ecology. 2002;83(10):2869–77.

    Article  Google Scholar 

  40. Faust K, Lahti L, Gonze D, de Vos WM, Raes J. Metagenomics meets time series analysis: unraveling microbial community dynamics. Curr Opin Microbiol. 2015;25:56–66.

    Article  Google Scholar 

  41. Heaney SI, Talling JF. Dynamic aspects of dinoflagellate distribution patterns in a small productive lake. J Ecol. 1980;68(1):75–94.

    Article  Google Scholar 

  42. Vincent WF, Neale PJ, Richerson PJ. Photoinhibition: algal responses to bright light during diel stratification and mixing in a tropical alpine lake. J Phycol. 1984;20(2):201–11.

    Article  CAS  Google Scholar 

  43. Ovreås L, Forney L, Daae FL, Torsvik V. Distribution of bacterioplankton in meromictic Lake Saelenvannet, as determined by denaturing gradient gel electrophoresis of PCR-amplified gene fragments coding for 16S rRNA. Appl Environ Microbiol. 1997;63(9):3367–73.

    PubMed  PubMed Central  Google Scholar 

  44. Cytryn E, Minz D, Oremland RS, Cohen Y. Distribution and diversity of archaea corresponding to the limnological cycle of a hypersaline stratified lake (solar lake, Sinai, Egypt). Appl Environ Microbiol. 2000;66(8):3269–76.

    Article  CAS  Google Scholar 

  45. Fenchel T, Finlay B. Oxygen and the spatial structure of microbial Communities. Biol Rev Camb Philos Soc. 2008;83:553–69.

    PubMed  Google Scholar 

  46. Pernthaler J, Posch T, Simek K, Vrba J, Amann R, Psenner R. Contrasting bacterial strategies to coexist with a flagellate predator in an experimental microbial assemblage. Appl Environ Microbiol. 1997;63(2):596–601.

    CAS  PubMed  PubMed Central  Google Scholar 

  47. Alonso-Sáez L, Balagué V, Sà EL, Sánchez O, González JM, Pinhassi J, et al. Seasonality in bacterial diversity in north-west Mediterranean coastal waters: assessment through clone libraries, fingerprinting and FISH. FEMS Microbiol Ecol. 2007;60:98–112.

  48. Fuhrman JA, Schwalbach M. Viral influence on aquatic bacterial communities. Biol Bull. 2003;204(2):192–5.

    Article  CAS  Google Scholar 

  49. Michael SS, Ian H, Jed AF. Viral effects on bacterial community composition in marine plankton microcosms. Aquat Microb Ecol. 2004;34(2):117–27.

    Google Scholar 

  50. Zhang S, Liu H, Ke Y, Li B. Effect of the silica content of diatoms on protozoan grazing. Front Mar Sci. 2017;4:202.

    Article  Google Scholar 

  51. Carlson CA, Giorgio PAD, Herndl GJ. Microbes and the dissipation of energy and respiration: from cells to ecosystems. Oceanography. 2007;20(2):89.

    Article  Google Scholar 

  52. Coutinho FH, Gregoracci GB, Walter JM, Thompson CC, Thompson FL. Metagenomics sheds light on the ecology of marine microbes and their viruses. Trends Microbiol. 2018;26(11):955–65.

    Article  CAS  Google Scholar 

Download references


This study would not have been possible without the support of Drs. Fengzhu Sun and Jed Fuhrman, and many of their lab members at the University of Southern California. L.C.X. wants to thank Dr. Nancy Zhang at University of Pennsylvania and Dr. Hanlee Ji at Stanford University for their support and helpful discussions.


This work was supported by grants from the National Natural Science Foundation of China (61873027, 61370131). Publication charge of this article was sponsored by NSFC (61370131). L.C.X. was supported by the United States National Institute of Health (HG006137–07), the American Cancer Society (132922-PF-18-184-01-TBG), and the fund for Innovation in Cancer Informatics (ICI).

Availability of data and materials

All data generated or analyzed during this study are included in this published article.

About this supplement

This article has been published as part of BMC Genomics Volume 20 Supplement 2, 2019: Selected articles from the 17th Asia Pacific Bioinformatics Conference (APBC 2019): genomics. The full contents of the supplement are available online at

Author information

Authors and Affiliations



D.A., J.A.C. and L.C.X. conceived and designed the experiments; D.A., X.X.L. and H. P. performed the experiments and analyzed the data; and D.A., J.C., J.A.C. and L.C.X. wrote the paper. All the authors have read and approved the final manuscript.

Corresponding authors

Correspondence to Jacob A. Cram or Li C. Xia.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ai, D., Li, X., Pan, H. et al. Explore mediated co-varying dynamics in microbial community using integrated local similarity and liquid association analysis. BMC Genomics 20 (Suppl 2), 185 (2019).

Download citation

  • Published:

  • DOI: