Introduction

Bacteria and their viral symbionts, bacteriophages (phages), have long been important study systems in biology [1,2,3]. While early work focused on molecular and genetic details, the last few decades have seen growing interest in examining their ecological and evolutionary dynamics. The study of bacteria-phage ecology and evolution has largely been driven by two motivations: (1) to understand the microbial world per se, since bacteria and phages are ubiquitous, abundant, and diverse, with widespread importance, including for human health [4, 5]; and (2) as tractable models of generalized host-symbiont or predator-prey dynamics [6, 7].

However, studies on the ecology and evolution of bacteria and phages have predominately utilized one of two approaches: experiments with very simple communities (reductionist) or observations of very complex communities (holistic) [8]. For instance, reductionist work has described in-depth the ecology and coevolution of many bacteria-phage pairs (reviewed in [6, 9,10,11]). In parallel, holistic studies have examined semi-natural and natural systems to infer bacteria-phage ecology and (co)evolution [11,12,13,14,15,16,17,18,19,20]. Nonetheless, while both reductionist and holistic approaches have provided useful insights, they are limited in what we can learn about bacteria-phage ecology and evolution in multispecies contexts.

Here, we address this intellectual gap via synthesis and review of the recent and emerging body of phage-bacteria experiments in medium-complexity communities, something that has long been highlighted as a needed focus [11, 21,22,23]. Specifically, we discuss experiments that directly test how the ecology and evolution of “focal” bacteria and phages are altered by the presence vs absence of other bacterial species (“community context”, Fig. 1). We focus our discussion on experiments with three or more bacterial species (for two-species communities see Table S1, partially reviewed in [24]), and omit those lacking experimental manipulation of community context (Table S1, reviewed in [11,12,13,14,15,16,17,18,19,20]) or with eukaryotes (Table S1, communities with microbial eukaryotes reviewed in [25, 26]). The experiments we highlight bridge the gap between the historical holistic and reductionist approaches.

Fig. 1: Effects of community context on focal bacterial and phage ecology and evolution.
figure 1

Bacterial community context (left) may affect the ecology and evolution of interacting phage and bacteria populations in various ways (dotted lines). Ecological effects include direct effects on the density of the focal bacterial and phage populations, as well as higher-order effects that alter the interaction between the focal bacteria and phage populations. Evolutionary effects can include: changes to (co)evolutionary dynamics, like fluctuating selection dynamics (depicted); mechanisms of evolution, like which receptor mutation bacteria acquire to evolve phage resistance (depicted); and pleiotropic consequences, like those involved in a trade-off between two traits (depicted). Moreover, ecological and evolutionary effects of community context may affect each other through eco-evolutionary feedbacks. Filled arrows denote abstract interactions, while unfilled arrows denote changes through time.

These experiments comprise part of a larger trend to better incorporate complexity in our ecological and evolutionary understanding of biological systems. Broadly, there is growing interest in how species richness alters the ecology and evolution of community members [27,28,29,30,31]. On the microbial side, for instance, there is an emerging focus on how the evolution of bacteria is altered by the presence of other bacterial species (Table S1, reviewed in [22, 31, 32]). In parallel, recent efforts have sought to incorporate more realism into laboratory bacteria-phage experiments, including the effects of abiotic environment (e.g., [33,34,35]) and spatial structure (e.g., [21, 24, 36]). Finally, studies are increasingly showing that biological communities can be affected by bacteria-phage ecology and evolution (reviewed in [11, 37]). While we do not discuss these topics in detail, they similarly constitute efforts to more deeply understand multispecies microbial communities.

Effects of community context on focal populations’ ecology

The presence of other bacterial species can directly alter the density of the focal bacterial population or the focal phage population as well as modifying the interaction between the focal bacteria and phage populations.

Ecological effects on focal host density

Much of the existing empirical work has shown that community presence suppresses the density of the focal host bacterial species (Table 1, Box 1). For instance, Gómez and Buckling carried out experiments with Pseudomonas fluorescens strain SBW25, its associated phage phi2 (Φ2), and natural soil microbial communities with undetermined species content. They found that community presence depressed the density of P. fluorescens in the presence of phage, relative to no-community treatments [36]. Similarly, Johnke et al. used a wastewater model community to investigate the dynamics of multitrophic predator-prey systems, including one bacteria-phage pair [38]. Their data show that community presence had a significant negative effect on the density of the focal host Klebsiella sp. relative to community-absent treatments (linear model community presence-absence two-tailed contrast, intercepts p = 0.049 in absence of phage, p = 0.36 in presence of phage, slopes p = 0.83 in absence of phage, p < 0.01 in presence of phage, Fig S1, [39]). In a final example, Mumford and Friman investigated the dynamics of Pseudomonas aeruginosa, its associated phage PT7, and a community modeling burn or cystic fibrosis lung infections that includes Staphylococcus aureus and Stenotrophomonas maltophilia [40]. Although they measured microbial densities only at the end of experimental evolution, they found that the presence of any or all community members suppressed the focal host density relative to community-absent treatments (Fig S2). Interestingly, they found that a quorum sensing-deficient mutant of the focal host was less sensitive to community suppression than the wild-type, suggesting that this suppression by community presence may be partially mediated by density-dependent behavioral changes of the focal bacteria. Across all of these studies, findings that community presence suppresses focal host density are consistent with longstanding ecological theory on competitive release, where removal of competitors can enable a focal species to increase in density [41]. Moreover, because community presence drives smaller population sizes, it may have secondary effects, including increased susceptibility to ecological drift and stochastic extinction [42] as well as weakened natural selection, stronger genetic drift, and decreased mutation supply.

Table 1 Ecological effects of community presence on focal bacteria-phage populations.

Ecological effects on focal phage density

Similar to the shared pattern of suppression of focal bacterial density, community presence generally suppresses the density of the focal phage population (Table 1, Box 1). For instance, Gómez and Buckling’s work with soil communities showed that community presence decreased phage densities, relative to no-community treatments [36]. Similarly, Alseth et al. investigated the evolution of resistance to phage DMS3vir by P. aeruginosa, using a model infection community where S. aureus, Burkholderia cenocepacia, and Acinetobacter baumannii were also present [43]. Although no effect of community presence on phage density was observed during experimental evolution (linear model two-tailed contrasts against community-absent treatment, intercepts p > 0.42 for all four treatments, Fig S3, [39]), experimental manipulation of the initial frequency of the non-focal community showed a clear suppressive effect of community presence on phage density. Finally, in Mumford and Friman’s experiments with a model infection community, community presence also decreased focal phage density (Fig S2, [40]). However, this suppression of phage density was eliminated when the focal host was quorum sensing-deficient, possibly because this mutant host strain was itself less strongly suppressed by community presence. In contrast to those three studies, when Johnke et al. carried out similar experiments with a wastewater community they found that community presence actually increased phage density (linear model community present-absent two-tailed contrast, p = 0.012, Fig S1, [38, 39]). Excepting the findings of Johnke et al., these studies are generally consistent with phage density being bottom-up limited by the density of their host bacteria. However, to our knowledge none of the studies have verified this ecological mechanism, leaving open the possibility that community presence suppresses phage density through other processes. Regardless of the mechanism, smaller population sizes of both phages and their hosts are likely to make phages more prone to extinction events, potentially favoring alternative reproduction strategies like lysogeny or environmental durability [44, 45].

Effects on the ecological interaction between focal populations

Community presence can also alter the interaction between the focal bacterial and phage populations (Table 1). For instance, in their wastewater system, Johnke et al. observed that the effects of community presence and phage presence synergize: while individually each suppresses focal host density, when both are present together they drive the focal host population extinct (Fig S1, [38]). In other cases, community presence can reverse the effect of phage presence. For example, Gómez and Buckling found that phage suppressed the density of their host P. fluorescens in the presence of other soil bacterial species, but in the absence of the community phage-presence actually increased the density of the focal host [36, 46]. The exact mechanism driving this effect remains unexplained. Similarly, Mumford and Friman found that community presence altered the effect of phage, with the direction of change dependent on the community membership (Fig S2, [40]). In their infection community they found that phage addition in monocultures depressed host density, while phage addition in the presence of other bacterial species suppressed, had no effect, or even elevated focal host density, depending on competitor identity and whether the focal host was wild type or quorum sensing-deficient. The conflicting findings of these three studies suggest that much further work is warranted before we can understand how community presence and phage presence interact with each other in a generalizable way.

Effects of community context on focal species’ evolution

The presence of other bacterial species can also alter the evolution of one or both of the focal bacteria and phage populations by: altering the progression and dynamics of (co)evolutionary change, changing the mechanisms by which evolution proceeds, or modifying the pleiotropic consequences of adaptation.

Bacteria-phage (co)evolution

In response to one another, bacteria and phages can (co)evolve adaptations conferring changes in resistance and infectivity, respectively [47]. However, existing evidence is conflicted over how community context affects the nature and rate of such antagonistic (co)evolution (Table 2).

Table 2 Evolutionary effects of community presence on focal bacteria-phage species.

For instance, some studies have found that community presence constrains the (co)evolution of one or both of the focal species (Table 2). In Mumford and Friman’s experiments with an infection community, although community presence did not alter the qualitative coevolutionary dynamics, it did reduce the frequency of evolved resistance to both contemporary and ancestral phages [40]. However, this effect only occurred when the host was wild type and not quorum sensing-deficient, a difference that may be, in part, driven by genotype-dependent ecological effects (see ecology section). Similarly, Johnke et al. observe that community presence prevents coevolution: in the absence of the community, bacteria and phages evolve in a fluctuating selection dynamics pattern; in the presence of the community, the host bacteria go extinct [38]. These two experiments are consistent with the idea that community presence constrains the evolution of focal species, possibly by limiting available niche space, imposing new selective pressures, or driving otherwise-unexperienced trade-offs between biotic and abiotic pressures [31].

In contrast, others have found that community presence has little effect on (co)evolutionary dynamics (Table 2). For instance, with four marine bacteria-phage pairs, Middelboe et al. observed the evolution of complete resistance to phage infection regardless of community context [48]. Similarly, Gómez and Buckling tested the effect of soil community presence on bacteria-phage (co)evolution. Although their resistance data were suggestive of community presence accelerating coevolution, they measured neither an effect of community presence on the rate of genomic evolution, the type of coevolutionary dynamics, the degree of local adaptation by phages, nor any interaction with phage presence in affecting focal host adaptive radiation [36, 46, 49]. These studies show that community presence can sometimes have little effect on focal bacteria-phage coevolution.

In one final example, community presence actually enabled greater evolution in the focal species. De Sordi et al. investigated the evolution of Escherichia coli phage P10 along with two strains of E. coli—one host and one nonhost [50, 51]. After inoculating all three in vitro, in germ-free mice guts, and in conventional mice guts (with an intact microbiome), they found that only the conventional mouse gut environment enabled the phage to evolve infectivity for the nonhost E. coli strain. They went on to show that a third strain of E. coli, present only in the conventional mouse gut, acted as an eco-evolutionary bridge enabling the phage to adapt to infect the nonhost E. coli strain. Thus, in this experiment, community presence accelerated the evolution of phage host-range shifts and expansion by enabling new coevolutionary trajectories.

Overall, community presence can retard, have no effect, or in rare cases accelerate bacteria-phage (co)evolution. Many factors could drive these differences, although experimental conditions like bottleneck size and evolutionary timescale appear not to drive the patterns observed here (Table 3). Future work is necessary to identify the determinants of community context-driven changes in (co)evolution.

Table 3 Evolutionary timescale and bottleneck size in experimental studies.

Evolutionary mechanisms

Community presence can also affect the mechanisms by which focal bacteria and phage populations tend to evolve. For instance, Alseth et al. showed that community presence can alter the ways that bacteria evolve resistance to phage infection [43]. In their model infection community, they found that the relative fitness of two resistance mechanisms was altered by community context: in the presence of other species, P. aeruginosa primarily evolved CRISPR-based resistance; in the absence of other species, P. aeruginosa primarily evolved surface mutation-based resistance. While the exact mechanism remains unknown, it may be related to prior work in the system finding cooperative phage anti-CRISPR systems [52] and nutrient-dependent evolution of resistance [53]. Regardless, to our knowledge, this is the first study to show how community context can alter the fitness landscape of bacterial resistance to phage, so more experiments are necessary to test how community presence can affect the evolution of other resistance mechanisms [54, 55].

Pleiotropy

In bacteria-phage communities, (co)evolution can drive changes beyond the resistance or infectivity phenotype. Such examples of pleiotropy may exist as an evolved trade-up, when the secondary effect is beneficial, or as an evolved trade-off, when the secondary effect is deleterious (a “cost” to evolution). Both trade-offs and trade-ups can have important effects, from competitive ability to virulence [56].

Some existing work has clearly documented community context interacting with the trade-offs and trade-ups faced by focal bacteria. For instance, Alseth et al. showed that community presence drove focal bacteria to escape a trade-off between phage resistance and virulence because community presence favored resistance mechanisms that did not trade-off with virulence (see evolutionary mechanisms section) [43]. On the other hand, Johnke et al. documented trade-ups associated with community and phage presence [38]. In their experiments, focal host Klebsiella sp. evolved a higher growth rate in treatments with phage or community presence alone, but was driven extinct in the treatment with both phage and community presence.

In contrast to these studies, others have failed to find evidence that community context interacts with the trade-offs and trade-ups faced by focal species. For instance, Gómez and Buckling found that the presence of a microbial soil community had no effect on the cost of evolved resistance to phage [36]. Similarly, Mumford and Friman found that focal P. aeruginosa paid a genotype-dependent cost to adapt to phages or bacterial competitors, but that these costs were independent and did not interact [40]. More work is needed to determine how the pleiotropic effects of adaptation to antagonists and community presence generally interact, especially across diverse systems whose molecular details differ.

Concluding remarks

There is a long history of studying the ecology and evolution of bacteria-phage communities, and the studies reviewed here have highlighted the importance of biotic community context as a key factor. Generally, these experiments have found community presence to have consistent ecological effects but divergent evolutionary effects. In part, this could arise from differences in how ecology and evolution have been measured: while ecological dynamics have often been measured similarly, evolutionary dynamics have been assessed with a diversity of metrics. At the same time, the molecular details specific to each experiment may be more important for evolution than ecology. Further work, especially using similar approaches across systems, is necessary to resolve this difference.

To our knowledge, the nine studies reviewed here are the only published experiments to manipulate bacterial community context while measuring the ecological or evolutionary dynamics of bacteria-phage populations. Given the dearth of studies, many questions remain unanswered (Box 2), but two limitations of the existing experiments particularly stand out. First, many of these studies have been conducted in communities with 3 or 4 bacterial species. More speciose communities are likely to more strongly suppress focal species densities and constrain focal coevolution, more closely resembling natural communities [31]. Thus, observing the ecological and evolutionary effects of species-rich communities is an important avenue for future work. Second, nearly all of these studies have observed dynamics over short timescales, typically 10–15 generations (Table 3). Given this, it’s likely that much of the observed evolutionary change is the result of selection for phage resistance in the focal host. It remains to be seen what ecological and evolutionary dynamics emerge over longer timescales in multispecies bacteria-phage communities.

Just as future experiments must expand the scope of approaches and ask novel questions, there is also a need for research to coalesce conceptually and methodologically (Fig S4). Ultimately, only by determining the effects of community context on bacteria-phage communities can we fully understand these important systems, both as laboratory models and for their central roles in the natural world and human health.