Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2021 Nov 8;17(11):e1009584. doi: 10.1371/journal.pcbi.1009584

The role of competition versus cooperation in microbial community coalescence

Pablo Lechón-Alonso 1,2,*, Tom Clegg 2, Jacob Cook 2,3, Thomas P Smith 2, Samraat Pawar 2
Editor: Daniel Segrè4
PMCID: PMC8601617  PMID: 34748540

Abstract

New microbial communities often arise through the mixing of two or more separately assembled parent communities, a phenomenon that has been termed “community coalescence”. Understanding how the interaction structures of complex parent communities determine the outcomes of coalescence events is an important challenge. While recent work has begun to elucidate the role of competition in coalescence, that of cooperation, a key interaction type commonly seen in microbial communities, is still largely unknown. Here, using a general consumer-resource model, we study the combined effects of competitive and cooperative interactions on the outcomes of coalescence events. To do so, we simulate coalescence events between pairs of communities with different degrees of competition for shared carbon resources and cooperation through cross-feeding on leaked metabolic by-products (facilitation). We also study how structural and functional properties of post-coalescence communities evolve when they are subjected to repeated coalescence events. We find that in coalescence events, the less competitive and more cooperative parent communities contribute a higher proportion of species to the new community because of their superior ability to deplete resources and resist invasions. Consequently, when a community is subjected to repeated coalescence events, it gradually evolves towards being less competitive and more cooperative, as well as more speciose, robust and efficient in resource use. Encounters between microbial communities are becoming increasingly frequent as a result of anthropogenic environmental change, and there is great interest in how the coalescence of microbial communities affects environmental and human health. Our study provides new insights into the mechanisms behind microbial community coalescence, and a framework to predict outcomes based on the interaction structures of parent communities.

Author summary

In nature, new microbial communities often arise from the fusion of whole, previously separate communities (community coalescence). Despite the crucial role that interactions among microbes play in the dynamics of complex communities, our ability to predict how these affect the outcomes of coalescence events remains limited. Here, using a general mathematical model, we study how the structure of species interactions confers an advantage upon a microbial community when it encounters another, and how communities evolve after undergoing repeated coalescence events. We find that competitive interactions between species preclude their survival upon a coalescence event, while cooperative interactions are advantageous for post-coalescence survival. Furthermore, after a community is exposed to many coalescence events, the remaining species become less competitive and more cooperative. Ultimately, this drives the community evolution, yielding post-coalescence communities that are more species-rich, productive, and resistant to invasions. There are many potential environmental and health implications of microbial community coalescence, which will benefit from the theoretical insights that we offer here about the fundamental mechanisms underlying this phenomenon.

Introduction

Microbial communities are widespread throughout our planet [1], from the human gut to the deep ocean, and play a critical role in natural processes ranging from animal development and host health [2, 3] to biogeochemical cycles [4]. These communities are very complex, typically harboring hundreds of species [5], making them hard to characterize. Over the last decade, the advent of cost-effective high-throughput DNA sequencing techniques has allowed high-resolution mapping of these communities, opening a niche for theoreticians and experimentalists to collaboratively decipher their complexity and assembly [612].

Entire microbial communities are often displaced over space and come into contact with each other due to physical (e.g., dispersal by wind or water) and biological (e.g., animal-animal or animal-plant interactions, and leaves falling to the ground) factors [1316]. The process by which two or more communities that were previously separated join and reassemble into a new community has been termed community coalescence [17]. Although microbial community coalescence is likely to be common, the effects of both intrinsic and extrinsic factors on the outcomes of such events remains poorly understood [18]. Among extrinsic factors, resource availability, immigration rate of new species, and environmental conditions (especially, pH, temperature, and humidity) are likely to be crucial [1921]. Among intrinsic factors, the role of functional and taxonomic composition and the inter-species interaction structures of parent communities are expected to be particularly important [19, 20]. We focus on the role of species interactions on community coalescence in this study.

Early mathematical models suggested that in encounters between animal and plants communities, species in one community are more likely to drive those in the other extinct (community dominance) [22, 23]. This was explained as being the result of the fact that communities are a non-random collection of species assembled through a shared history of competitive exclusion, and therefore act as coordinated entities. Recent theoretical work [24] has more rigorously established this for microbial community coalescence events, showing that the dominant community will be the one capable of more efficiently depleting all resources simultaneously. Overall, these findings suggest that communities arising from competitive species sorting exhibit sufficient “cohesion” to prevent invasions by members of other communities [25, 26].

However, empirical support for the role of competition alone in coalescence outcomes is circumstantial, and the role of cooperation, which is commonly observed in microbial communities, is yet to be addressed theoretically. For example, during coalescence in methanogenic communities, “cohesive” units of taxa from the community with the most efficient resource use are co-selected [21]; and in aerobic bacterial communities, the invasion success of a given taxon is determined by its community members as a result of collective consumer-resource interactions and metabolic feedbacks between microbial growth and the environment [27]. These microbial communities exhibit cooperation through a typically dense cross-feeding network, where leaked metabolic by-products of one species are shared as public goods across the entire community [2830]. Nonetheless, neither [21] nor [27] addressed the role of competition and cooperation in determining the outcome of coalescence events in microbial communities, which have been suggested as key factors that may influence it [20, 31, 32].

Here, we first use a general consumer-resource model that includes cross-feeding to assemble complex microbial communities having different degrees of competition and cooperation. Thereafter, we focus on determining the relative importance of the two types of interactions on outcomes of coalescence events between the assembled communities. Finally, we quantify the subsequent evolution of the structural and functional properties of coalesced communities.

Methods

Mathematical model

Our mathematical model for the microbial community dynamics is based on the work of Marsland et al. [6] (see Section 1 in S1 Text, Table 1, and Fig 1):

dNαdt=gαNα((1-lα)jcαjRj-zα),dRjdt=κj+τ-1Rj-αNαcαjRj+αkNαlαDαkjcαkRk. (1)

Table 1. Table of parameters used in our model.

The units Ea and Ba represent arbitrary energy and biomass units, respectively.

Parameter Description Value Units
g α Biomass synthesised per unit energy harvested by species α 1 Ba Ea-1 mol-1
c αj Energy uptake rate of metabolite j by species α {1, 0} Ea s-1 Ba-1
D kj Fraction of metabolite k that’s leaked in the form of j [0, 1] None
κ j Supply rate of metabolite j 2 mol s-1
τ Time scale of resource dilution 0.25 s
l α Fraction of energy intake leaked as metabolic byproducts [0, 1) None
χ 0 Average cost per metabolic pathway 0.1 Ea
ϵ α Random fluctuation in species α’s cost N(0, 0.1) None
s Number of species in pre-assembly communities 60 -
m Number of metabolites 60 -
k c Competition factor [0,1) -
k f Facilitation factor [0,1] -
K c Inter-guild competition factor (0.1, 0.9) -
K f Inter-guild facilitation factor (0.1, 0.9) -

Fig 1. Overview of the coalescence modelling methodology.

Fig 1

Step 1. The matrix of resource preferences (C) and the metabolic matrix (D) are sampled for each community. Black polygons are different resource types. Step 2. Dynamics of the system are allowed to play out (Eq 1) until a locally stable equilibrium is reached. Species composition and abundance, along with community-level competition C (solid bidirectional arrows, Eq 3), and facilitation F (dashed unidirectional arrows, Eq 4) are measured in assembled communities. Step 3. Two of the assembled parent communities are mixed, and the resulting community integrated to steady state. For the random and recursive coalescence procedures, the contribution of each parent community to the final mix is analyzed (S1,2, Eq 7) as a function of their interaction structures (C1,2 and F1,2) before they coalesced. In the case of the serial coalescence procedure, the properties of the resident community R are tracked after each coalescence exposure.

Here, Nα (α = 1, …, s) and Rj (j = 1, …, m) are the biomass abundance (measured in arbitrary units of biomass) of the αth microbial (e.g., bacterial) species and the concentration (measured in moles) of the jth resource (e.g., carbon substrate). The growth of species α is determined by the energy it harvests minus its maintenance cost (two terms in the brackets). Energy is obtained through resource consumption, which depends on the resource concentration in the environment, Rj, and on the energy uptake rate per unit of biomass of species α, cαj (here assumed to be binary; either 1 or 0). The leakage term lα determines the proportion of this uptake that species α releases back into the environment as metabolic by-products, with the remainder (1 − lα) being allocated to growth. The energy surplus that remains after subtracting a maintenance cost (zα) is transformed into biomass with a proportionality constant of gα, the value of which does not affect the results presented here.

The change in the concentration of resources in the environment (second line in Eq 1) is determined by four terms. The first and second terms represent the external supply and dilution of resource j, which give the rates at which the jth resource enters and leaves the system. The third term is the uptake of the jth resource from the environment, summed across all s consumers, and the fourth term represents resources entering the environmental pool via leakage of metabolic by-products. By-product leakage of species α is determined by the metabolic matrix Dα (or the “stoichiometric” matrix; [6]), with Dαjk representing the leaked proportion of resource j that is transformed into resource k by species α. Energy conservation dictates that Dα is a row stochastic matrix, meaning that its rows sum to 1. Note that in this model, we allow species to leak metabolites that they also consume (we address this assumption further in the Discussion).

We define the consumer’s maintenance cost to be:

zα=χ0(1+ϵα)(1-lα)jcαj, (2)

where χ0 is the average energetic cost of being able to consume a given resource, the summation represents the total number of resources that species α can process, and ϵα is a small random fluctuation that introduces variation in the cost for species that have identical preferences. Eq 2 ensures that neither generalists nor specialists are systematically favored during community assembly (by imposing a greater cost on species that consume a wider range of resources) and that all species can deplete resources to similar concentrations independently of their leakage level (see Section 1 in S1 Text for rationale, Fig A in S1 Text for results under different cost functions; and Discussion).

The above model entails the following assumptions: (i) all resources contain the same amount of energy (taken to be 1 for simplicity), (ii) a linear, non-saturating consumer functional response, (iii) binary consumer preferences (uptake rates), and (iv) an environment where all resources are externally supplied in equal amounts. We address the implications of these assumptions in the Discussion.

Competition and facilitation metrics

In our model (Eq 1), competition for resources exists because all pairs of consumer species generally share some resource preferences (their metabolic preferences vectors are not orthogonal). We quantify the pairwise competition between a species pair (α, β) by counting the resource preferences they share through the scalar product of their preference vectors, cαcβ. Therefore, community-level competition (denoted as C) can be calculated by taking the average of the competition matrix, which encodes the competitive strength between all species pairs, that is

C=CCT, (3)

where C is the s × m matrix of metabolic preferences of all the species in the community.

On the other hand, facilitation occurs when a species leaks metabolic by-products that are used by another species. We measure pairwise facilitation from species αβ by calculating the fraction of secreted resources from species α that are consumed by species β per unit of resource abundance, lαcαTDαcβ. Similar to competition, we compute community-level cooperation (denoted as F), by taking the average of the facilitation matrix, which encodes the cooperative strength between all species pairs, that is

F=αD(l)CDαCT, (4)

where where D(l) is a diagonal matrix with the leakage vector of each species in the community in its diagonal.

Henceforth, we refer to the quantity C-F as “net competition”, which we later show is related to the “cohesion” defined in previous work [24].

Simulations

In Fig 1 we present an overview of our simulations, which we now describe. For the parameter values used, see Table 1.

Step 1: Parameterization

We first set the parameters of the initial communities (before assembly) such that they span interactions across the spectrum of net competition (C-F). For each parent community, we modulate the structure of the C and D matrices (consisting of the resource preferences cαj’s and secretion proportions Djk’s, respectively) by developing constrained random sampling procedures that guarantee specific levels of competition and facilitation at the community’s steady state. In particular, competition is modulated through the competition factor kc, which is imposed during the sampling of C. When kc = 0 the elements of C are sampled uniformly at random, and as kc → 1 those resources that have been frequently sampled by other species are more likely to be assigned as one of the preferences of the current one (see Section 2 in S1 Text), thus generating hubs of highly demanded resources, which accentuate resource competition in the community. Net competition can alternatively be reduced through the effect of facilitation. We modulate facilitation using the facilitation factor kf, during the sampling of D. When kf → 0 the metabolic matrix has no structure, that is, all resources are released at equiprobable fractions. As kf → 1 the structure of D becomes fully determined by the resource demands of the community so that more demanded resources are released at higher fractions (see Section 2 in S1 Text). This alleviates resource competition by creating a flow of resources from least to most demanded. In addition, we also add structure to C and D to emulate the existence of distinct resource classes and consumer guilds (see Section 4 in S1 Text). In these communities, competition and facilitation between guilds are modulated through the constants Kc (inter-guild competition factor), and Kf (inter-guild facilitation factor) (see Section 2 in S1 Text). Note that we parameterize the initial communities by assuming (i) a shared core metabolism encoded in D, and (ii) a common leakage fraction l for all species (the implications of which we address in the Discussion), but we relax these assumptions in our coalescence simulations (Methods; Step 3).

Step 2: Assembly of parent communities

After parameterization, we numerically integrate Eq 1 until steady state (a putative equilibrium) is reached. We perform 100 such assembly simulations with random sets of consumers for each combination of competition and facilitation factors (i.e., kc = kf ∈ [0, 0.5, 0.9]), repeating this for three values of leakage (l ∈ [0.1, 0.5, 0.9]). We compare species composition, abundances, and interaction structure of communities before and after assembly. To compare species composition, we calculate the difference, before and after assembly, in the proportion of species with mr metabolic preferences (that is, a species with mr ones and mmr zeros in its vector of metabolic preferences c, which we now denote as an m-preferences consumer) as

Δmr=1p(mr)(Tmrr-Tmr0r0). (5)

Here, p(mr) is the probability that a species has mr metabolic preferences (which is exponentially distributed; Section 2 in S1 Text), the 0 denotes before assembly, r is species richness, and Tmr is the number of species in the community with mr metabolic preferences. Thus, when Δmr > 0 the proportion of species with mr metabolic preferences increases after assembly and vice versa. To analyze species abundances, we track the abundance fraction of consumers in each group of m-preferences species, calculated as the total abundance of species in the group, divided by the total community biomass, that is

wmr=imrniini (6)

Finally, we address the interaction structure after assembly by quantifying the levels of competition (C) and facilitation (F) in the assembled communities (Fig 2A).

Fig 2. Features of assembled parent communities.

Fig 2

A: Facilitation versus competition level in starting (grey dots) and assembled (coloured dots) communities for leakage l = 0.9 and different combinations of competition (kc) and facilitation (kf) factors. Communities assembled for each pair of [kc, kf] values have the same colour. The assembled communities are displaced towards more cooperative states at the end of the assembly than at the start. B: Change in proportion of species m-preferences consumers before and after assembly (Δmr, Eq 5, y axis) as a function of the number of metabolic preferences (x axis), for three different values of kc (legend in panel C), calculated after each simulation, and averaged across simulations. Greater positive values of Δmr for more generalist species indicates that they are less prone to extinction during assembly. Values for mr > 30 had too much uncertainty due to low sampling and therefore have been removed for clarity. Inset: Δmr is weighted by the abundance fraction at equilibrium of each m-preferences consumers group, wmr (Eq 6). C: Abundance fraction of the m-preferences species groups for different values of kc. D: Distributions of species richness values of parent communities assembled under different kc values. Increasing competitiveness tends to decrease species richness.

Step 3: Coalescence

The coalescence between a pair of assembled parent communities is simulated by setting all resources to their initial concentrations and numerically integrating the new combined system to steady state. To disentangle the effects of competition versus cooperation and study the effect of repeated coalescence events, we simulate three coalescence scenarios: random, recursive, and serial, as follows (further details in Section 3 in S1 Text).

Random coalescence. To address the effects of competition alone in the outcome of coalescence events, here we coalesce pairs of randomly sampled parent communities having the same leakage value l (2 ⋅ 104 pairs for each leakage level, Fig 3C). That is, we fix the leakage level to ensure that the communities have, on average, similar cooperation levels, but leave kc free to vary such that they span a broad range of competition levels.

Fig 3. Community coalescence between pairs of randomly picked communities with same leakage.

Fig 3

A: Example of the secretion matrix with elements (CD)αk representing the total leakage of resource k by species α. B: Community-level competition C (dark red) and facilitation F (blue) averaged across simulations for each leakage value. Since competition does not depend on the leakage, it remains consistently high throughout. Facilitation, on the other hand, increases linearly with leakage. C: Parent community dominance (S1,2) as function of net competition difference (C1-F1)-(C2-F2) (solid lines ± 1 standard deviation (shaded)), binned (20 bins) over communities with similar x axis values, for three community-wide leakage levels. The post-coalescence community is more similar to its less net competitive parent. D: Species richness (r) as a function of net competition in parent communities, coloured by total resource concentration at steady state (Rtot). The observed negative correlation for all values of leakage shows that communities with lower net competition tend to be more speciose and also better at depleting resources (brighter coloured values, corresponding to lower levels of Rtot are scattered towards the top left of the plots).

Recursive coalescence. To study the effects of cooperation in particular on community coalescence, we repeatedly coalesce a given pair of communities A and B, slightly increasing the leakage of the latter in each iteration (Fig 4A). This allows us to modify the strength of cooperative interactions in the community, because facilitation is proportional to l (Eq 4) while keeping competition levels constant because competition is independent of l (Eq 3), and the remaining parameters are kept fixed.

Fig 4. Recursive coalescence between microbial communities.

Fig 4

A: Sketch of the simulation set up. The same pair of communities (A, B) is recursively coalesced, with the leakage of B gradually increasing after each coalescence event for three levels of leakage of A, and 25 replicates per lA value. B: Parent community dominance after coalescence between communities A and B, as a function of facilitation level of community B, FB (bottom x axis), and leakage of community B, lB (top x axis). Each curve corresponds to a different value of lA. Shaded regions are ±σ. Dominance of parent community B after coalescence increases with lB, implying that higher cooperation levels enhance coalescence success.

Serial coalescence. To understand how the functional and structural properties of a microbial community evolve under successive coalescence events, we simulate the following scenario. A local (“resident”) community R harbouring species with leakage lR, and metabolism DR is successively invaded by many other randomly sampled communities (“invaders”), I with species of leakage lI and metabolism DI (Fig 5A).

Fig 5. Serial coalescence of microbial communities.

Fig 5

A: Sketch of the simulation set up. Resident communities (R, upper circles) with leakage lR are successively coalesced with randomly sampled invader communities (I, lower circles) with leakage lI for all possible combinations of leakage values (arrows) lI=lR=[0.1,0.9]. For each serial coalescence sequence, we examine as a function of number of coalescence events, the following community properties of R: (B) community-level competition (C, dashed lines) and facilitation (F, solid lines); (C) average species maintenance cost; (D) average resource concentration at equilibrium; (E) abundance fraction of each m-preferences species group; and (F) number of successful invasions and species richness. All the measures are averaged across 20 replicates. The standard deviation is decreasing along the x axis and is never more than 40% of the mean for all the curves (not shown to reduce clutter). Abundance fraction of species with mr > 5 was negligible and is not plotted for clarity.

To determine which parent community is more successful after each random and recursive coalescence simulations, we measure the similarity between the post-coalescence community and each of the two parents (indexed by 1 and 2) as:

S1,2=pf·(p2r2-p1r1), (7)

where pf, p1, and p2 are (s1 + s2)–dimensional binary vectors of species presence-absence in the post-coalescent, and parent communities 1 and 2, respectively, with r1 and r2 the species richness values of the parent communities 1 and 2, respectively (calculated as ri = ∑pi). If S1,2 = −1, the coalesced community is identical to parent community 1, and if S1,2 = 1, it is identical to parent community 2. This measure is independent of the species richness. Thus we can mix communities with different species richness while avoiding a bias in similarity towards the richer one. We then analyze how this dominance measure depends on the interaction structure of the parent communities (C1,2 and F1,2; Eqs 3 and 4). After each coalescence event in the serial coalescence procedure, we measure competition and facilitation levels of the resident community, along with the average species maintenance cost, average resource abundance at equilibrium, species richness, and number of successful invasions, during the entire sequence of serial coalescence events.

For all assembled parent as well as coalesced communities we confirmed that the steady state was a locally asymptotically stable equilibrium (Section 1 in S1 Text).

Results

Assembly of parent communities

In Fig 2 we show the key features of assembled communities. Fig 2A shows that as expected from Eqs 3 and 4, the levels of community-wide competition and facilitation are positively correlated, mediated by the structure of the C and D matrices. Fig 2B shows that the difference between the proportion of m-preferences consumers before and after assembly (Δmr, Methods; Step 1), increases with mr for all simulated values of kc, indicating that more generalist species are less prone to extinction during assembly. For the lowest value of kc, Δmr is a monotonically increasing function of the number of preferences. This is expected because a species able to harvest energy from multiple resource pools is less likely to go extinct during community dynamics. As kc increases, Δmr displays a minimum (Fig 2B), indicating that in more competitive environments pure specialists become more prevalent than moderate generalists. This is because in a highly competitive environment the resource demands are concentrated on a subset of resources, while others are barely consumed (Section 2 in S1 Text). In these communities, consumers that specialize exclusively in empty niches thrive. Fig 2C shows that specialist consumers are systematically present in higher abundance than generalists for all values of kc. This is because several specialists deplete all resources through their combined action more efficiently than one generalist [25], and as a result, although generalists are more persistent than specialists upon assembly (Fig 2B), they achieve lower abundances at equilibrium (Fig 2C). In Fig 2B (inset) we plot wmrΔmr, that is, we weight Eq 5 by the abundance fraction of each m-preferences species group (Eq 6) (Methods; Step 2). This reveals an optimal group of consumers with a number of metabolic preferences that maximizes both survival probability and abundance at equilibrium. This optimal value increases for more competitive environments (as kc increases). Finally, Fig 2D shows that more competitive communities tend to be less species-rich, as expected from general competition theory.

Reducing competition increases coalescence success

Fig 3 shows that communities with lower net competition values tend to perform better in coalescence as seen by the positive relationship between parent community dominance (S1,2) and net competition difference (C1-F1)-(C2-F2) (Fig 3C). That is, communities that emerge following coalescence tend to be more similar to the less net competitive parent. This trend holds at higher values of leakage, where cooperation levels are significant (Fig 3B), but with a clear critical point (the yellow line reverses in direction at extreme values of net competition difference). This pattern is driven by the fact that less net competitive parent communities deplete resources more efficiently and achieve a higher species richness (Fig 3D; Section 1 in S1 Text). All these results also qualitatively hold for microbial communities that have consumer guild structure (Section 4 in S1 Text).

Cooperation further enhances coalescence success

Fig 4 shows that when a community (B) whose leakage fraction increases successively during recursive coalescence events with another (A) with a fixed leakage level, the former becomes increasingly dominant. The result is consistent for a range of leakage values of community A. This shows that increasing cooperation levels enhance coalescence success.

Community evolution under repeated coalescence events

Fig 5 shows that on average, competition level significantly reduces and facilitation level increases during repeated coalescence events. Along with this, the average maintenance cost of species present in the resident community decreases with the number of coalescence exposures, and so does average resource abundance at equilibrium (Fig 5C and 5D), indicating that resource depletion ability improves in the process. In addition, the sub-population of resource specialists (that consume only one resource) increases with the number of coalescence events, while the rest of the species groups decrease in abundance (Fig 5E). Finally, the number of successful invasions into the resident community decreases with the number of coalescence events, while its species richness increases (Fig 5F). Taken together, these results show that communities composed of non-competing specialists that cooperate among themselves (Fig 5B and 5E) and reduce their respective metabolic costs (Fig 5C), improve their overall resource depletion ability (Fig 5D). This, in turn, makes them more resistant to multi-species invasions and therefore more successful in pairwise coalescence events (Fig 5F).

Discussion

Our findings offer new mechanistic insights into the dynamics and outcomes of microbial community coalescence by explicitly considering the balance between competition and cooperation; two key interactions of real microbial communities [25, 33]. Specifically, we find that communities harboring less competing and more cooperative species (that is, having lesser net competition) dominate after coalescence because they are better at depleting resources and resisting invasions. Therefore, when a community undergoes a series of coalescence events, its competitiveness decreases and cooperativeness increases, along with its species richness, resource use efficiency, and resistance to invasions. These results provide a theoretical foundation for hypotheses suggested recently [17, 20], and mechanistic insights into empirical studies that have demonstrated the importance of cross-feeding interactions on community coalescence [21].

Our result based on coalescence between pairs of random communities at very low leakage (black line in Fig 3C) essentially extends the results of [24] to communities with both competitive and cooperative interactions. Tikhonov showed that coalescence success is predicted by minimizing community-level competition through the optimization of resource niche partitioning, which also guarantees maximization of resource depletion efficacy. Here we show that, similarly, the successful community is the one that achieves lower net competition (C-F), which also predicts community-level resource depletion efficacy as well as species richness (Fig 3D). Thus, simultaneously reducing competition and increasing cooperation together drives the outcome of community coalescence. Therefore, the quantity -(C-F)=F-C is also a measure of the “cohesiveness” of a microbial community. However, we also find that at extreme values of leakage (l = 0.9), there is a critical level of net competition difference beyond which coalescence success decreases again (yellow line in Fig 3C). This suggests that in the regime of high cooperation and competition, (high leakage, and tail ends of the curve, respectively) facilitative links become detrimental. A similar result has been reported in [34]. This critical value is not seen when the cost function does not include leakage (Fig B in S1 Text). Interestingly, we also find that this phenomenon is very weak when biologically-realistic guild structure is present (Fig F in S1 Text). These effects of extreme leakage (and facilitation) on coalescence success cannot be predicted by our model analyses (Section 1 in S1 Text), and merit further investigation in future research, provided such high leakage levels are biologically feasible.

In our model systems, species compete not only for resources leaked by other species but also for resources leaked by themselves, i.e., species may leak metabolic by-products that are also encoded in their consumer preferences vector. Leakage of metabolic resources is a pervasive phenomenon in the microbial world [35, 36], and has been shown to exist also in resources necessary for growth, even in situations when those essential metabolites are scarce [37, 38]. Although it may seem counter-intuitive for microbes to secrete metabolites essential for their growth, such leakage can be advantageous, especially in bacteria, as “flux control” or growth-dilution mechanisms, which provide short-term growth benefits in crowded environments [39, 40].

Our recursive coalescence simulations (Fig 4A) allowed us to establish that coalescence success is enhanced by cooperative interactions. This result is consistent with past theoretical work showing that mutualistic interactions are expected to increase structural stability by decreasing effective competition [41]. It is also consistent with recent in silico results on single species invasions in microbial communities [42]. Nonetheless, this finding hinges on our choice of the cost function (Eq 2; Section 1 in S1 Text). This cost function, which was motivated by biological considerations, imposed an efficiency cost to species with lower leakage, ensuring that all consumers, independently of their leakage fraction, depleted resources to the same concentration on average (see Section 1 in S1 Text). This allowed us to perform coalescence events between communities harboring species with different leakage without introducing a bias towards the more efficient species. This choice corresponds biologically to the interpretation of leakage as an efficiency factor in the conversion from energy to biomass (Eq S2 in S1 Text). As a consequence, higher leakage species reach, in general, lower abundances at equilibrium [43].

Our findings regarding the evolution of community-level properties in response to repeated community-community encounters (Fig 5) suggest that it might be possible to identify functional groups of microbes or microbial traits that are a “smoking gun” of past coalescence events experienced by a given community [17]. Additionally, our finding that members of communities with a history of coalescence are likely to become increasingly resistant to further community invasions suggests a novel and potentially economical way to assemble robust microbial communities. We also found that repeated coalescence events contributed to increasing species richness, offering another mechanism that may help explain differences in microbial diversity across locations and environments [17].

Our finding that resident communities exposed to repeated community invasions were mainly composed of cooperative specialists (Fig 5B and 5E) is due to our assumption that all resources were supplied, and at a fixed rate. This allowed specialists to survive because their only source of energy was always provided. This property may not be as commonly seen in real communities, where fluctuations in resource supply are common. Ignoring environmental fluctuations allowed us to focus on coalescence outcomes in terms of the species interaction structure alone. While this assumption may be sensible in some cases [44], it is an oversimplification in others [32]. Therefore, studying the complex interplay between biotic interactions and environmental factors, e.g., by allowing substrate diversification from a single supplied resource [6, 7], or perturbing the resource supply vector periodically to simulate some form of seasonality, is a promising direction for future research. In such cases, we expect a more balanced mix of generalists and specialists, such that only the competitive interactions necessary to diversify the available carbon sources will persist upon coalescence events, but above that threshold, the results presented here (Figs 3, 4 and 5) would be recovered.

Assuming a core leakage and metabolism common to the whole community, made the assembly dynamics computationally tractable while ensuring that the system was not far away from the conditions of real communities [6, 26]. However, the assumption of common leakage was relaxed in the recursive coalescence procedure. In addition, both the community-wide fixed leakage and core metabolism assumptions were relaxed in the serial coalescence simulations, thus using the model in its fully general form as seen in Eq 1. Finally, to retain an analytically tractable theoretical setting for an otherwise complex system, we assumed binary consumer preferences, linear consumer functional responses, and resources of equal energetic value throughout. While this is a promising avenue for future work, we expect our results to be qualitatively robust to relaxation of these constraints, based on recent work on microbial community assembly dynamics using the same general model [6, 26].

Encounters between microbial communities are becoming increasingly frequent [45], and mixing of whole microbial communities is gaining popularity for bio-engineering [46], soil restoration [47], fecal microbiota transplantation [48, 49], and the use of probiotics [50]. We present a framework that relates the structure of species interactions in microbial communities to the outcome of community coalescence events. Although more work is required to bridge the gap between theory and empirical observations, this study constitutes a key step in that direction.

Supporting information

S1 Text

Section 1: Further details of the mathematical model. Section 2: Modulating net competition levels. Section 3: Further details of the community coalescence simulations. Section 4: Adding consumer guild structure. Fig A: Consequence of relaxing the assumption of leakage dependence. Fig B: Results of random coalescence procedure without imposing the efficiency cost (leakage dependence). Fig C: Eigenvalues of J when evaluated at equilibrium for two example communities. Fig D: Examples of differently-structured preference (C) and metabolic (D) matrices. Fig E: Auto-correlation of vector of species abundances in community B for consecutive re-assemblies of this community, along the studied leakage range. Fig F: Community coalescence with consumer guilds present.

(PDF)

Acknowledgments

We want to acknowledge Mikhail Tikhonov, Stefano Allesina, members of the Allesina Lab; Zachary Miller, Paulinha Lemos-Costa, and Katja Della Libera, and colleagues; Kiseok Lee, Will Koval, Yolanda Lechón and Maryn Carlson, for their valuable input on early versions of the manuscript.

Data Availability

All the code used in our simulations, as well as that for reproducing the figures can be found in the GitHub repository: https://github.com/pablolich/coalescence_paper_analysis.

Funding Statement

This work was supported by the Leverhulme Research Fellowship (RF-2020-653\2) and NERC grant NE/S000348/1.

References

  • 1. Fierer N, Jackson RB. The diversity and biogeography of soil bacterial communities. Proceedings of the National Academy of Sciences of the United States of America. 2006;103(3):626–631. doi: 10.1073/pnas.0507535103 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Huttenhower C, Gevers D, Knight R, Al E. Structure, function and diversity of the healthy human microbiome. Nature. 2012;486(7402):207–214. doi: 10.1038/nature11234 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. McFall-Ngai M, Hadfield MG, Bosch TCG, Carey HV, Domazet-Lošo T, Douglas AE, et al. Animals in a bacterial world, a new imperative for the life sciences. Proceedings of the National Academy of Sciences of the United States of America. 2013;110(9):3229–3236. doi: 10.1073/pnas.1218525110 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Falkowski PG, Fenchel T, Delong EF. The microbial engines that drive earth’s biogeochemical cycles. Science. 2008;320(5879):1034–1039. doi: 10.1126/science.1153213 [DOI] [PubMed] [Google Scholar]
  • 5. Gilbert JA, Jansson JK, Knight R. The Earth Microbiome project: Successes and aspirations. BMC Biology. 2014;12(69):12915–014. doi: 10.1186/s12915-014-0069-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Marsland R, Cui W, Goldford J, Sanchez A, Korolev K, Mehta P. Available energy fluxes drive a transition in the diversity, stability, and functional structure of microbial communities. PLoS Computational Biology. 2019;15(2):e1006793. doi: 10.1371/journal.pcbi.1006793 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Goldford JE, Lu N, Bajić D, Estrela S, Tikhonov M, Sanchez-Gorostiaga A, et al. Emergent simplicity in microbial community assembly. Science. 2018;361(6401):469–474. doi: 10.1126/science.aat1168 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Goyal A, Maslov S. Diversity, Stability, and Reproducibility in Stochastically Assembled Microbial Ecosystems. Physical Review Letters. 2018;120(15):158102. doi: 10.1103/PhysRevLett.120.158102 [DOI] [PubMed] [Google Scholar]
  • 9. Friedman J, Higgins LM, Gore J. Community structure follows simple assembly rules in microbial microcosms. Nature Ecology and Evolution. 2017;1(5):41559–017. doi: 10.1038/s41559-017-0109 [DOI] [PubMed] [Google Scholar]
  • 10. Costello EK, Stagaman K, Dethlefsen L, Bohannan BJM, Relman DA. The application of ecological theory toward an understanding of the human microbiome. Science. 2012;336(6086):1255–1262. doi: 10.1126/science.1224203 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Vila JCC, Jones ML, Patel M, Bell T, Rosindell J. Uncovering the rules of microbial community invasions. Nature Ecology and Evolution. 2019;3(8):1162–1171. doi: 10.1038/s41559-019-0952-9 [DOI] [PubMed] [Google Scholar]
  • 12. Coyte KZ, Rao C, Rakoff-nahoum S, Foster KR. Ecological rules for the assembly of microbiome communities. PLOS Biol. 2021;19(2):e3001116. doi: 10.1371/journal.pbio.3001116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Luo X, Xiang X, Yang Y, Huang G, Fu K, Che R, et al. Seasonal effects of river flow on microbial community coalescence and diversity in a riverine network. FEMS Microbiology Ecology. 2020;96(8). doi: 10.1093/femsec/fiaa132 [DOI] [PubMed] [Google Scholar]
  • 14. Vass M, Székely AJ, Lindström ES, Osman OA, Langenheder S. Warming mediates the resistance of aquatic bacteria to invasion during community coalescence. Molecular Ecology. 2021;. doi: 10.1111/mec.15800 [DOI] [PubMed] [Google Scholar]
  • 15. Kort R, Caspers M, van de Graaf A, van Egmond W, Keijser B, Roeselers G. Shaping the oral microbiota through intimate kissing. Microbiome. 2014;2(1):1–8. doi: 10.1186/2049-2618-2-41 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Evans SE, Bell-Dereske LP, Dougherty KM, Kittredge HA. Dispersal alters soil microbial community response to drought. Environmental Microbiology. 2020;22(3):905–916. doi: 10.1111/1462-2920.14707 [DOI] [PubMed] [Google Scholar]
  • 17. Rillig MC, Antonovics J, Caruso T, Lehmann A, Powell JR, Veresoglou SD, et al. Interchange of entire communities: Microbial community coalescence. Trends in Ecology and Evolution. 2015;30(8):470–476. doi: 10.1016/j.tree.2015.06.004 [DOI] [PubMed] [Google Scholar]
  • 18. Rillig M, Tsang A, Roy J. Microbial community coalescence for microbiome engineering. Front. Microbiol. 2016;7:1967. doi: 10.3389/fmicb.2016.01967 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Rillig MC, Lehmann A, Aguilar-Trigueros CA. Soil microbes and community coalescence. Pedobiologia. 2016;59(1-2):37–40. doi: 10.1016/j.pedobi.2016.01.001 [DOI] [Google Scholar]
  • 20. Castledine M, Sierocinski P, Padfield D, Buckling A. Community coalescence: An eco-evolutionary perspective. Philosophical transactions of the Royal Society of London Series B, Biological sciences. 2020;375(1798):20190252. doi: 10.1098/rstb.2019.0252 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Sierocinski P, Milferstedt K, Bayer F, Großkopf T, Alston M, Bastkowski S, et al. A single community dominates structure and function of a mixture of multiple methanogenic communities. Current Biology. 2017;27(21):3390–3395. doi: 10.1016/j.cub.2017.09.056 [DOI] [PubMed] [Google Scholar]
  • 22. Gilpin M. Community-level competition: Asymmetrical dominance. Proceedings of the National Academy of Sciences of the United States of America. 1994;91(8):3252–3254. doi: 10.1073/pnas.91.8.3252 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Toquenaga Y. Historicity of a simple competition model. Journal of Theoretical Biology. 1997;187(2):175–181. doi: 10.1006/jtbi.1997.0428 [DOI] [Google Scholar]
  • 24. Tikhonov M. Community-level cohesion without cooperation. eLife. 2016;5:e15747. doi: 10.7554/eLife.15747 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Pascual-García A, Bonhoeffer S, Bell T. Metabolically cohesive microbial consortia and ecosystem functioning. Philosophical Transactions of the Royal Society B: Biological Sciences. 2020;375(1798):0190245. doi: 10.1098/rstb.2019.0245 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Marsland R., Cui W. and Mehta P. A minimal model for microbial biodiversity can reproduce experimentally observed ecological patterns. Sci Rep. 2020;10, 3308. doi: 10.1038/s41598-020-60130-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. Lu N, Sanchez-gorostiaga A, Tikhonov M, Sanchez A. Cohesiveness in microbial community coalescence. bioRxiv. 2018; p. 282723. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Hansen SK, Rainey PB, Haagensen JAJ, Molin S. Evolution of species interactions in a biofilm community. Nature. 2007;445(7127):533–536. doi: 10.1038/nature05514 [DOI] [PubMed] [Google Scholar]
  • 29. Lawrence D, Fiegna F, Behrends V, Bundy JG, Phillimore AB, Bell T, et al. Species interactions alter evolutionary responses to a novel environment. PLoS Biology. 2012;10(5):e1001330. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Embree M, Liu JK, Al-Bassam MM, Zengler K. Networks of energetic and metabolic interactions define dynamics in microbial communities. Proceedings of the National Academy of Sciences of the United States of America. 2015;112(50):15450–15455. doi: 10.1073/pnas.1506034112 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Rivett DW, Jones ML, Ramoneda J, Mombrikotb SB, Ransome E, Bell T. Elevated success of multispecies bacterial invasions impacts community composition during ecological succession. Ecology Letters. 2018;21(4):516–524. doi: 10.1111/ele.12916 [DOI] [PubMed] [Google Scholar]
  • 32. Albright MBN, Sevanto S, Gallegos-Graves LV, Dunbar J. Biotic interactions are more important than propagule pressure in microbial community invasions. mBio. 2020;11(5):1–16. doi: 10.1128/mBio.02089-20 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Machado D, Maistrenko OM, Andrejev S, Kim Y, Bork P, Patil KR, et al. Polarization of microbial communities between competitive and cooperative metabolism. Nature Ecology and Evolution. 2021;5(2):195–203. doi: 10.1038/s41559-020-01353-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Pascual-García A, Bastolla U. Mutualism supports biodiversity when the direct competition is weak. Nature Communications. 2017. 8:14326. doi: 10.1038/ncomms14326 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Morris JJ. Black Queen evolution: The role of leakiness in structuring microbial communities. Trends in Genetics. 2015;31(8):475–482. doi: 10.1016/j.tig.2015.05.004 [DOI] [PubMed] [Google Scholar]
  • 36. Kallus Y, Miller JH, Libby E. Paradoxes in leaky microbial trade. Nat. Comms. 2017;8(1): 1361. doi: 10.1038/s41467-017-01628-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Silva LP, Northen TR. Exometabolomics and MSI: Deconstructing how cells interact to transform their small molecule environment. Current Opinion in Biotechnology. 2015;34:209–216. doi: 10.1016/j.copbio.2015.03.015 [DOI] [PubMed] [Google Scholar]
  • 38. Paczia N, Nilgen A, Lehmann T, Gätgens J, Wiechert W, Noack S. Extensive exometabolome analysis reveals extended overflow metabolism in various microorganisms. Microbial Cell Factories. 2012;11:1–14. doi: 10.1186/1475-2859-11-122 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Yamagishi JF, Saito N, Kaneko K. Advantage of Leakage of Essential Metabolites for Cells. Physical Review Letters. 2020;124:048101. doi: 10.1103/PhysRevLett.124.048101 [DOI] [PubMed] [Google Scholar]
  • 40. Yamagishi JF, Saito N, Kaneko K. Adaptation of metabolite leakiness leads to symbiotic chemical exchange and to a resilient microbial ecosystem. PLOS Comp. Bio. 2021;17(6): e1009143. doi: 10.1371/journal.pcbi.1009143 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41. Bastolla U, Fortuna MA, Pascual-García A, Ferrera A, Luque B, Bascompte J. The architecture of mutualistic networks minimizes competition and increases biodiversity. Nature. 2009;458(7241):1018–1020. doi: 10.1038/nature07950 [DOI] [PubMed] [Google Scholar]
  • 42. Kurkjian HM, Javad Akbari M, Momeni B. The impact of interactions on invasion and colonization resistance in microbial communities. PLoS Computational Biology. 2021;17(1):1–18. doi: 10.1371/journal.pcbi.1008643 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Wieser W. Cost of growth in cells and organisms: General rules and comparative aspects. Biol. Rev. Camb. Philos. Soc. 1994. 69(1):1–33. doi: 10.1111/j.1469-185X.1994.tb01484.x [DOI] [PubMed] [Google Scholar]
  • 44. Acosta F, Zamor RM, Najar FZ, Roe BA, Hambright KD. Dynamics of an experimental microbial invasion. Proceedings of the National Academy of Sciences of the United States of America. 2015;112(37):11594–11599. doi: 10.1073/pnas.1505204112 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Seebens H, Blackburn TM, Dyer EE, Genovesi P, Hulme PE, Jeschke JM, et al. No saturation in the accumulation of alien species worldwide. Nature Communications. 2017;8:1–9. doi: 10.1038/ncomms14435 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46. Rillig MC, Tsang A, Roy J. Microbial community coalescence for microbiome engineering. Frontiers in Microbiology. 2016;7:1967. doi: 10.3389/fmicb.2016.01967 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47. Calderón K, Spor A, Breuil MC, Bru D, Bizouard F, Violle C, et al. Effectiveness of ecological rescue for altered soil microbial communities and functions. ISME Journal. 2017;11:272–283. doi: 10.1038/ismej.2016.86 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48. Wang JW, Kuo CH, Kuo FC, Wang YK, Hsu WH, Yu FJ, et al. Fecal microbiota transplantation: Review and update. Journal of the Formosan Medical Association. 2019;118(1):S23–S31. doi: 10.1016/j.jfma.2018.08.011 [DOI] [PubMed] [Google Scholar]
  • 49. Wilson BC, Vatanen T, Cutfield WS, O’Sullivan JM. The super-donor phenomenon in fecal microbiota transplantation. Frontiers in Cellular and Infection Microbiology. 2019;9(2). doi: 10.3389/fcimb.2019.00002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50. Lindemann SR, Bernstein HC, Song HS, Fredrickson JK, Fields MW, Shou W, et al. Engineering microbial consortia for controllable outputs. ISME Journal. 2016;10(9): 2077–2084. doi: 10.1038/ismej.2016.26 [DOI] [PMC free article] [PubMed] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1009584.r001

Decision Letter 0

Jason A Papin, Daniel Segrè

10 Jul 2021

Dear Mr. Lechón-Alonso,

Thank you very much for submitting your manuscript "The role of competition versus cooperation in microbial community coalescence" for consideration at PLOS Computational Biology.

As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments.

As you will see from the reviewers comments, they all found your work interesting and important. However, they also raised some significant questions and concerns which I would hope you will be able to address in a revised version of your manuscript. In your revised manuscript, please provide a detailed point by point response to the reviewers comments.

We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts.

Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Daniel Segrè, Ph.D.

Guest Editor

PLOS Computational Biology

Jason Papin

Editor-in-Chief

PLOS Computational Biology

***********************

As you will see from the reviewers comments, they all found your work interesting and important. However, they also raised some significant questions and concerns which I would hope you will be able to address in a revised version of your manuscript. In your revised manuscript, please provide a detailed point by point response to the reviewers comments.

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: This paper represents an very interesting study about microbial community coalescence in presence of cross-feeding using consumer-resource models. It is very well written and scientifically I have little to add to the paper, so I strongly support its publication. If anything, there is two points that the authors could discuss a bit more in depth and would make the paper in my opinion better.

1) Community cohesion is defined as the difference between facilitation and competition within a community. However, these metrics are computed on the initial pools, i.e. before the community assembly and stabilization steps. Because both competition and facilitation interactions can change during community assembly (e.g. species become extinct, modify their density etc) I am left wondering how the reported results would change if cohesion was measured in the stabilized communities.

2) Similarly, the authors consider equal growth rates for all resources and species (e.g. binary C matrices). I am siilarly left wondering how would relaxing this assumption and considering different growth rates for different species and resources impact the results.

Reviewer #2: Understanding community coalescence, the process through which two communities come together and form a new community, is a current challenge in microbial ecology with important implications in environmental and human health. Microbial communities are often massively dispersed from their original environment (e.g. carried out by macroscopic organisms or weather events), resulting in the sudden encountering of notably different microbial communities. In these cases, we still have little knowledge on how the local community is impacted, in the long term, by the newly arrived community. Similarly, the community traits that are selected after coalescence events are not well understood.

Inspired by recent models (especially, Tikhonov 2016 and Marsland 2019), the authors developed a consumer-resource model that accounts for cross-feeding (or leakage of resources that community members can consume), and tunable ratios of competition-cooperation interactions in multispecies communities. They propose new metrics to assess the cohesion of the resulting in silico communities, and they use these metrics to assess the success of parent communities in the outcome of coalescence events. This success, assessed by community similarity measurements, can be understood as the fraction of species in the parental communities that survive in the coalesced community. For the broader part of parameter region considered in the study, they show that communities exhibiting low competition levels are generally more successful in the event of coalescence. However, in the regime where competition is negligible and leakage is particularly high, the more cooperative community tends to be less successful (or more invadable). The model relies in a number of assumptions that, to me, seem generally reasonable in order to qualitatively address a range of generic scenarios. In my opinion, the work is interesting and sound to a broad audience in microbial ecology and, in my opinion, worth publishing in PLOS Computational Biology after some moderate revision.

I write below a few suggestions that the authors should consider before resubmitting their manuscript:

MAJOR COMMENT:

- The results strongly focus on the success of parental communities at surviving the coalescence process. However, I was missing a comparison between the properties of the parental communities and the coalesced community. The only results shown in that regard are to be found in supplement’s Fig S2. Are coalesced communities more cohesive than both parental strains, or something in between? Do facilitation/competition levels increase or decrease during coalescence? I think that there is an important discussion missing that could shed light on community-level properties that might, or might not, be optimized during coalescence. If we iterate coalescence for a few rounds (the survival species of two coalesced communities are exposed to a new coalescence event), what should we expect? What is the speed at which iterative coalescence leads to a sort of convergence in community structure? I think that adding a figure addressing (at least some of) these questions in the main text could improve the significance of the work.

MINOR COMMENTS:

- The second paragraph in the introduction seems to rush directly into the importance of interactions in coalescence. Around line 14, I think that it could be worth to introduce other potential drivers of coalescence. Just as possible examples to address: resource availability, species growth rates, dispersal rates (communities in the process of coalescence might still receive some degree of immigration from the environment), seasonality (or temperature, day-night light cycles, …).

- Eq. 2: wouldn’t it be better to add subindexes to the noise term epsilon? Otherwise it looks like a universal constant in the equation. In any case, the supplementary text S2 could be a bit more precise about the parameters of the gaussian distribution from which epsilon is sampled, since the text in S2 only says that is a ‘small fluctuation term’. How much small? How sensitive the system is to this noise?

- The meaning of kappa in Eq 5 should be briefly introduced in the main text, even if it’s explained in more detail in the supplement.

- Before Eq. S4: why is it that consuming resource j is relevant to assess competition on resource k? It seems to me that a third species could be consuming j and leak k, and then the two focal species compete just for consuming k.

- I also have a hard time at understanding why competition for leaked resources and supplied resources ‘need to be calculated differently’ (page 4 in the supplement), meaning separately. I understand that it’s convenient to compute the two terms separately. Do the authors mean ‘can be calculated separately’ instead of ‘needs to be…’?

- Why is it that (1-l) affects the metric for abiotic competition? In principle, microbes compete to uptake a full unity of a given resource from the environment. Once this happens, microbial metabolism converts (1-l) into population density, and a fraction ‘l’ is leaked in the form of other resources. But I don’t think that competition itself should be weighted by the unleaked fraction in this case.

- The amount of parameters needed to describe the model makes it a bit hard for the reader to remember the meaning of each of them in the first reading. To make the paper more rapidly understandable at first glimpse, the authors could consider adding legends or equations for each term appearing on the figures. For example a legend in Fig 1 could include ‘cohesion = facilitation – competition’, ‘D = metabolic matrix’. Same for the meaning of ‘kc’, ‘Kc’ and ‘r’ in Fig 2 and 3.

- In figure 3D, R*/r is named ‘Resource depletion level’. Through this name, I would understand that a higher value on this quantity translates to a lower R*. That is, communities with higher resource depletion levels should more efficiently deplete the resources. Unless I am missing something, this is not how it is interpreted and, to me, it is a little bit counterintuitive in the present form.

- I think that fig 4A is not referenced in the main text.

Reviewer #3: The review is uploaded as an attachment

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Djordje Bajic

Reviewer #2: No

Reviewer #3: Yes: Alberto Pascual-García

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

Attachment

Submitted filename: RefReport_LechonPawar_2021.pdf

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1009584.r003

Decision Letter 1

Jason A Papin, Daniel Segrè

5 Oct 2021

Dear Mr. Lechón-Alonso,

Thank you very much for submitting your manuscript "The role of competition versus cooperation in microbial community coalescence" for consideration at PLOS Computational Biology. As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. The reviewers appreciated the attention to an important topic. Based on the reviews, we are likely to accept this manuscript for publication, providing that you modify the manuscript according to the review recommendations.

As you will see from their comments, the reviewers overall found that your revised manuscript addresses most of their concerns.

One reviewer, however, raised a few additional points that I would ask you to please address in a further revision (including the code availability point) before I can provide my final recommendation for publication.

Please prepare and submit your revised manuscript within 30 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to all review comments, and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Thank you again for your submission to our journal. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Daniel Segrè, Ph.D.

Guest Editor

PLOS Computational Biology

Jason Papin

Editor-in-Chief

PLOS Computational Biology

***********************

A link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately:

[LINK]

As you will see from their comments, the reviewers overall found that your revised manuscript addresses most of their concerns.

One reviewer, however, raised a few additional points that I would ask you to please address in a further revision (including the code availability point) before I can provide my final recommendation for publication.

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: The authors have adressed my concerns and I can now reccomend the paper for publication.

Reviewer #2: In my opinion, the authors have carefully addressed all the questions and suggestions from the three referees, and I think that the quality of the work has significantly improved during the process. I recommend the current version for publication in PLOS Computational Biology.

Reviewer #3: I would like to thank the authors for the efforts they made to address the questions I raised. I’ve found their results very interesting and I think it is a sound contribution to the field. I would like to ask them to consider the following additional comments, most of which are related to the analysis of parent communities.

Lines 76-83. I do not find convincing the authors’ arguments convincing regarding their choice of the functional form for the secretion of metabolites. In Dwyer’s model, it would be perfectly possible to select appropriate consumption and secretion matrices to account for points i) and ii). For me, the difference is whether secretion of resources is proportional to the growth rate of the species or to their abundances. Since this point is beyond the scope of the article, I would suggest removing this explanation.

Lines 133-135 A brief explanation of the different factors (kc, kf, Kc, Kf) in the Main Text is needed, in particular providing an insight into how they relate to competition / cooperation.

Table 1. Please include in the Table the units of N and R. Also, a comment on the transformation from moles of resource to energy/biomass is needed.

Lines 148-149 I find it difficult to interpret this quantity and the abundances proportion. Firstly, it is not completely clear if are computed considering all the simulations aggregated or if it was computed for each simulation and then averaged (which, with the s.e. I think it would perhaps be more informative). The second thing is that we don’t know which is the distribution of nr, which I think it is needed to understand Fig 2B. For example, it is not clear if it is the case that generalist species are more robust as stated in Results, or if it is just that (only) the more specialized species go extinct and that each species that has more nr preferences jumps to another. (smallest) nr group. The most direct representation I can think of could be a heatmap with nr0 rows and nrFinal in columns (including nr = 0 as extinctions), and the color being the probability that a species in group nr0 ends up in group nrFinal .

Fig 2 Caption:“communities are significantly more cooperative” I would say that this appears to be true for kc = 0.9 (although difficult to say for kf = 0.99), did the authors perform a statistical test to state that it is significant? Moreover, it is not possible to tell anything just from this figure for kc = 0.01.

Fig 2. Please provide the formula used to compute the Inset (perhaps as SM).

Caption Fig. S3. Please indicate the order of magnitude of the leading eigenvalue, since the scale covers several orders of magnitude it would be said that it is zero otherwise.

I appreciate the efforts made in the SM to explain with pseudocode the algorithms, but please push the new code in the repo. Also, I would like to suggest creating a release and permanently storing it in Zenodo for making it citable, see: https://guides.github.com/activities/citable-code/

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Daniel R. Amor

Reviewer #3: Yes: Alberto Pascual-García

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

References:

Review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript.

If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1009584.r005

Decision Letter 2

Jason A Papin, Daniel Segrè

22 Oct 2021

Dear Mr. Lechón-Alonso,

We are pleased to inform you that your manuscript 'The role of competition versus cooperation in microbial community coalescence' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Daniel Segrè, Ph.D.

Guest Editor

PLOS Computational Biology

Jason Papin

Editor-in-Chief

PLOS Computational Biology

***********************************************************

Thank you for submitting your further revision of the manuscript, and for documenting your modifications, which address the remaining concerns by one of the reviewers.

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1009584.r006

Acceptance letter

Jason A Papin, Daniel Segrè

4 Nov 2021

PCOMPBIOL-D-21-00903R2

The role of competition versus cooperation in microbial community coalescence

Dear Dr Lechón-Alonso,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Zsofia Freund

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Text

    Section 1: Further details of the mathematical model. Section 2: Modulating net competition levels. Section 3: Further details of the community coalescence simulations. Section 4: Adding consumer guild structure. Fig A: Consequence of relaxing the assumption of leakage dependence. Fig B: Results of random coalescence procedure without imposing the efficiency cost (leakage dependence). Fig C: Eigenvalues of J when evaluated at equilibrium for two example communities. Fig D: Examples of differently-structured preference (C) and metabolic (D) matrices. Fig E: Auto-correlation of vector of species abundances in community B for consecutive re-assemblies of this community, along the studied leakage range. Fig F: Community coalescence with consumer guilds present.

    (PDF)

    Attachment

    Submitted filename: RefReport_LechonPawar_2021.pdf

    Attachment

    Submitted filename: response_to_reviewers.pdf

    Attachment

    Submitted filename: responses_to_reviewers.pdf

    Data Availability Statement

    All the code used in our simulations, as well as that for reproducing the figures can be found in the GitHub repository: https://github.com/pablolich/coalescence_paper_analysis.


    Articles from PLoS Computational Biology are provided here courtesy of PLOS

    RESOURCES