Abstract
CRISPR is a newly discovered prokaryotic immune system. Bacteria and archaea with this system incorporate genetic material from invading viruses into their genomes, providing protection against future infection by similar viruses. The condition for coexistence of prokaryots and viruses is an interesting problem in evolutionary biology. In this work, we show an intriguing phase diagram of the virus extinction probability, which is more complex than that of the classical predator–prey model. As the CRISPR incorporates genetic material, viruses are under pressure to evolve to escape recognition by CRISPR. When bacteria have a small rate of deleting spacers, a new parameter region in which bacteria and viruses can coexist arises, and it leads to a more complex coexistence patten for bacteria and viruses. For example, when the virus mutation rate is low, the virus extinction probability changes non-montonically with the bacterial exposure rate. The virus and bacteria coevolution not only alters the virus extinction probability, but also changes the bacterial population structure. Additionally, we show that recombination is a successful strategy for viruses to escape from CRISPR recognition when viruses have multiple proto-spacers, providing support for a recombination-mediated escape mechanism suggested experimentally. Finally, we suggest that the re-entrant phase diagram, in which phages can progress through three phases of extinction and two phases of abundance at low spacer deletion rates as a function of exposure rate to bacteria, is an experimentally testable phenomenon.
Keywords: CRISPR, phase diagram, bacteria, virus, extinction, coevolution
1. Introduction
Clustered regularly interspaced short palindromic repeats (CRISPR) is a recently discovered immune system of prokaryotes. It is widely distributed in bacteria and archaea. Nearly half of bacteria and almost all archaea possess the CRISPR system [1–4]. CRISPR is adaptive and heritable [5]: bacteria can acquire a short piece of invading DNA (termed proto-spacer) and integrate this piece of exogenous DNA into the CRISPR locus. The nucleotide sequence in the CRISPR locus that originated from the invading DNA is called a spacer. The mechanism of the CRISPR system is categorized into three stages: the acquisition and integration of new spacers into CRISPR, expression and maturation of CRISPR RNAs (crRNAs), and CRISPR interference [6–8]. In the acquisition stage, proto-spacers from viruses (phages) or plasmids are integrated into the CRISPR locus. During the expression stage, CRISPRs are first transcribed to precursor CRISPR RNAs (pre-crRNAs). Pre-crRNAs are then catalysed by Cas (CRISPR-associated) proteins into mature crRNAs. In the interference stage, crRNAs guide Cas proteins to cleave the complementary DNA of invading plasmids or phages [9–14].
The discovery of the CRISPR system challenged our understanding of the evolutionary dynamics of bacteria and phages [5,15]. Several models were established to explain the interesting features of CRISPR and the coevolution of prokaryotes and phages. Levin used an ecological model to investigate the question of why and how CRISPR is established and maintained in a bacterial population [16]. A similar model that considered the conjugational transfer of beneficial plasmids suggested that plasmids may be more likely to evade CRISPR-Cas immunity by inactivation of functional CRISPR-Cas rather than by mutation of the target proto-spacers [17]. He & Deem [18] introduced a population dynamics model to explain the heterogeneous distribution of the spacer diversity in CRISPR, i.e. the decrease of spacer diversity with distance from the leader. A later paper considered a density-dependent phage growth model and showed that recombination allows viruses to evade CRISPR more effectively than does point mutation alone when greater than one mismatch between the crRNA and protospacer was required for viruses to escape CRISPR recognition [19]. Childs et al. [20] used an eco-evolutionary model of CRISPR with imperfect immunity to also show that both bacteria and phages were highly diversified by coevolution and that diversity decreased with distance from the leader. In another paper, a metric, population-wide distributed immunity (PDI) was defined to quantify the immunity distributed among the host–viral population. This model showed that the number of viral proto-spacers, mutation rate, host spacer acquisition rate and spacer number could change the host–viral population structure by a distributed immunity [21]. Haerter et al. considered spatial effects. Their model showed that CRISPR and spatial self-organization stabilized the coexistence of bacteria and phages. Protected by CRISPR, bacteria could coexist with phages even when the diversity of phages was large [22]. In a follow-up paper, the fitness cost of spacers was taken into consideration. Owing to the spatial inhomogeneity and the fitness cost of spacers, it was observed that evolution favours an intermediate number of spacers [23]. Weinberger et al. [24] combined a population-genetic model with metagenomic sequencing to study the population dynamics of bacteria and phages. They reported the gradual loss of bacterial diversity through selective sweeps in the host population. This model also showed that the trailer-end of the spacer array was conserved even though the old spacers did not provide immunity against current phages. Increasing the spacer deletion rate repressed the bacterial immunity and led to a viral bloom. Weinberger et al. [25] also examined why CRISPRs are more common in archeae than in bacteria with the stochastic model of viral–CRISPR coevolution. The model showed that a decreased viral mutation rate increases the prevalence of CRISPR in archeae, and CRISPR appeared only at an intermediate level of innate immunity. In a follow-up paper [26], a model with explicit population dynamics showed that CRISPR was ineffective for extremely large populations. Because mesophiles usually have larger population sizes, this model gave another explanation for the increased prevalence of CRISPR in hyperthermophiles compared to mesophiles. Finally, a phase diagram of bacteria and phages has been computed, with results similar to the classical predator–prey model [26], i.e. bacteria and phages coexist only when the virulence of phages is not too high and the immunity of bacteria is not too strong. The mean-field assumption of this approach, however, is in contrast to the strong stochastic effects seen in experiments [27].
Here we investigated the conditions under which bacteria and phages can coexist in a fully stochastic model of coevolution. The competition here differs from that in the classical competitive exclusion principle [28,29], which studies the competition between species that occupy the same ecological niche. In our model, bacteria and phages do not occupy exactly the same ecological niche but rather can coexist. Phages can hijack bacteria, and bacteria can gain immunity to avoid being infected. We studied the impact of different phage evolution strategies, namely point mutation and recombination, on the coevolution of bacteria and phages. We found an interesting phase diagram of the extinction probability of phages, which cannot be explained by the classical predator–prey model. In the classical predator–prey model, bacteria and phages only coexist within one parameter region. Outside this region, bacteria and phages cannot both coexist. In this paper, we find bacteria and phages can coexist in several parameter regions. Indeed, bacteria and phages coexistence is re-entrant as a function of the exposure rate of phages to bacteria, for low phage mutation rates.
2. Method
We used a stochastic model to study the population dynamics of bacteria and phages. The bacteria have a rate of acquiring and losing spacers. The phages have multiple proto-spacers that can evolve by point mutation and recombination. Spacers and proto-spacers are expressed as a bit string. Each bit can be either ‘0’ or ‘1’. The length of each spacer and proto-spacer is L bits. The number of proto-spacers in phages is np. CRISPR suppresses the phages, and unrecognized phages can infect and reproduce in bacteria. The coevolving dynamics is described by seven events:
(i) Bacteria reproduction: the growth rate of wild-type bacteria that do not acquire any spacers is c0. Each spacer has a cost c. The growth rate of bacteria that have spacer array s is
, where ks is the number of spacers in the spacer array s, xB is the density of healthy bacteria, xI is the density of infected bacteria and xBM is the maximum density of bacteria.(ii) Bacteria infection: healthy bacteria can be infected by phages. The adsorption rate of phages to healthy bacteria is βxPxB, where β is the exposure rate, xP is the density of free phages and xB is the density of healthy bacteria. Bacteria have a probability γ to acquire a new spacer from the invading phage genome. Each proto-spacer has probability γ/np to be acquired. The newly acquired spacer is always inserted at the leader–proximal end of CRISPR, and the phage is degraded. Old spacers are shifted to the distal end. The maximum number of spacers per bacteria is ns. If the number of spacers reaches ns, the oldest spacer is deleted when a new spacer is acquired. The alternative event, with probability 1 − γ, is no incorporation of a proto-spacer. In this case, if any spacer in the CRISPR matches any proto-spacer of the phage, the phage is killed. Otherwise, this bacterium becomes infected.
(iii) CRISPR deletes one spacer: a bacterium that possesses the spacer array s has a rate d · ks to delete one spacer, where ks is the number of spacers in spacer array s and d is the rate of deleting one spacer. When one spacer is deleted, the other spacers will be shifted towards the leader end.
(iv) Bacterial lysis: infected bacteria have a rate 1/τ to lyse, where τ is the latent time. When the infected bacteria lyse, b new phages come out, where b is the burst size. Each of the newborn phages can have point mutations or recombination.
(v) Phage mutation: phages upon bacterial lysis can have point mutation. The rate of point mutation is μ per base per replication. A mutation flips the value of a nucleotide.
(vi) Phage recombination: phages upon bacterial lysis can have recombination. The rate of recombination is ν. A recombination occurs with another phage randomly in the whole phage population, as a mean-field approximation to multiple infection. The recombination crossover probability is pc [19].
(vii) Phage degradation: each phage has a decay rate δ.
Initially, no bacteria have spacers. There are one or more strains of phages in the environment initially. Each strain of phages has np distinct proto-spacers.
The values of parameters are determined by the experimental data (see table 1). We used the Lebowitz–Gillespie algorithm [30,31] to sample the stochastic process of the coevolution of bacteria and phages. The master equation of this stochastic process is in appendix A.
Table 1.
Table of parameters.
| parameter | meaning | value | references |
|---|---|---|---|
| c0 | bacterial growth rate | 0.005 min−1 | [27] |
| c | cost of each spacer | 0.1 | [17] |
| β | bacterial exposure rate | 10−13 to 10−5 ml min−1 | [40] |
| γ | probability of acquiring new spacers | 0.0005 | [20,25] |
| d | rate of deleting one spacer | 10−5 min−1 | [17] |
| τ | latent time | 40 min | [41] |
| b | phage burst size | 100 | [41] |
| δ | phage decay rate | 0.001 min−1 | [42] |
| μ | mutation rate | 10−10 to 10−2 per base per replication | [43] |
| ν | recombination rate | 10−10 to 10−2 per base per replication | [44] |
| np | number of proto-spacers in phages | 30 | [27] |
| ns | maximum number of spacers in CRISPR | 6 | [27] |
| L | length of each spacer and proto-spacer | 10 bp | [45] |
| xBM | maximum bacterial density | 109 ml−1 | [27] |
| V | volume of the system | 10−3 ml−1 |
3. Results
We examine the coexistence of phages and bacteria as a function of the phage mutation rate and bacterial exposure rate. Figure 1 shows a phase diagram for the phage and bacterial populations. In figure 1c, there are four transitions in the extinction probability of phages when the mutation rate of phages is small. In region (1), phages begin to emerge but the density of phages stabilizes at a low level. Bacteria and phages can coexist in this region. In region (2), the density of phages increases initially but then decreases to zero. In this region, phages have a high probability to go extinct. In region (3), the density of phages initially increases and then decreases, but in contrast to the behaviour in region (2), phages can grow back and avoid extinction in this case. In region (4), phages rapidly go extinct after a sharp initial burst. The extinction probability of phages is high, and the extinction probability approaches a limit. In this region, bacteria and phages cannot coexist.
Figure 1.

The extinction probability of bacteria and phages when γ = 0.0005 and d = 10−5 min−1. The values of other parameters are c0 = 0.005 min−1, c = 0.1, b = 100,
and
. The volume of the system in our simulation is
. There is one strain of phages initially. The initial bacterial density is
. The initial phage density is
. (a) The extinction probability of phages. (b) The extinction probability of bacteria. (c) The extinction probability of phages when μ = 10−8 per base per replication in figure 1a. (d) The typical behaviour of a density of phages in the first four regions of figure 1c. (e) The average number of spacers in bacteria in the first four regions of figure 1c. (f) The average number of spacers in bacteria when bacteria go extinct and when phage go extinct. (Online version in colour.)
The four transitions for the extinction probability of phages as a function of β can be explained by equations (3.1) and (3.2). In region (1), because the density of phages is low and the value of β is small, the number of spacers in bacteria is almost 0 (figure 1e). Therefore, almost all bacteria are susceptible to phages. The equations of infected bacteria and phages can be approximated as
| 3.1a |
and
| 3.1b |
where xI is the density of infected bacteria and xP is the density of phages. Solving equation (3.1), we find when
the replication rate of phages begins to exceed the phage decay rate, so phages emerge in the system.
In region (2), as β increases, the density of phages rapidly increases and bacteria begin to acquire spacers (figure 1d,e). We can estimate the selection pressure on bacteria in this region. When
, which is the typical density of phages before bacteria acquire spacers in region (2), the infection rate of each bacterium that has no spacers is
, which is the same order as the growth rate of bacteria. So the bacteria that acquire spacers dominate the bacterial population in a short time, and the density of phages will go down, eventually to zero.
In region (3), the phages increase first, then bacteria acquire spacers, leading the phages to decrease, which is similar to the behaviour in the region (2). But when the density of phages is low, bacteria will delete spacers owing to the deletion rate and the cost of spacers. Because the mutation rate of phages is small, bacteria that acquire one or more spacers have immunity against most phages. Phages can only infect those bacteria that lost all spacers. Here we define the proportion of bacteria that have lost all spacers as q. Then the density of susceptible bacteria is xB · q. Thus, the equation of infected bacteria can be approximated as
| 3.2 |
In region (3), the value of q is roughly 0.1 from figure 1e, so we can find
. Therefore, in region (3), phages can grow back when some portion of bacteria lose spacers. As the density of phages increases, the average number of spacers in bacteria also increases, which in turn represses the growth of phages, as in figures 1d,e. So in this case, the density of phages fluctuates around a low value and eventually stabilizes.
The density of free phages decreases owing to two factors. One factor is decay. The other factor is due to CRISPR recognition and subsequent degradation. Therefore, the overall decay rate of phages is βxB + δ. In the left boundary of region (4), β is the order of
, and the overall decay rate of phages is
. Following the same argument as in region (3), the minimum value of q for which phages can grow back is
. The time required for q* bacteria to lose spacers is
, which is longer than the half-life of phages. Thus, before bacteria lose spacers, all of phages are adsorbed into bacteria. Because bacteria have acquired spacers, and the mutation rate of phages is small, phages that are adsorbed into bacteria are killed by CRISPR. Therefore, in region (4), phages go extinct rapidly after the initial burst. When β further increases, if bacteria acquire spacers, phages will go extinct rapidly. If bacteria do not acquire spacers, bacteria will go extinct, as in figure 1f. The extinction probability of phage approaches a limit,
in figure 1, the probability that one of the initial bacteria acquired a spacer, where NB0 is the initial bacterial population.
From the above explanation of the four regions in figure 1, we have the conditions for which this interesting non-classical phase diagram of phage extinction exists. First, bacteria must possess the CRISPR adaptive immune system: if bacteria do not have CRISPR, bacteria and phages can only coexist when β is small,
, and region (2) and region (4) will not exist. Second, bacteria must have some rate to lose the acquired immunity. If bacteria can accumulate an unlimited number of spacers, phages will eventually go extinct if the length of the proto-spacers is finite and region (3) will not exist. Third, the rate of losing the adaptive immunity must be small. In region (2) and the left boundary of region (4), phages cannot grow back because the rate of losing spacers is small. If the rate of losing spacers is large, region (2) will disappear and the left boundary of region (4) will move towards higher β values, as shown in figure 2a,b. Conversely, this phase diagram is not sensitive to the probability of acquiring new spacers. Increasing γ only changes the pattern of the extinction probability in high μ regions, making it more difficult for phages to escape from CRISPR recognition, as shown in figure 2c,d. From the above results, we predict when the deletion rate of spacer and the mutation rate of phages is small, decreasing the adsorption rate of phages can make phages extinct. However, further decreasing the adsorption rate can allow phages to re-emerge.
Figure 2.
The extinction probability of (a) phages and (b) bacteria. Here the probability of acquiring new spacers is γ = 0.0005, and the rate of deleting one spacer is d = 0.0001 min−1. The extinction probability of (c) phages and (d) bacteria. Here γ = 0.005 and d = 10−5 min−1. Other parameters are the same as those in figure 1. (Online version in colour.)
CRISPR changes the bacterial population structure. In figure 3, the Shannon entropy of the first spacer is used as a measure of the diversity. In figure 3, the diversity of spacers rises slowly when β is small, region (1) in figure 1c. This is because the selection pressure on bacteria is small, and CRISPR does not provide bacteria much advantage. As β increases, the diversity of spacers increases faster because the density of phages is larger and the value of β is higher, making the adsorption of phages into bacteria more rapid. But the steady-state value of the diversity decreases, implying the distribution of spacers becomes more biased. If the selection pressure on bacteria is larger, the bacteria that acquire spacers will dominate the population in a shorter time. When the bacteria that have spacers dominate the population, phages are repressed, and the density of phages stays at a low level. The process of acquiring spacers becomes slower, leading to a smaller steady value of spacer diversity.
Figure 3.

The diversity of the first spacer, defined as
, where ps0(k) is the observed probability to have sequence k at the first position, s0, in the spacer array in CRISPR, for different values of bacterial exposure rate β when the mutation rate is μ = 10−8. The other parameters are the same as those in figure 1. (Online version in colour.)
Phages can have rapid recombination [32]. Recombination is compared with point mutation of phages in figure 4. Here there are two strains of phages initially, and so acquisition of two spacers is required for bacterial immunity. The limiting extinction probability, in this case, is
in figure 4. Additionally, at very large β, bacteria with a finite number of spacers, ns, eventually go extinct when the spacer array by chance is entirely occupied by proto-spacers from only one strain of phage. Finally, the extinction probability of phages when phages have only recombination is lower than that when phages have only point mutation, because recombination can change several proto-spacers at once.
Figure 4.
The extinction probability of (a) phages and (b) bacteria when phages undergo only point mutation. The extinction probability of (c) phages and (d) bacteria when phages undergo only recombination. Initially, there are two strains of phages. Here the probability of acquiring new spacers is γ = 0.01. The other parameters are the same as those in figure 1. (Online version in colour.)
4. Discussion
The cost of adding novel spacers is undetectable in some experiments [33,34]. In our model, we set the cost of adding new spacers to a small value, consistent with the experimental data. We also found that the results are persistent with changes to the cost of adding novel spacers in our model. When we set the cost of adding new spacers to zero and 0.5, the results, which are shown in figures 5 and 6, are almost identical with those when the cost of adding new spacers is 0.1.
Figure 5.
The extinction probability of (a) phages and (b) bacteria. Here the cost of adding new spacers is zero. Other parameters are the same as those in figure 1 in the main text. (Online version in colour.)
Figure 6.
The extinction probability of (a) phages and (b) bacteria. Here the cost of adding new spacers is 0.5. Other parameters are the same as those in figure 1 in the main text. (Online version in colour.)
Here we showed that bacteria can coexist with one phage strain because of the balance between acquisition and deletion of spacers. But this balance cannot always be achieved, and in some parameter regimes either the phages or bacteria go extinct. For example, the study of Paez-Espino et al. [27] showed coexistence of phage and bacteria, whereas the study of van Houte et al. [35] showed elimination of phage by bacteria for a sufficiently diverse bacteria population of CRISPR spacers. When the bacterial exposure rate varies, the coexistence of bacteria and phages shows an interesting pattern of re-entrant phases. Thus, a testable prediction of our model is that when the bacterial exposure rate is low, phages go to extinction; increasing the bacterial exposure rate makes the phage population emerge in the system, but increasing the bacterial exposure rate still further can result in phages extinction. Phages can further re-emerge if the bacterial exposure rate is increased more. Finally, phages go extinct when the bacterial exposure rate excesses a critical threshold. The whole process is depicted in figure 1c. The bacterial exposure rate may change due to the variation in phage tail and host receptor affinities, or because of the change in temperature and ion densities, and changes to this exposure rate strongly influence the balance between acquisition and deletion of spacers.
When there is greater than a single phage sequence, for example, when the phage mutation rate increases, the coexistence of bacteria and phages is stabilized owing to less ability of the bacteria to recognize the diverse phage strains. Here our approach has mimicked controlled environments such as laboratory and factory strains rather than natural environment strains such as those arising in the ocean [36,37]. In natural environments, the diversity of bacteria and phages is likely rather large. In our current model, there is initially a single bacteria strain and one or two phages strains initially. As time elapses, the diversity of bacteria increases, but the diversity of phages remains low because the phage mutation rate is relatively small.
The boundaries of the phases that arose from the stochastic coevolution process were explained by a mean-field analysis. In this way, we theoretically estimated the threshold of the bacterial exposure rate, β, at which the bacteria and phages can coexist and gained the insight into why bacteria and phages coexist. The phase diagrams showed here are the results at steady state, when average the total densities of bacteria and phages remain unchanging with time, with the density of each species fluctuating around the average values.
When multiple species of phage were present, recombination allowed the phage to more easily escape extinction by the CRISPR immune system. The phase diagram was shifted such that lower rates of recombination were as effective at immune evasion as were higher rates of mutation. These results support the interpretation of long-term bacterium–phage coevolution experiments, in which recombination among multiple phage strains enable phage persistence against the bacterial CRISPR system [38].
Other properties of the phage–bacteria coevolving system also affect the phase boundaries. For example, when the spacer diversity is sufficient, the phages can be driven to extinction. The boundary for extinction depends on the number of spaces in the CRISPR system, as seen, for example, by comparing the present results to previous results for a larger CRISPR array [19]. The ability of CRISPR to drive phages to extinction has been seen experimentally [35].
We note that the high rates of bacterial exposure lead to phage persistence and bacterial extinction. High rates of exposure may result from effect contact between the phage and bacteria. High rates may also result from migration of naive bacteria to regions of high phage concentration and diversity. From the present results, we see that CRISPR will become a less effective protection mechanism at high exposure or migration rates. This result has been observed experimentally, where high bacterial migration rates induced a shift from CRISPR-mediated protection to a surface modification-mediated defence by bacteria [39]. The more specific CRISPR mechanism is effective when bacteria have enough time to incorporate the proto-spacers providing protection [19,33].
In summary, we predict an interesting phase diagram of phage extinction probability. When the deletion rate of spacers in CRISPR is small, phages go extinct when the value of β is low, but phages can coexist with bacteria when β is even lower. CRISPR changes the evolution of bacteria and phages, accelerating the coevolution of bacteria and phages. Finally, recombination is a more efficient mechanism for phages to escape the recognition of CRISPR than is point mutation when there are multiple proto-spacers in the phage. Future work may consider biotechnology applications, genome editing approaches, population-level bacterial control or effects of recombination in the microbiome.
Acknowledgments
We thank Dr Jeong-Man Park, the Catholic University of Korea, for helpful discussions about the method of this paper.
Appendix A
A.1. Table of parameters
The parameters used in the main text are listed in table 1.
The values of c0 and xBM are estimated from [27]. The cost of spacers is low [17]; here, we choose
. The values of b and τ are estimated from [41]. The value of β is estimated from [40]. The value of γ is estimated from [20] and [25]. The value of d is estimated from [17]. The value of δ is estimated from [42]. The value of μ is estimated from [43]. The value of ν is estimated from [44] and is the same order as the value of μ. The interference between proto-spacers and CRISPR spacers is governed by the proto-spacer adjacent motif (PAM) and the seed regions [45]. The length of the PAM is about 3 bp, and the length of the seed region is 7 bp [45], so we set the length of spacers and proto-spacers to 10 pb. In the experiment to which we compare [27], the average number of spacers in CRISPR is small, on average 0.8 spacers per bacteria, so we set the maximum number of spacers to 6. The average number of spacers in our simulation is shown in figure 7. There are 27 spacers that account for between 82% and 99% of all spacers sampled on any individual day in the experiment to which we compare [27] (figure 8). Here we set np to 30. We also tried np = 1. The results are qualitatively the same, as shown in figure 9. The volume V is set to mimic the typical volume of a droplet.
Figure 7.

The average number of spacers in CRISPR. The parameters are the same as those in figure 1 in the main text. Blank means no data available. (Online version in colour.)
Figure 8.

The average number of spacers in CRISPR when μ = 10−8 in figure 7. The parameters are the same as those in figure 1 in the main text. (Online version in colour.)
Figure 9.
The extinction probability of bacteria and phages when np = 1. Other parameters are the same as those in figure 1 in the main text. (Online version in colour.)
A.2. Master equation
The master equation of the stochastic process described in the main text is
![]() |
A 1 |
where
is the population of the bacteria with spacer array s,
is the population of infected bacteria invaded by phages with proto-spacer array
,
is the population of phages with proto-spacer array
, and
is the maximum population of bacteria. In equation (A 1),
when s recognizes
and 1 otherwise. The
when
and 0 otherwise. The
when
and 0 otherwise. The hamming distance between
and
is
. The
is a bit string, which denotes the recombination pattern. Each bit in
is either 0 or 1. If
, it means there is a crossover at position k. If
, it means there is no crossover at position k. The
if
can be generated by the recombination pattern
from
and
and 0 otherwise.
if
and 0 otherwise. In
, if
, it means
. In general,
is short hand for
.
We can show that
![]() |
and
![]() |
Therefore,
![]() |
and
![]() |
This is why we get the last term in equation (A1).
A.3. Mean field equations
The corresponding mean field equations for the densities of bacteria and phages, shown for illustrative purpose and not used in the simulations reported in the main text, are
![]() |
A 2a |
![]() |
A 2b |
![]() |
A 2c |
where
is the density of bacteria with spacer array s,
is the density of infected bacteria invaded by phages with proto-spacer array
, and
is the density of phages with proto-spacer array
. The functions of
,
,
and
are the same as those in equation (A 1).
A.4. Varying the cost of adding new spacers
The phase diagrams of the extinction probability of phages and bacteria do not change when the cost of adding novel spacers varies.
A.5. Number of spacers
The average number of spacers in our simulation does not reach ns in most of the parameter regime. In the range
and
, the average number of spacers is 0–2, which is in agreement with the experiment data in [27].
A.6. Number of proto-spacers
When np = 1, the pattern of the extinction probability of phages is qualitatively the same as figure 1 in the main text.
Authors' contributions
P.H. wrote the codes, collected and analysed the data, drafted the manuscript. Both P.H. and M.W.D developed and analysed the model. M.W.D helped to draft the manuscript. All authors gave final approval for publication. M.W.D. conceived of the study and wrote the manuscript. P.H. carried out the research and wrote the manuscript.
Competing interests
We declare we have no competing interests.
Funding
We received no funding for this study.
References
- 1.Grissa I, Vergnaud G, Pourcel C. 2007. CRISPRFinder: a web tool to identify clustered regularly interspaced short palindromic repeats. Nucleic Acids Res. 35, W52–W57. ( 10.1093/nar/gkm360) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Sorek R, Victor K, Hugenholtz P. 2008. CRISPR–a widespread system that provides acquired resistance against phages in bacteria and archaea. Nat. Rev. Microbiol. 6, 181–186. ( 10.1038/nrmicro1793) [DOI] [PubMed] [Google Scholar]
- 3.van der Oost J, Jore MM, Westra ER, Lundgren M, Brouns SJJ. 2009. CRISPR-based adaptive and heritable immunity in prokaryotes. Trends Biochem. Sci. 34, 401–407. ( 10.1016/j.tibs.2009.05.002) [DOI] [PubMed] [Google Scholar]
- 4.Horvath P, Barrangou R. 2010. CRISPR/Cas, the immune system of bacteria and archaea. Science 327, 167 ( 10.1126/science.1179555) [DOI] [PubMed] [Google Scholar]
- 5.Barrangou R, Fremaux C, Deveau H, Richards M, Boyaval P, Moineau S, Romero DA, Horvath P. 2007. CRISPR provides acquired resistance against viruses in prokaryotes. Science 315, 1709–1712. ( 10.1126/science.1138140) [DOI] [PubMed] [Google Scholar]
- 6.Marraffini LA, Sontheimer EJ. 2010. CRISPR interference: RNA-directed adaptive immunity in bacteria and archaea. Nat. Rev. Genet. 11, 181–190. ( 10.1038/nrg2749) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Makarova KS. et al 2011. Evolution and classification of the CRISPR-Cas systems. Nat. Rev. Microbiol. 9, 467–477. ( 10.1038/nrmicro2577) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Wiedenheft B, Sternberg SH, Doudna JA. 2012. RNA-guided genetic silencing systems in bacteria and archaea. Nature 482, 331–338. ( 10.1038/nature10886) [DOI] [PubMed] [Google Scholar]
- 9.Mojica FJM, Doíez-Villaseñr C, García-Martínez J, Almendros C. 2009. Short motif sequences determine the targets of the prokaryotic CRISPR defence system. Microbiology 155, 733–740. ( 10.1099/mic.0.023960-0) [DOI] [PubMed] [Google Scholar]
- 10.Swarts DC, Mosterd C, van Passel MWJ, Brouns SJJ. 2012. CRISPR interference directs strands specific spacer acquisition. PLoS ONE. 7, e35888 ( 10.1371/journal.pone.0035888) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Deveau H, Garneau JE, Moineau S. 2010. CRISPR/Cas system and its role in phage-bacteria interactions. Annu. Rev. Microbiol. 64, 475–493. ( 10.1146/annurev.micro.112408.134123) [DOI] [PubMed] [Google Scholar]
- 12.Przybilski R, Richter C, Gristwood T, Clulow JS, Vercoe RB, Fineran PC. 2011. Csy4 is responsible for CRISPR RNA processing in Pectobacterium atrosepticum. RNA Biol. 8, 517–528. ( 10.4161/rna.8.3.15190) [DOI] [PubMed] [Google Scholar]
- 13.Lintner NG. et al. 2011. Structural and functional characterization of an archael clustered regularly interspaced short palindromic repeat (CRISPR)-associated complex for antiviral defense (CASCADE). J. Biol. Chem. 286, 21643–21656. ( 10.1074/jbc.M111.238485) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Zhang J. et al. 2012. Structure and mechanism of the CMR complex for CRISPR-mediated antiviral immunity. Mol. Cell 45, 303–313. ( 10.1016/j.molcel.2011.12.013) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Banfield JF, Young M. 2009. Variety–the splice of life–in microbial communities. Science 326, 1198–1199. ( 10.1126/science.1181501) [DOI] [PubMed] [Google Scholar]
- 16.Levin BR. 2010. Nasty viruses, and costly plasmids, population dynamics, and the conditions for establishing and maintaining CRISPR-mediated adaptive immunity in bacteria. PLoS Genet. 6, e1001171 ( 10.1371/journal.pgen.1001171) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Jiang W, Maniv I, Arain F, Wang Y, Levin BR, Marraffini LA. 2013. Dealing with the evolutionary downside of CRISPR immunity: bacteria and beneficial plasmids. PLoS Genet. 9, e1003844 ( 10.1371/journal.pgen.1003844) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.He J, Deem MW. 2010. Heterogeneous diversity of spacers within CRISPR (clustered regularly interspaced short palindromic repeats). Phys. Rev. Lett. 105, 128102 ( 10.1103/PhysRevLett.105.128102) [DOI] [PubMed] [Google Scholar]
- 19.Han P, Niestemski LR, Barrick JE, Deem MW. 2013. Physical model of the immune response of bacteria against bacteriophage through the adaptive CRISPR-Cas immune system. Phys. Biol. 10, 025004 ( 10.1088/1478-3975/10/2/025004) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Childs LM, Held NL, Young MJ, Whitaker RJ, Weitz JS. 2012. Multiscale model of CRISPR-induced coevolutionary dynamics: diversification at the interface of Lamarck and Darwin. Evolution 66, 2015–2029. ( 10.1111/j.1558-5646.2012.01595.x) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Childs LM, England WE, Young MJ, Weitz JS, Whitaker RJ. 2014. CRISPR-Induce distributed immunity in microbial population. PLoS ONE 9, e101710 ( 10.1371/journal.pone.0101710) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Haerter JO, Trusina A, Sneppen K. 2011. Targeted bacterial immunity buffers phage diversity. J. Virol. 85, 10554 ( 10.1128/JVI.05222-11) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Haerter JO, Sneppen K. 2012. Spatial structure and Lamarckian adaptation explain extreme genetic diversity at CRISPR locus. mBio 3, e00126-12 ( 10.1128/mBio.00126-12) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Weinberger AD. et al 2012. Persisting viral sequences shape microbial CRISPR-based immunity. PLoS Comput. Biol. 8, e1002475 ( 10.1371/journal.pcbi.1002475) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Weinberger AD, Wolf YI, Lobkovsky AE, Gilmore MS, Koonin EV. 2012. Viral diversity threshold for adaptive immunity in prokaryotes. mBio 3, e00456-12 ( 10.1128/mBio.00456-12) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Iranzo J, Lobkovsky AE, Koonin EV. 2013. Evolutionary dynamics of the prokaryotic adaptive immunity system CRISPR-Cas in an explicit ecological context. J. Bacteriol. 195, 3834–3844. ( 10.1128/JB.00412-13) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Paez-Espino D, Morovic W, Sun CL, Thomas BC, Ueda K, Stahl B, Barrangou R, Banfield JF. 2013. Strong bias in the bacterial CRISPR elements that confer immunity to phage. Nat. Commun. 4, 1430 ( 10.1038/ncomms2440) [DOI] [PubMed] [Google Scholar]
- 28.Gauze GF. 1934. The struggle for existence. Baltimore: The Williams & Wilkins company; See http://www.biodiversitylibrary.org/bibliography/4489. [Google Scholar]
- 29.Hardin G. 1960. The Competitive Exclusion Principle. Science. 131, 1292–1297. ( 10.1126/science.131.3409.1292) [DOI] [PubMed] [Google Scholar]
- 30.Bortz AB, Kalos MH, Lebowitz JL. 1975. A new algorithm for Monte Carlo simulation of Ising spin systems. J. Comput. Phys. 17, 10–18. ( 10.1016/0021-9991(75)90060-1) [DOI] [Google Scholar]
- 31.Gillespie DT. 1977. Exact stochastic simulation of coupled chemical reactions. J. Phys. Chem. 81, 2340–2361. ( 10.1021/j100540a008) [DOI] [Google Scholar]
- 32.Andersson AF, Banfield JF. 2008. Virus population dynamics and acquired virus resistance in natural microbial communities. Science 320, 1047–1050. ( 10.1126/science.1157358) [DOI] [PubMed] [Google Scholar]
- 33.Westra ER. et al 2015. Parasite exposure drives selective evolution of constitutive versus inducible defense. Current Biology 25, 1043–1049. ( 10.1016/j.cub.2015.01.065) [DOI] [PubMed] [Google Scholar]
- 34.Vale PF, Little TJ. 2010. CRISPR-mediated phage resistance and the ghost of coevolution past. Proc. R. Soc. B. ( 10.1098/rspb.2010.0055) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.van Houte S. et al 2016. The diversity-generating benefits of a prokaryotic adaptive immune system. Nature. 532, 385–388. ( 10.1038/nature17436) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Flores CO, Valverde S, Weitz JS. 2013. Multi-scale structure and geographic drivers of cross-infection within marine bacteria and phages. The ISME Journal. 7, 520–532. ( 10.1038/ismej.2012.135) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Haerter JO, Mitarai N, Sneppen K. 2014. Phage and bacteria support mutual diversity in a narrowing staircase of coexistence. The ISME Journal. 8, 2317–2326. ( 10.1038/ismej.2014.80) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Paez-Espino D, Sharon I, Morovic W, Stahl B, Thomas BC, Barrangou R, Banfield JF. 2015. CRISPR immunity drives rapid phage genome evolution in Streptococcus thermophilus. MBio. 6, e00262–15. ( 10.1128/mBio.00262-15) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Chabas H, van Houte S, Hoyland-Kroghsbo NM, Buckling A, Westra ER. 2016. Immigration of susceptible hosts triggers the evolution of alternative parasite defence strategies. Proc. R. Soc. B 283, 20160721 ( 10.1098/rspb.2016.0721) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Moldovan R, Chapman-McQuiston E, Wu XL. 2007. On kinetics of phage adsorption. Biophys. J. 93, 303–315. ( 10.1529/biophysj.106.102962) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Ellis EL, Delbrück M. 1939. The growth of bacteriophage. J. Gen. Physiol. 22, 365–384. ( 10.1085/jgp.22.3.365) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Suttle CA, Chen F. 1992. Mechanisms and rates of decay of marine viruses in seawater. Appl. Environ. Microbiol. 58, 3721–3729. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Sanjuán R, Nebot MR, Chirico N, Mansky LM, Belshaw R. 2010. Viral mutation rates. J. Virol. 84, 9733–9748. ( 10.1128/JVI.00694-10) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Benbow RM, Zuccarelli AJ, Davis GC, Sinsheimer RL. 1974. Genetic recombination in bacteriophage ϕX174. J. Virol. 13, 898–907. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Semenova E, Jore MM, Datsenko KA, Semonova A, Westra ER, Wanner B, van der Oost J, Brounsb SJJ, Severinov K. 2011. Interference by clustered regularly interspaced short palindromic repeat (CRISPR) RNA is governed by a seed sequence. Proc. Natl. Acad. Sci. USA 108, 10 098–10 103. ( 10.1073/pnas.1104144108) [DOI] [PMC free article] [PubMed] [Google Scholar]













