Abstract
We experimentally and numerically investigate the evolutionary dynamics of four competing strains of E. coli with differing expansion velocities in radially expanding colonies. We compare experimental measurements of the average fraction, correlation functions between strains, and the relative rates of genetic domain wall annihilations and coalescences to simulations modeling the population as a one-dimensional ring of annihilating and coalescing random walkers with deterministic biases due to selection. The simulations reveal that the evolutionary dynamics can be collapsed onto master curves governed by three essential parameters: (1) an expansion length beyond which selection dominates over genetic drift; (2) a characteristic angular correlation describing the size of genetic domains; and (3) a dimensionless constant quantifying the interplay between a colony’s curvature at the frontier and its selection length scale. We measure these parameters with a new technique that precisely measures small selective differences between spatially competing strains and show that our simulations accurately predict the dynamics without additional fitting. Our results suggest that the random walk model can act as a useful predictive tool for describing the evolutionary dynamics of range expansions composed of an arbitrary number of genotypes with different fitnesses.
Author summary
Population expansions occur naturally during the spread of invasive species and have played a role in our evolutionary history when humans migrated out of Africa. We use a colony of non-motile bacteria expanding into unoccupied, nutrient-rich territory on an agar plate as a model system to explore how an expanding population’s spatial structure impacts its evolutionary dynamics. Spatial structure is present in expanding microbial colonies because daughter cells migrate only a small distance away from their mothers each generation. Generally, the constituents of expansions occurring in nature and in the lab have different genetic compositions (genotypes, or alleles if a single gene differs), each instilling different fitnesses, which compete to proliferate at the frontier. Here, we show that a random-walk model can accurately predict the dynamics of four expanding strains of E. coli with different fitnesses; each strain represents a competing allele. Our results can be extended to describe any number of competing genotypes with different fitnesses in a naturally occurring expansion as long as the underlying motility of the organisms does not cause our model to break down. Our model can also be used to precisely measure small selective differences between spatially competing genotypes in controlled laboratory settings.
Introduction
A competition between stochastic and deterministic effects underlies evolution. In a well-mixed system such as a shaken culture of the yeast microorganism Saccharomyces cerevisiae, stochastic competition between individuals, mutations, and selection dictate the dynamics of the population [1]. In spatially structured environments, active or passive dispersal of individuals also plays an important role. The local “well-mixed” dynamics must be coupled to the motion of individuals, leading to strikingly different evolutionary dynamics, even in the absence of selection [2–7].
A model laboratory system that can be used to explore the coupling between local “well-mixed” effects and spatial deterministic and stochastic dynamics is a microbial range expansion [8], in which a population expands into an unoccupied region of a hard agar Petri dish. Non-motile microbes expand outwards from their initial position due to a combination of growth coupled with random pushing by neighboring cells and leave behind a record of their genetic competition as they cannot move and cease reproducing once the population becomes too dense [8]. A frozen genetic pattern of four competing strains of E. coli marked by different fluorescent colors can be seen in Fig 1. Spatial structure is present in the frozen genetic patterns because the microbes at the expanding frontier produce daughter cells of the same color that migrate only a small fraction of the front circumference within a generation. Hallatschek et al. [8] identified the key role of genetic drift in producing these sectored patterns; the small population size at the front of an expanding population [9, 10] enhances number fluctuations (i.e. genetic drift), eventually leading to the local fixation of one strain past a critical expansion radius R0. The decrease in genetic diversity as the small number of individuals at the frontier expands is referred to as the “Founder effect” [11].
Outside of the laboratory, range expansions occur naturally during the spread of invasive species such as the bank vole in Ireland [12] or the cane toad in Australia [13], and played a role in the evolutionary history of humans when migrating out of Africa [14]. In these natural expansions, populations may have many competing genotypes, or alleles, each instilling a different fitness. Even if a population is originally clonal, mutations may create new alleles that compete with one another to proliferate, a phenomenon known as clonal interference [15].
An allele’s fitness is often determined by its corresponding expansion velocity. Faster expanding individuals will colonize more territory and will block slower strains from expanding, resulting in the increased abundance of ‘faster’ alleles at the frontier [13, 16, 17]. If the curvature of a microbial colony can be neglected and its front is sufficiently smooth, it has been shown both theoretically and experimentally that the domain wall of a faster expanding strain will displace a slower expanding strain at a constant rate per length expanded after an initial transient, resulting in a characteristic triangular shape [17] as shown on the right side of Fig 1. If the curvature of the expansion is not negligible, the sector boundaries will trace logarithmic spirals [17].
Even in the most simple scenario when de-novo mutations and mutualistic or antagonistic interactions are ignored, the dynamics of many competing alleles with varying fitnesses at the front of a range expansion have neither been quantified theoretically nor explored in laboratory experiments. Prior laboratory experiments focused on the dynamics of a single sector of a more fit strain (representing a competing alelle) of yeast sweeping through a less fit strain [17] in regimes where stochastic wandering of genetic boundaries was not expected to be important. Recent experimental work studied how fast a single more fit strain swept through a less fit strain in a range expansion and compared the dynamics to the same strains in a well mixed test tube [9].
In this paper, we experimentally and numerically investigate the dynamics of four competing strains (alleles) of E. coli with varying selective advantages initially distributed randomly at the front of a radial range expansion. The eCFP (blue) and eYFP-labeled (yellow) strains expanded the fastest, followed by the non-fluorescent (black) strain, and finally the mCherry-labeled (red) strain. The differences in expansion speeds are reflected in Fig 1 as follows: the yellow/blue bulges at the front of the expansion are larger than the black bulges which are larger than the red bulges. The significant random undulations at the frontier, however, significantly mask the selection-induced bulges.
As is evident from Fig 1, the size and location of a monoclonal sector can be described by the locations of its boundaries. When two boundaries collide, they either annihilate if the neighbors to the left and right of the collision are the same or coalesce if the neighbors are different, as illustrated by the A and C respectively on the left side of Fig 1. We therefore describe our expansions as a one-dimensional line of annihilating and coalescing random walkers, a description that has been used extensively in previous work (see Ref. [2] for a review). To account for the radial geometry of our colonies, we allow the frontier to inflate, corresponding to the increasing perimeter of the colony as its radius increases. Past the radius R0 where genetic domains originally form, we describe the random motion of genetic domains by a diffusion constant per length expanded Dw (see Fig 1) [18]. If dx characterizes the displacement of a domain wall perpendicular to the expansion direction and dL is the distance the colony has expanded (the radius that the colony has grown) as illustrated on the right side of Fig 1, where we neglect the circumferential curvature in this small region, we define the diffusion constant per length expanded as 2Dw = dVar(x)/dL where Var(x) ≡ 〈x2〉 − 〈x〉2 is the variance and the brackets indicate an average over many domain walls. Note that Dw has dimensions of length. Similarly, differences in expansion velocities between neighboring strains will lead to the deterministic displacement of domain walls per length expanded as the faster expanding strain will reach the contested point on the front before a slower growing strain as mentioned above [17]; we characterize this deterministic motion by a dimensionless “wall velocity,” [18] , where i is the strain to the left of the domain wall and j is the strain to the right. Note that .
The dynamics of an arbitrary number of neutral competing strains in an expansion (i.e. for all domain walls) is well understood as the dynamics can be described as a one-dimensional system of annihilating and coalescing random walkers [19–21] which is equivalent to a one-dimensional q-state Potts model [22, 23] governed by zero-temperature Glauber dynamics [24] or a q-opinion Voter model [25, 26]. Many theoretical predictions and analyses of this system exist; of particular relevance to this paper are the relative annihilation and coalescence rates per collision as q is varied [27–29] and the calculation of spatial correlation functions [28]. To map standard linear results onto an inflating ring (i.e. including R0 in the models), one can use a conformal time transformation [30–32]. Fewer results are available in the presence of selection, i.e. when domain walls have deterministic biases (nonzero ) [33]. Analytical results are rare because the moment hierarchy of this model does not close [2] as discussed in S1 Appendix.
In this paper, we measure and predict three quantities relevant to the evolutionary dynamics of our four competing strains of E. coli in radial range expansions: the average fraction of each of our four strains, the two-point correlation functions between our strains, and the relative annihilation and coalescence probabilities per domain wall collision (see Fig 1), a quantity that has received theoretical attention [27–29] but has neither been explored experimentally nor investigated in the presence of selection. We measure these three quantities using an image analysis toolkit (available on GitHub, complete with examples of how to use it [34]) that extends experimental techniques for two-color (two-allele) range expansions [8, 9, 17, 18, 35, 36] to an arbitrary number of competing strains. We next use an efficient radial simulation (also on GitHub [34]) of annihilating and coalescing random walkers with deterministic wall velocities to determine what sets the scale of the dynamics and to synthesize our experimental and theoretical results. We show that three key combinations of R0, Dw and control the dynamics of our four strains. We conclude with suggestions for future studies. The details of our experimental, theoretical, and simulation methods are given in the last section.
Results
Experimental results
We begin by reporting our measurements of the average fraction of each strain, the two-point correlation functions between strains, and the relative rates of annihilations and coalescences as a function of length expanded for our four competing strains of E. coli. As discussed in the Materials and Methods, we found that our eCFP and eYFP strains had the fastest expansion velocities followed by the black strain and finally the mCherry strain (see Table 1). We expected that our experimental measurements would reflect this hierarchy of speeds; faster expanding strains should have a larger fitness than slower expanding ones. To illustrate the presence of selection, we used neutral theory (discussed in detail in S1 Appendix) as a null expectation; selection caused deviations from the neutral predictions. To calibrate neutral theory to our experiments we fit R0 and Dw, two model parameters illustrated in Fig 1, following the procedures discussed in the Materials and Methods. The fit values of R0 and Dw can be seen in Table 2. In later sections, we show how to predict the average fraction, two-point correlation functions, and relative rates of annihilation and coalescences using our random-walk model and simulation.
Table 1. The expansion velocity ui and each strain’s selective advantage relative to the mCherry strain siR = ui/uR − 1 measured over the course of seven days for radii greater than R0 (the radius where distinguishable domain walls formed) averaged over three independent experiments conducted on separate sets of agar plates.
Strain | Average Velocity ui (mm/day) | siR = ui/uR − 1 | |
---|---|---|---|
eYFP | 1.18 ± 0.02 | 0.09 ± 0.03 | 0.018 ± 0.003 |
eCFP | 1.17 ± 0.02 | 0.09 ± 0.03 | 0.018 ± 0.003 |
Black | 1.14 ± 0.02 | 0.06 ± 0.01 | 0.037 ± 0.003 |
mCherry | 1.07 ± 0.02 | 0 | 0 |
Table 2. Parameters used in the annihilating and coalescing random-walk model.
Parameter | Value | Description |
---|---|---|
Experimentally Measured | ||
R0 | 3.50 ± 0.05 mm | Initial radius where domain walls form |
Dw | 0.100 ± 0.005 mm | Diffusion constant per length expanded |
0.06 ± 0.02 | Wall velocity: transverse displacement per length expanded. Obtained by tracking sectors; only observable for strains (i) sweeping through mCherry (R). |
|
Key Parameters | ||
Length expanded when selection dominates diffusion for linear expansions | ||
κij | Strength of selection versus inflation and diffusion for radial expansions | |
ϕc | Characteristic angular correlation length between strains | |
Independent Variables | ||
R | – | Radius of the colony |
L | R − R0 | Colony length expanded |
ϕ | – | Polar coordinate angle |
Average fractions
The average fraction of strain i at a length expanded of L = R − R0 is defined as
(1) |
where fi(ϕ, L) is the local fraction of strain i at angle ϕ and length L (i.e. at a pixel specified in polar coordinates by ϕ and L). The angular brackets represent an average over many range expansions and fi is normalized such that ∑i fi(ϕ, L) = 1 for each location in the colony as discussed in the Image Analysis section. In the neutral case, the average fraction of each strain should equal their inoculated fractions and should be independent of length expanded. Selection forces the average fractions of less fit strains to decrease.
We measured the average fraction versus radial length expanded in two separate sets of experiments where we inoculated different fractions of our eYFP, eCFP, and mCherry strains. In one experiment, we inoculated the eYFP, eCFP, and mCherry strains with equal initial fractions of 33% while in the other we inoculated 80% of the mCherry strain and 10% each of the eCFP and eYFP strains. We conducted 20 replicates in each case and calculated the average fraction of each strain using our image analysis package. Fig 2 displays the trajectories of the 20 expansions and the mean trajectory (the average fraction) as ternary composition diagrams for both sets of initial conditions [37].
In both sets of experiments, we observed a systematic drift away from the mCherry vertex as a function of radius as illustrated by the mean trajectories shown as insets. We witnessed two cases where the 10% initial inoculant of the eCFP strain became extinct, represented by the pinning of trajectories to the absorbing boundary connecting the eYFP and mCherry vertex, a consequence of the strong genetic drift at the frontiers of our E. coli range expansions. These measurements indicate that the mCherry strain was less fit than the eCFP and eYFP strains, consistent with the order of the radial expansion velocities.
Two-point correlation functions
Next, we measured the two-point correlation functions given by
(2) |
where fi(ϕ, L) is again the local fraction of strain i at angle ϕ and expansion length L. Fij gives us the probability that strain i is located at an angular distance of ϕ away from strain j at a length expanded L. Note that Fij = Fji and Fij(ϕ) = Fij(−ϕ). Although the average fraction is constant in the neutral case, the two-point correlation functions broaden due to the coarsening of genetic domains [2]. Neutral q-color Voter models analytically predict the form of the two-point correlation functions [2] as seen in equation (S1.3) in S1 Appendix.
Deviations from neutral predictions are caused by selection. Analytical results describing these deviations are not available for reasons discussed in the S1 Appendix (the hierarchy of moments does not close); numerical simulations must be used to calculate the precise shape of the correlation functions as seen in second half of our Results section. Regardless, selection-induced deviations can be understood in the limit of both large and small angular separations. For large angular separations, spatial correlations will be negligible; the two-point correlation functions will consequently factorize and plateau at the value Fij = FiFj where Fi is the average fraction at length L from above. Therefore, in neutrality, the two-point correlation functions Fij should plateau at , the product of the initial fractions inoculated of strains i and j (in neutrality, Fi does not change). Selection can thus be identified by comparing the experimentally measured plateau value to the neutral prediction value. Furthermore, in the limit of zero angular separation, it is known that ∂ϕFij measures the density of ij domain walls [2] (where i ≠ j). In general, if strain i is less fit than the other strains, it will have fewer domain walls, decreasing the domain-wall density and thus the slope near ϕ = 0.
We measured the correlation functions between each pair of strains in three sets of experiments where we inoculated equal well-mixed fractions of the eCFP, eYFP, and black strains, then eCFP, eYFP, and mCherry, and then finally all four strains. We conducted 20 replicates of each experiment, measured all two-point correlation functions at the final radius of R = 10 mm corresponding to a length expanded of L = R − R0 = 6.5 mm, and averaged the results. In Fig 3, we plotted the neutral correlation function prediction and compared it to the experimentally measured correlation functions.
The two-point correlation functions in the experiment between eCFP, eYFP, and the black strains (first column of Fig 3) are consistent with the order of radial expansion velocities (see Table 1). The correlation between the eCFP and eYFP strains plateaued at a higher value than the neutral prediction while the correlation between eCFP and black plateaued at a lower value, indicating that the eCFP and eYFP strains were more fit. The self-correlation for the black strain, FBB, also plateaued at a value below eCFP, eYFP, and the neutral prediction, further indicating that it had a smaller fitness. The self-correlation data was more noisy than the correlation between strains, however; we consistently found that correlations between strains were better at detecting fitness differences than self-correlations.
In contrast, combining eCFP, eYFP, and mCherry in one set of experiments and all four strains in another revealed that mCherry had a larger fitness defect. Correlation functions including mCherry always plateaued at a significantly smaller value than correlation functions excluding it. Furthermore, off-diagonal (bottom-row of Fig 3) correlation functions involving the mCherry strain had a smaller slope at zero angular separation, indicating that less mCherry domain walls were present and that the mCherry strain was less fit than the others. The two-point correlation functions were thus consistent with the black strain having a small selective disadvantage relative to eCFP and eYFP and the mCherry strain having a larger disadvantage relative to all others.
Annihilation asymmetry
The last quantity we measured was the relative rate of annihilations and coalescences per domain wall collision; examples of annihilations and coalescences can be seen on the left side of Fig 1. Many theoretical results exist describing the neutral dynamics of annihilations and coalescences and they are summarized in S1 Appendix. To succinctly quantify the difference between the annihilation and coalescence probabilities per wall collision, we define the “annihilation asymmetry” ΔP(L) = PA(L) − PC(L) as the difference in probability of obtaining an annihilation versus a coalescence per collision at a distance expanded of L. If q neutral colors are inoculated in equal fractions, it can be shown that
(3) |
Note that in neutrality, the annihilation asymmetry ΔP is independent of the length expanded L; it depends only on the number of strains q inoculated in equal fractions. In the presence of selection, however, less fit strains should be squeezed out as the length expanded L increases, forcing q and thus ΔP to change.
To gain insight into the behavior of ΔP, for the case of q neutral colors in equal proportions, we have limq→∞ ΔP(q) = −1 (only coalescences), ΔP(q = 3) = 0 (equal numbers of annihilations and coalescences), and ΔP(q = 2) = 1 (only annihilations). The quantity ΔP thus provides a simple way to characterize the annihilation/coalescence difference in a single curve that varies smoothly between −1 and 1 as 2 ≤ q < ∞. In S1 Appendix we develop and discuss the case when strains are inoculated in non-equal proportions (see supplementary equations (S1.8)–(S1.10)); in that scenario, it is useful to define a “fractional q” by inverting eq (3) to read q = (3 + ΔP)/(1 + ΔP) (i.e. a fractional q can be evaluated for a given ΔP).
To experimentally quantify the annihilation asymmetry, we examined the average cumulative difference in annihilations and coalescences vs. the average cumulative number of domain wall collisions as colonies expanded; ΔP is given by the slope of this quantity and can be seen in Fig 4 (see Supplementary S1 Fig for a display of cumulative count vs. length expanded). Regardless of which strains were inoculated and their selective differences, our results were consistent with the neutral theory prediction in eq (3) for q = 2, q = 3, and q = 4 as judged by the overlap of the black dashed line with the shaded standard error of the mean in each case. ΔP appeared to be constant as a function of length. We also tested an initial condition where we inoculated strains in unequal proportions: we inoculated 10% of eCFP and eYFP and 80% of mCherry. This experiment again matched the neutral prediction of ΔP ≈ 0.51 (and correspondingly q ≈ 2.33) within error. Evidentally, as discussed in more detail below, certain observables like the average fraction and two-point correlation functions show stronger signatures of selection than others like the annihilation asymmetry.
Simulation results
In this section, we introduce three key combinations of our random walk model’s input parameters R0, Dw, and (see Fig 1) that control the evolutionary dynamics of our four competing E. coli strains. Using simulation, we show that we can utilize these key combinations to collapse the simulated evolutionary dynamics (focusing on the experimental quantities we measured above: the average fraction, two-point correlation function, and annihilation asymmetry) of an arbitrary number of competing strains in a range expansion.
Key parameters
What key combinations of the variables seen on the right side of Fig 1 govern the evolutionary dynamics of our competing strains? Our goal is to describe the dynamics as a function of length expanded by our colonies L = R − R0 with R0 the initial radius where domain walls form, the domain wall diffusion coefficient per length expanded Dw (units of length), and all wall velocities per length expanded (dimensionless). The two-point correlation functions must include an additional independent variable: the angular distance ϕ between strains.
Investigating the width of a single sector of a more fit allele sweeping through a less fit allele, as illustrated on the right of Fig 1, reveals important parameter combinations (see S1 Appendix for additional details). In a linear expansion, the deterministic, selection-induced growth of a sector of genotype i sweeping through a less fit genotype j will scale as while its diffusive growth will scale as . At short lengths expanded, diffusion will thus dominate deterministic growth, and at larger lengths selection will dominate diffusion. A crossover expansion length [2, 9, 32] beyond which selection dominates follows by equating the deterministic and diffusive growth,
(4) |
The factor of 2 in front of and 4 in front of Dw arises because we are monitoring the distance between two domain walls (i.e. a sector); similar arguments can be applied to describe the motion of individual walls. It is worth noting that the chirality of sector boundaries reported in E. coli range expansions [18, 36] would result in a wall velocity pointing in the same direction (left or right) for every domain wall. We can ignore this constant bias in our models because sectors will still expand at the same rate despite an additional superposition of all domain walls moving in a specific direction. To avoid complications arising from chirality in this paper, we focus on quantifying the growth of sectors, i.e. the distance between two domain walls, as opposed to tracking the motion of an individual domain wall whenever possible. is the characteristic length that the colony must expand in order for selection to dominate over diffusion for strain i sweeping through strain j and acts as the first key parameter.
Upon repeating this argument for domains on a radially inflating ring (see S1 Appendix), we identify [32, 38] as the inflationary analog of : the expansion length beyond which selection dominates over diffusion, and find
(5) |
κij is a dimensionless prefactor that can be thought of as an “inflationary selective advantage” controlling the expansion length at which selection dominates over diffusion and is given by
(6) |
Fig 5 illustrates the importance of κij; it displays the ratio of the inflationary to the linear selection length scale as a function of κij from the numerical solution of eq (5). We find that the ratio of the length scales has the asymptotic behavior
(7) |
Thus, if κij ≫ 1, inflation can be ignored (relative to selection and genetic drift), and the inflating selection length scale approaches the linear selection length scale. In contrast, if κij ≪ 1, the inflationary selection length will be many times larger than the linear selection length scale [32]. As κij becomes smaller, inflation and genetic drift dominate over selection for a larger length expanded. κij is the second key parameter describing the dynamics of our system. Note that in contrast to a linear expansion which just features competition between genetic drift and selection (captured by the quantity ), a radial inflation has three, separate, competing effects: genetic drift, selection, and inflation. κij quantifies the strength of selection relative to inflation and diffusion.
The third and final key parameter is the characteristic angular correlation length between selectively neutral genotypes. This parameter arises naturally when analytically calculating the neutral two-point correlation functions from the Voter model (see eq. (S1.3)). The parameter also has an intuitive description. When moving into polar coordinates, the angular diffusion coefficient Dϕ is related to the standard linear domain wall diffusion coefficient by Dϕ = Dw/R2. The characteristic scale for the radius is R0; the angular diffusive growth of domains should consequently scale as . Note that this characteristic angular length does not depend on the total number of strains; it describes the diffusive coarsening of a single strain sector propagating through one or more other strains.
We have now identified the three key parameters that govern the evolutionary dynamics of our competing strains. is the length that a linear expansion must grow in order for selection to dominate over diffusion for strain i sweeping through strain j, controls whether selection (κij ≪ 1) or inflation (κij ≫ 1) may be neglected relative to other effects in radially inflating expansions, and sets the characteristic angular correlation length between selectively neutral genotypes. These key parameters are listed in Table 2.
Collapsing the evolutionary dynamics with the key parameters
We used simulations of annihilating and coalescing random walkers constrained to lie on the edge of an inflating ring with deterministic biases due to selection (see the Simulation methods section for additional details) to investigate the effect of the parameters R0, Dw, and the set of all on the evolutionary dynamics of our competing strains. As we varied R0, Dw, and , we calculated the average fraction of each strain, the two-point correlation functions between strains, and the relative rate of annihilations and coalescences per domain wall collision (the quantities we measured experimentally). We also investigated the role of the three key combinations of parameters , κij, and ϕc for both linear and radial expansions.
We first simulated q = 3 competing strains where two neutral strains swept through a third less fit strain with wall velocity vw, similar to our experiments with two neutral strains (eCFP and eYFP) and the less fit mCherry strain. The three strains were numerically inoculated in equal proportions. Note that in this simulation, there was only one non-zero vw and consequently one and one . We varied vw from 10−3 ≤ vw ≤ 10−1 and N0 from 102 ≤ N0 ≤ 105 (altering R0 = N0a/(2π)) and computed the average fraction F of the less fit strain and the annihilation asymmetry ΔP. We found that both F and ΔP from simulations with identical κ, despite different values of R0 and vw, collapsed if L, the length traveled was rescaled by Ls as seen in Fig 6. Each curve in Fig 6 consists of six collapsed simulations with unique values of R0 and vw but with the same value of κ. Further simulations revealed that the two-point correlation functions Fij could be collapsed from simulations with identical κ if L was rescaled by Ls and ϕ was rescaled by provided ϕc ≪ 2π (see Supplementary S2 Fig).
We now consider the collapsed curves F(L/Ls, κ) and ΔP(L/Ls, κ) as a function of the parameter κ as seen in Fig 6. κ had a pronounced effect on both quantities. For κ ≳ 5 the dynamics of F and ΔP approached the dynamics of a linear expansion at all L/Ls, illustrated by the bright pink line on the left and the bright pink dots on the right of Fig 6; the more fit strain swept so quickly through the less fit strain that the colony’s radial expansion could be ignored. As κ decreased, the less fit strain was squeezed out more slowly due to the inflation of the frontier, resulting in slower transitions from q = 3 to q = 2 colors and consequently slower transitions from ΔP = 0 to ΔP = 1. For κ ≪ 1, ΔP barely shifted from 0 over the course of the simulation. Interestingly, ΔP peaked at a finite L/Ls for small κ; it is not clear what causes this effect, but it may be related to the transition from linear to inflation-dominated dynamics as L increases.
Additional simulations revealed that for expansions composed of many strains with different fitnesses (multiple ) and consequently various κij, all of our observables (F, ΔP, and Fij) could again be collapsed onto a master curve by rescaling L by any one of the selection length scales (i.e. ) and by rescaling ϕ by ϕc; the set of κij specified the master curve. An example of a simulation with that exhibits collapsed dynamics for three κij can be seen in Supplementary S4 Fig.
To summarize the results of this section, we found that we could collapse the average fraction F, annihilation asymmetry ΔP, and the two-point correlation functions Fij by
(8) |
(9) |
(10) |
where the brackets indicate a set of variables parameterized by i and j (i.e. represents the set of all ij wall velocities). As long as L was rescaled by any selection length scale and ϕ was rescaled by the characteristic angular correlation length ϕc, the set of {κij} completely dictated the evolutionary dynamics.
Predicting experimental results with simulations
A major goal of this paper is to test if the annihilating and coalescing random-walk model can predict the experimental evolutionary dynamics of our four competing strains (alleles) with different fitnesses (radial expansion velocities). To the best of our knowledge, analytical results for the random-walk model are unavailable (as discussed in S1 Appendix); we consequently used our simulations to predict the dynamics. In this section we quantify the three key parameter combinations for our experimental expansions and then use them to predict the evolutionary dynamics of all four of our competing E. coli strains in an independent experiment.
In the last section, we found that our simulation dynamics could be collapsed onto master curves for a fixed set of by rescaling the length expanded L by any single and by rescaling ϕ by . These simulated master curves were invariant to the alteration of simulation parameters provided that the set of κij remained the same. This insight allowed us to develop a novel method of characterizing the experimental dynamics. Namely, we could experimentally determine , κij, and ϕc, collapse the experimental data the same way as the simulations (i.e. , ϕ/ϕc), and compare the two to predict the dynamics of many competing alleles in a range expansion. As discussed below, this technique ultimately allowed for accurate predictions of the evolutionary dynamics of the four competing strains and, surprisingly, allowed us to make much more precise measurements of selective differences between strains.
As mentioned above in the Experimental Results section, using the procedures outlined in the Materials and Methods, we had previously determined R0 = 3.50 ± 0.05 mm and Dw = 0.100 ± 0.005 mm (Table 2). In order to fit and , however, we needed to measure . By tracking the growth of a more fit sector sweeping through a less fit strain (see the Materials and methods), we found that each strain swept through mCherry with a wall velocity of (as seen in Table 2); we could not detect the wall velocity of the eYFP and eCFP sweeping through the black strain.
In principle, the measured values of R0, Dw, and should have allowed us to totally calibrate the three key parameter combinations. For example, . The value of followed from the measurement of using the known value of R0. Unfortunately, the final parameter was more difficult to calibrate. Using , we found that ; the error on this value was too large for it to be predictive in our simulations. Furthermore, as we were unable to accurately measure the wall velocity of the eCFP/eYFP strains sweeping through the black strain, we could not calculate the corresponding selection length scale. We therefore needed a new technique to determine . As our eCFP and eYFP strains were neutral within error, we treated our system as composed of one neutral (N) eCFP/eYFP strain, a red (R) mCherry strain, and a black (B) strain (q = 3 colors). As the eCFP/eYFP expanded faster than the black followed by the mCherry strain, we needed to determine the values of , , and .
To fit more precisely than that from our direct measurement of wall velocity, we competed pairwise combinations of strains in range expansions (i.e. the eCFP/eYFP strain vs. mCherry) and calculated the two-point correlation functions Fij(L, ϕ) at the maximum length expanded of L = 6.5 mm. As there were only two competing strains, there was only one Ls. To fit the value of Ls, we began by rescaling the experimental length expanded L by Ls and ϕ by ϕc (Table 2) and calculated the resulting . Note that Ls simultaneously rescales the length expanded L by Ls and sets the value of , changing the shape of the collapsed correlation function. We then ran a simulation at the set value of κ (the chosen simulated values of Ls and ϕc did not matter due to the collapse) and then compared the collapsed experimental dynamics to our simulation. Fig 7 illustrates the fitting procedure by displaying the experimentally rescaled two-point correlation function FNR (the solid red line) at a length expanded of L = 6.5 mm between our eCFP/eYFP strain (N) and our mCherry strain (R) (inoculated at fractions of 2/3 and 1/3 respectively) and simulated universal correlation functions corresponding to different values of Ls (dashed lines).
To determine the best-fitting value of Ls, we calculated the sum of the squared displacements weighted by the inverse of the experimental standard error squared between experiment and simulation. The best-fitting Ls was determined by finding the value which minimized the weighted sum of squares. To estimate the error in our fit, we assigned each potential value of Ls a probability proportional to the inverse of the weighted sum of squares, normalized the probability distribution, and set the error in our fit of Ls to the confidence intervals of the probability distribution.
Our fit values of and κij using this technique are listed in Table 3; the values of κij are also plotted in Fig 5. Although this technique was about a factor of 5 more precise than using the measured wall velocities to determine , the upper bounds of the 95% confidence intervals were still very large as seen in Table 3; the potential values of Ls had a very large tail.
Table 3. Results of fitting from the two-point correlation functions Fij and the resulting using the two-point correlation function technique.
Strain i | Strain j | 95% CI (mm) | ||
---|---|---|---|---|
eYFP/eCFP | mCherry | 13 ± 3 | [7, 38] | 0.52 ± 0.07 |
Black | mCherry | 25 ± 7 | [14, 250] | 0.37 ± 0.06 |
eYFP/eCFP | Black | 70 ± 20 | [30, 650] | 0.22 ± 0.04 |
To test that the resulting Ls and κ could accurately predict the experimental dynamics at all L and not just the L where the correlation functions were fit, we plotted the experimental average fraction and correlation functions (solid lines, Fig 8) as we varied L and compared their values to those predicted by simulation (dashed lines, Fig 8). Fig 8 uses the same set of experimental data as that from Fig 7. The simulation using the fit parameters always closely tracked the experimental values at all L, suggesting that our fitting technique was robust and could be used to describe the dynamics of our strains.
Having determined and κij from pairwise competitions between strains, we tested if we could predict the average fraction, the two-point correlation functions, and the annihilation asymmetry when the four E. coli strains were grown together (treating the eYFP and eCFP strains as neutral, so q = 3) in an independent experiment. We inoculated the four strains in equal proportions. Fig 9 shows experimental measurements of the average fractions and two-point correlation functions (solid lines) together with simulated predictions (dashed lines) that used the independently fit values; no additional fitting parameters were used. The predicted average fractions and correlation functions closely tracked the dynamics for L ≳ 3 mm. We attribute the deviations for L ≲ 3 mm to image analysis artifacts resulting from the presence of the black strain (see the Image Analysis section in the Materials and methods). At the largest length expanded of L = 6.5 mm where artifacts were minimal, the experiments matched the predictions within error. All average correlation functions at this length expanded were successfully predicted by the simulations; we only display FNR for simplicity.
In addition to predicting the average fractions and correlation functions, the simulation with our fit and κij predicted that the annihilation asymmetry would deviate only slightly from neutrality (at most a change of 0.1) over the length expanded by our colonies in every experiment, agreeing with our findings (Fig 4). This can be readily observed in Fig 6 which displays a simulation of two neutral strains (our eCFP and eYFP strains) and a less fit strain (our mCherry strain) inoculated in equal fractions. If we rescale the maximum distance expanded by our colonies of Lmax = 6.5 mm by the smallest selection length (this results in the largest possible change of ΔP) of , Lmax/Ls ∼ 0.5 and ΔP increases from 0 (neutrality) to at most 0.1. This small deviation from neutrality is within the uncertainty of our experimental measurement of ΔP. Evidently, certain quantities, like the average fraction and correlation functions, show signs of selection before others (in this case, the annihilation asymmetry).
The quantitative agreement between our model and our experiments suggests that the one-dimensional annihilating-coalescing random walk model can indeed be used to predict the dynamics of many competing strains with different fitnesses in a range expansion.
Discussion
We investigated the evolutionary dynamics of four competing strains of E. coli in radial range expansions with differing selective advantages. We measured the average fraction Fi of each strain, the two-point correlation functions Fij between strains, and the annihilation asymmetry ΔP with our image analysis toolkit [34]. Our simulations, which model the expansions as a one-dimensional line of random walkers subject to deterministic drift on an inflating ring, showed us that these three quantities could be collapsed onto universal curves for a fixed set when the length expanded by the colony L was rescaled by any of the lengths and the angular distance between strains ϕ was rescaled by .
To test if the random walk model could predict experimental dynamics, we independently calculated experimental values of , κij, and ϕc and compared the dynamics between the two. The simulations accurately predicted the dynamics of the average fraction, correlation functions, and annihilation asymmetry when all four of our strains were present with no additional fitting parameters. The annihilation asymmetry ΔP is a quantity unique to range expansions with three or more strains and, to the best of our knowledge, has not been studied previously. Our results illustrate the importance of considering domain wall annihilation and coalescence when more than two strains are present and suggest that the annihilating-coalescing random-walk model can act as a useful predictive tool when describing the evolutionary dynamics of range expansions composed of an arbitrary number of competing alleles with different fitnesses.
Along the way, we introduced a new technique that compared universal simulated correlation functions to experimental correlations to fit . The resulting values of were about a factor of 5 more precise than directly evaluating with the wall velocities extracted from the growth of sectors. Given our fit , we evaluated using and the known Dw; we compare these values to those extracted from single sectors in Table 4. The wall velocities from both measurements agreed within error, but the wall velocities obtained from our correlation method were at least a factor of two more precise than tracking single sectors. Although the correlation technique dramatically increased the precision in our evaluation of , the resulting precision increase for was less pronounced as . Nevertheless, it is clear that the correlation technique can be used to precisely extract small differences in fitness between spatially competing strains.
Table 4. Quantifying the wall velocities from our fits of by using and an independently measured Dw which was constant between experiments.
Strain i | Strain j | : fitting Fij | : from fit | : tracking sectors |
---|---|---|---|---|
eYFP/eCFP | mCherry | 13 ± 3 | (9 ± 1) × 10−2 | (6 ± 2) × 10−2 |
Black | mCherry | 25 ± 7 | (6 ± 1) × 10−2 | (6 ± 2) × 10−2 |
eYFP/eCFP | Black | 70 ± 20 | (3.8 ± 0.7) × 10−2 | Undetectable |
Our work illustrates that the annihilating-coalescing random walk model can predict the experimental dynamics of an arbitrary number of competing alleles with different fitnesses in microbial range expansions. It is possible that this model could predict the dynamics of range expansions occurring outside of the laboratory, especially if the expanding organisms’ underlying motion did not completely smear out the population’s spatial structure; the organismal motion could potentially be accounted for by increasing the domain wall diffusion coefficient Dw. To predict the dynamics of expansions, however, the annihilating-coalescing walk model relies on a key set of parameters: the set of , the set of κij, and ϕc. We found that the set of could not be predicted from the independent radial expansion velocities of our strains; standard techniques [17] using the relative ratio of expansion velocities to predict , and thus , yielded inconsistent results (see S2 Appendix where we quantify the discrepancy and postulate why it occurred). As the set of is so fundamental to the evolutionary dynamics of range expansions, future work should investigate why relative radial expansion velocities could not be used to accurately predict and thus and whether this phenomenon is specific to E. coli range expansions or our specific strains. It would also be interesting to incorporate the reported super-diffusive motion of domain walls [8, 9] into our simplified simulations and theoretical analysis. The random walk model’s ability to successfully predict the evolutionary dynamics of our experiments suggests that annihilating and coalescing genetic domain walls subject to diffusion and selection-induced displacement provide a useful conceptual framework from which to understand range expansion dynamics.
Materials and methods
Strains
We used four E. coli strains (labelled BW001, BW002, BW003, and BW012) with a DH5α background and plasmids whose sequences coded for spectrally distinguishable fluorescent proteins. The unique colors were obtained by using the plasmid vector pTrc99a [39] and the open reading frame for the respective fluorescent proteins. Strains BW001, BW002, and BW003 expressed eCFP (cyan/blue), Venus YFP (yellow), and mCherry (red) respectively, and were identical to the E. coli strains eWM282, eWM284, and eWM40 used in Ref. [40]. Note that these three strains were isogenic and differed only by the open reading frames corresponding to their respective fluorescent proteins. The final strain, BW012, was a mutated descendant of strain BW002 (yellow) that fluoresced at a decreased intensity, appearing black, while retaining its ampicillin resistance from the pTrc99a vector. Throughout this work, no additional mutations were introduced or observed. We therefore consider that these four strains correspond to four different alleles. Throughout the paper, we refer to the strains as eCFP, eYFP, mCherry, and black.
Experimental setup
To prepare saturated cultures, strains were inoculated in 10mL of 2xYT media and were shaken for approximately 16 hours at 37°C. After vortexing each saturated culture and obtaining their concentration via optical density (OD-600) measurements, appropriate volumes (e.g., 1:1:1 mixtures of three strains) were added to an Eppendorf tube with a final volume of 1mL. The Eppendorf tube was then vortexed to uniformly mix the strains. A volume of 2 μL was taken from the vortexed tube and placed on center of a 100 mm diameter Petri dish containing 35 mL of lysogeny broth (LB), ampicillin at a concentration of 100 μg/mL, and 1.25% w/v bacto-agar. The carrier fluid in the resulting circular drop evaporated within 2-3 minutes, depositing a circular “homeland” of well-mixed bacteria onto the plate.
After inoculation, plates were stored for 8 days upside down (to avoid condensation) in a Rubbermaid 7J77 box at 37°C with a beaker filled with water; the water acted as a humidifier and prevented the plates from drying out. The plates were occasionally removed from the box and imaged (at roughly 24 hour intervals) using the brightfield channel to determine the radius of the colony as a function of time. On the eighth day, the plates were imaged in both fluorescent and brightfield channels. The number of replicate plates used are stated next to the respective experimental results. If we noticed that a mutation had occurred during an expansion (mutations usually presented themselves as unexpected large bulges at the front of a colony or as distortions in fluorescent intensity), we discounted the colony.
Image acquisition and analysis
We imaged our range expansions with a Zeiss SteREO Lumar.V12 stereoscope in four channels: eCFP, eYFP, mCherry (fluorescent channels), and brightfield. In order to analyze a colony with a maximum radius of approximately 10 mm using a single image, we stitched four images together with an overlap of 20% using AxioVision 4.8.2, the software accompanying the microscope. We blended the overlapping areas of the images to lessen the impact of background inhomogeneities. An example of a stitched image can be seen on the left side of Fig 10. Stitching introduced small artifacts such as vertical lines near the center of our expansions; we verified that these did not affect our results.
To extract the local fraction of each strain per pixel, we first created binary masks for each fluorescence channel indicating if the corresponding E. coli strain was present. We utilized the “Enhance Local Contrast” (CLAHE) algorithm [41] in Fiji [42], an open-source image analysis platform, to help correct for inhomogeneities in background illumination. After applying the CLAHE algorithm, a combination of automatic thresholding and manual tracing yielded a binary mask of each channel, an example of which is shown in Fig 10; the image on the left is an overlay of an experimental range expansion’s fluorescent channels and the image on the right is the overlay of the corresponding binary masks. A small amount of manual tracing was required near the edges of our colonies because our fluorescent lamp provided uneven illumination; resulting dark regions could barely be identified above background noise. As we mainly used manual tracing near the edge of the colonies where the monoclonal sectors were well defined, we found that our procedure was very reproducible. To alleviate this problem, future work could utilize brighter strains or a more advanced imaging setup.
We mapped the binary images to the local fraction of each E. coli strain in the following way: if N binary masks (corresponding to N colors) were “on” at a pixel, the local fraction of their corresponding channels was assigned to be 1/N. Although this assignment produces inaccuracies (i.e., if one strain occupied 90% of a pixel and the other occupied 10%, our algorithm would register both as 50%), domain boundaries were the only areas besides the homeland and the early stages of the range expansions where multiple strains were colocalized. The black strain was defined to be present at pixels reached by the range expansion in which no other strains were present. Although this definition introduced errors at radii close to the homeland with significant color overlap, the error became negligible at large radii as quantified in Supplementary S5 Fig. Once we determined the fraction of each strain at each pixel, we were able to extract quantities such as the total fraction of each strain in the colony and spatial correlations between strains at a given expansion radius.
The mask in Fig 10 highlights that sector boundaries can be used to determine local strain abundance. Although it is possible to extract the position of every domain wall from each strains’ local fraction, it is challenging to actually track a single wall due to collisions between walls. To address this problem, we created a binary mask of the edges in our images and labelled the edges of each domain. Annihilations and coalescences were counted manually within Fiji [42]; automated measures were not accurate enough.
It is worth pointing out that in this paper, we ignore the three-dimensional structure of our colonies and describe them by our two-dimensional images taken with the stereoscope. We justify this approximation because the initial diameter of our colonies is at least a factor of 10 larger than their height (less than 1 mm as judged by a ruler), so they are effectively two-dimensional, and because the strain composition of our colonies does not vary with height inside the colony. We confirmed that strain composition does not vary with height by using a confocal microscope to probe the internal structure and also by taking a pipette tip, scratching it through a sector, growing the cells touched by the tip in overnight culture, and verifying that plated single colonies from the culture were the same color as the sector.
Measuring radial expansion velocities ui
We used the average expansion velocity of each strain for radii R > R0 as a proxy for selective advantage, similar to previous work [17, 35]. In three independent sets of experiments using different batches of agar plates (the main source of variability in our experiments), we measured the diameter of 12 expansions of each strain approximately every 24 hours following the protocol for range expansions with two or more strains. To account for biological variance, sets of four of the 12 colonies were created from independent single colonies; no statistical difference was seen between biological replicates. The diameters were determined by manually fitting a circle to a brightfield image of the expansion three times and averaging the measured diameters. Fig 11 shows the average radius increasing with time for each strain from one of our experiments. In every experiment, the eCFP and eYFP strains had the fastest expansion velocities (the respective datapoints overlap in Fig 11), followed by the black strain, and then finally the mCherry strain. The expansion velocity slowly decreased as a function of time; we attribute this to nutrient depletion in the plates.
The radial expansion velocity of each strain was obtained by using linear regression to fit the radius versus time for radii greater than R0. We calculated the average radial expansion velocity between the three sets of plates and reported its error as the standard error of the mean; see Table 1. Additionally, we quantified the dimensionless selective advantage of each strain relative to the slowest growing mCherry strain following [17] via siR = ui/uR − 1 where the R indicates the mCherry strain (red) in each experiment. The selective advantages were consistent, within error, when we calculated the velocities ui and uR over different time intervals. We averaged siR across our three experiments and reported its error as the standard error of the mean as seen in Table 1.
The eCFP and eYFP strains had an average selective advantage of 9%, similar to the experiments of Weber et al. [35] which found, despite the fact that they used different E. coli strains and plasmids, that the expression of mCherry decreased the expansion velocity of their strains by approximately 15% in certain “fast growth” environmental conditions. Our black strain had an approximately 6% enhancement over the mCherry strain. Differences in radial expansion velocities of this magnitude have been used to study yeast S. cerevisiae and E. coli range expansions in the past [9, 17]. To investigate the source of this fitness defect, we took the plasmids from our original strains, inserted them into a different set of clonal DH5α cells, and inoculated the new eCFP, eYFP, and mCherry strains in equal proportions in a range expansion. We saw that the average mCherry fraction decreased by 10% at a radius expanded of R = 10 mm, matching the results of Fig 2, suggesting that the presence of the plasmids was responsible for the fitness defect.
From Table 1, it is clear that the variance in siR was large between different sets of agar plates. Although siR varied significantly, the order of expansion velocities between the strains was consistent; the eCFP and eYFP strains always expanded faster than the black strain which expanded faster than the red strain. Importantly and in stark contrast to siR, the demixing radius R0, wall velocities , and diffusion coefficient Dw were very consistent between sets of plates (measured below), resulting in consistent evolutionary dynamics between our competing strains.
Comparing well-mixed fitness to fitness from expansion velocities
To test if the radial expansion velocity differences were related to the basal growth rates of our strains in liquid-culture, we competed all of our strains against mCherry in 10mL flasks of 2xYT growth media. We created three independent replicates of each pairwise competition (9 tubes in total) in the flasks by inoculating 60% of mCherry and 40% of the other strain in mid-log phase. We passaged saturated E. coli samples into new media every 24 hours; we determined the population composition of each flask using a BD LSR Fortessa FACS machine when the cells were passaged. We competed the strains for 72 hours, corresponding to approximately 45 generations (doubling times). We found that every strain grew faster than mCherry in every replicate in liquid culture as judged by a decrease in fraction of mCherry over time. Following previous work [43], we used the decrease in mCherry fraction to determine the dimensionless “well-mixed” selective advantage of the strain competing against it, where gi is the growth rate of strain i and gR is the growth rate of mCherry. We list the measured values of in Table 1.
The radial expansion velocity fitness siR did not agree with the liquid-culture fitness within error, in contrast to previous experiments with the yeast Saccharomyces cerevisiae [17]. However, every strain in liquid culture still grew faster than mCherry. Interestingly, in well-mixed culture, the black strain had the largest growth rate followed by eCFP and eYFP (they had the same growth rate) and then mCherry, disagreeing with the order of radial expansion velocities (where black expanded slower than eCFP and eYFP). As the growth rate differences were small, it is possible that additional factors allowed the eCFP and eYFP strains to expand faster than black on agar. Our E. coli switched from log to stationary phase in the 24 hour cycle; the changing environment may have resulted in a different order of fitnesses compared to the agar plates as well. Future work should investigate how the eCFP and eYFP strains expanded faster than the black strain despite a smaller basal growth rate and should also investigate how such small growth rate differences in liquid culture resulted in such large differences in radial expansion velocities on solid agar.
Measuring the local fixation radius R0
When calibrating our model to experiment, the precise value of R0 did not matter as long as each strain’s local fraction could be accurately measured at that radius. Therefore, to maximize the length over which we could quantify range expansion growth, we defined the local fixation radius R0 as the minimum radius where our image analysis package became accurate. For R < R0, our package predicted equal fractions of each strain due to the overlap of each channel in the homeland (see Fig 10). Therefore, to determine R0, we inoculated radial expansions with three strains in unequal proportions; we used 10% of two strains and 80% of another. The minimum radius where the fractions agreed with their inoculated values was R0 = 3.50 ± 0.05 mm as seen in Supplementary S6 Fig. We found that this value of R0 worked for all colonies.
Measuring the domain wall diffusion coefficient Dw
Past work has found that E. coli colony domain walls fluctuate diffusively in certain conditions [18] and super-diffusively in others [8]. In our expansions, the domain walls appeared to fluctuate super-diffusively (as judged by tracking the position of domain walls and determining their variance vs. length expanded), but we were able to successfully fit the evolutionary dynamics using a diffusive theory. Creating a super-diffusive theory to describe the evolutionary dynamics of our system is beyond the scope of this paper. To obtain an effective diffusion constant Dw and to test if the diffusive approximation adequately described our experimental dynamics, we fit the neutral Voter model’s prediction of heterozygosity. The heterozygosity is the probability that two points separated by an angle of ϕ at a length expanded of L = R − R0 are occupied by different strains and is thus a measure of spatial genetic diversity. The neutral Voter model’s prediction of heterozygosity can be given in terms of the two-point correlations used in the main text or can be explicitly written as (see S1 Appendix)
(11) |
H0 = H(ϕ, L = 0) is the heterozygosity when L = 0 and is a characteristic angular correlation length (one of the key combinations of model parameters from the main text). For q colors inoculated in equal fractions, H0 = 1 − 1/q.
We fit H(ϕ, L) to our experimentally measured heterozygosity of two neutral strains (eCFP and eYFP) on three independent sets of agar plates each with 14 range expansions. We averaged the heterozygosity at each L as can be seen in Fig 12 (error bars were omitted for readability; the same figure with error bars can be found as Supplementary S7 Fig). As we had previously measured R0 = 3.50 ± 0.05 mm, and H0 = 1/2 for two neutral strains inoculated at equal fractions, Dw is the single free parameter in eq (11). We consequently fit Dw at each L with non-linear least-squares, averaged the Dw from the three independent experiments, and found Dw = 0.100 ± 0.005 mm; the reported error is the standard error of the mean between the experiments. The value of the diffusion constant is on the same order of magnitude as that from previous work [18].
Fig 12 shows the Voter model’s fit (dashed lines) together with the experimental heterozygosity (solid lines) for one set of plates using our values of Dw and R0. The fit closely matches the experimental heterozygosity suggesting that a diffusive description of E. coli domain motion is justified. We use this value of Dw for all strains. In principle, Dw may depend on ij, the particular domain wall type. However, we checked that the measured value of Dw did not vary for our all ij (all strain) combinations by examining the variance in domain wall position versus length expanded; the variances agreed within error and were thus consistent with a constant Dw. The two-point correlation functions in the main-text were well fit by a constant Dw as well. Unlike the Voter model and our simulations, the experimental heterozygosity at zero separation H(L, ϕ = 0) fails to vanish due to overlap between strains at domain boundaries; this effect is less pronounced at large radii because the effective angular width of boundaries decreased. The discrepancy between the theoretical and experimental heterozygosity is larger at small lengths expanded because the overlap between strains is larger; our image analysis is consequently less accurate.
Measuring the domain wall velocities
We used image analysis to directly quantify from the angular growth of more-fit sectors. Characteristic single sectors of each strain sweeping through the mCherry strain can be seen on the left side of Fig 13. In radial expansions, more fit strains should, on average, sweep logarithmic spirals through less fit strains at large lengths expanded, as verified in yeast expansions [17]. It can be shown that the average angular width of a sector of strain i sweeping through strain j is given by (see S1 Appendix for more details)
(12) |
where ϕ is the angular width at radius R and ϕ0 is the initial angular width of the domain at R0. can thus be extracted from the slope of a linear regression fit of 〈ϕ − ϕ0〉 vs. ln(R/R0) as seen on the right side of Fig 13.
By tracking domain walls directly, we found that more fit strains (eCFP, eYFP, black) swept through the less fit mCherry strain with a wall velocity of . We could not accurately measure the wall velocity of the eCFP and eYFP strains sweeping through the black strain. The wall velocity was significantly smaller than expected from the basal independent expansion velocities of our strains (Table 1); potential explanations for this phenomenon are discussed in S2 Appendix. The magnitude of the velocities were consistent between experiments (using 40 single sectors on three sets of plates) but were too imprecise to be predictive in our models.
Simulation methods
Lattice simulations of range expansions, especially radial ones, can suffer from artifacts arising from the preferred directions of the lattice. It is possible to use an amorphous Bennett model lattice [44] to mitigate some of these effects [32]. Instead, we developed a simple off-lattice method that treats the domain walls as annihilating and coalescing random walkers moving along the edge of an inflating ring. The basic idea of the simulation is illustrated in Fig 14. We incorporate both the random, diffusive motion of the domain walls as well as deterministic movement due to selection. The radial expansion procedure is most easily understood by first considering a linear range expansion simulation for which the simulation steps are as follows:
Create a line of N0 microbes of width a at the linear frontier. Assign each microbe one of the q potential alleles.
Identify genetic domain walls by locating neighbors with different alleles; assign type ij to each wall where i and j are the strains to the left and right respectively. Assign a relative “growth rate” rij to each wall characterizing the bias in the probability that strain i divides into new territory before strain j. Two such domain walls are shown in a radial expansion in Fig 14.
-
Choose a wall at random and move it a distance a (the width of the cells) to the left or right; this represents the competition to reproduce and occupy new space at the population frontier. We use periodic boundary conditions for the domain wall positions along the line, meaning that the domain walls live on a circle, as shown for the radial case in Fig 14.
(a) Jump to the right with a probability of or to the left with probability . Note that domain walls separating neutral strains (rij = 0) will jump to the left or right with equal probability and that rij ≤ 1.
(b) If the hopping domain wall collides with another wall, react the walls instantaneously with an appropriate annihilation or coalescence depending on whether the leftmost and rightmost strains are the same or different respectively.
Increment the elapsed time by Δt = 1/N generations, where N is the number of domain walls at the beginning of the jump, and increment the length expanded by the colony by ΔL = aΔt = a/N, where a (the cell width) is the distance that the colony expands per generation. Note that this length increment ΔL could also be some set by a different length scale d, i.e. ΔL = d/N (in our experiments, colonies typically expand further than a cell width during each generation due to growth behind the front). This does not change our analysis and we choose d = a for simplicity.
Repeat steps 3 and 4 until no domain walls remain or until the simulation has run for the desired number of generations.
Our simulation’s diffusion coefficient per length expanded, characterizing the random motion of the domain walls, can be shown to be Dw = a/2 when rij is small while its wall velocity per length expanded, characterizing the deterministic displacement of domain walls due to selection, can be shown to be .
Our algorithm, thus far simulating only linear expansions, can easily be extended to simulate radial geometries. To incorporate the radially inflating perimeter, we note that a domain wall at a radius R will jump an angular distance of δϕ = a/R, as shown in Fig 14. As the radius of our experimental expansions increases approximately linearly with generation time, we describe its radius as R = R0 + at. We thus account for inflation by using a time-varying angular jump length of
(13) |
If there are N0 individuals at the frontier, R0 is given by R0 = N0a/(2π). This modification of the domain wall step size δϕ is the only difference between the radial and linear cases!
In contrast to algorithms that follow the position and state of every organism at the front of a colony, our algorithm only tracks the positions of domain walls and is consequently much faster per generation as the sectors coarsen, allowing for simulations of larger colonies. Fig 15 displays a radial and linear simulation with three neutral colors and a fourth red color with a selective disadvantage comparable to our experiments. We check that our simulation correctly reproduces the behavior of a single more fit domain wall sweeping through a less fit strain as we vary simulation parameters in Supplementary S8 Fig. Our implementation of this algorithm and examples of how to use it are available on GitHub [34].
Supporting information
Acknowledgments
BTW would like to thank Matti Gralka, Paula Villa Martin, Miguel A Muñoz, Severine Atis, Markus F. Weber, Kirill Korolev, and Steven Weinstein for helpful discussion and advice.
Data Availability
All of the experimental data used to create the figures and tables in this paper and its supplemental materials can be publicly accessed in a Dryad repository at the following DOI: 10.5061/dryad.n9r96.
Funding Statement
Research by BTW is supported by the Department of Energy Office of Science Graduate Fellowship Program (DOE SCGF), made possible in part by the American Recovery and Reinvestment Act of 2009, administered by ORISE-ORAU under contract no. DE-AC05-06OR23100, by the US Department of Energy (DOE) under Grant No. DE-FG02-87ER40328, as well as Harvard University’s Institute for Applied Computational Science (IACS) Student Fellowship. BTW, AWM, and DRN benefitted from support from the Human Frontiers Science Program Grant RGP0041/2014 and from the National Science Foundation, through grants DMR1608501 and via the Harvard Materials Science and Engineering Center, through grant DMR1435999. MOL acknowledges support from NSF grant DMR-1262047, the UPenn MRSEC under Award No. NSF-DMR-1120901, the US Department of Energy, Office of Basic Energy Sciences, Division of Materials Sciences and Engineering under Grant No. DE-FG02-05ER46199, and from the Simons Foundation for the collaboration "Cracking the Glass Problem’’ (Grant No. 454945). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1. Lang GI, Botstein D, Desai MM. Genetic Variation and the Fate of Beneficial Mutations in Asexual Populations. Genetics. 2011;188(3):647–661. doi: 10.1534/genetics.111.128942 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2. Korolev KS, Avlund M, Hallatschek O, Nelson DR. Genetic demixing and evolution in linear stepping stone models. Reviews of Modern Physics. 2010;82(2):1691–1718. doi: 10.1103/RevModPhys.82.1691 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. Nadell CD, Drescher K, Foster KR. Spatial structure, cooperation and competition in biofilms. Nature Reviews Microbiology. 2016;14(9):589–600. doi: 10.1038/nrmicro.2016.84 [DOI] [PubMed] [Google Scholar]
- 4. Sprouffske K, Merlo LMF, Gerrish PJ, Maley CC, Sniegowski PD. Cancer in Light of Experimental Evolution. Current Biology. 2012;22(17):R762–R771. doi: 10.1016/j.cub.2012.06.065 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Langin KM, Sillett TS, Funk WC, Morrison SA, Desrosiers MA, Ghalambor CK. Islands within an island: Repeated adaptive divergence in a single population. Evolution. 2015;69(3):653–665. doi: 10.1111/evo.12610 [DOI] [PubMed] [Google Scholar]
- 6. Donaldson GP, Lee SM, Mazmanian SK. Gut biogeography of the bacterial microbiota. Nature Reviews Microbiology. 2015;14(1):20–32. doi: 10.1038/nrmicro3552 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Morrison SJ, Spradling AC. Stem Cells and Niches: Mechanisms That Promote Stem Cell Maintenance throughout Life. Cell. 2008;132(4):598–611. doi: 10.1016/j.cell.2008.01.038 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Hallatschek O, Hersen P, Ramanathan S, Nelson DR. Genetic drift at expanding frontiers promotes gene segregation. Proceedings of the National Academy of Sciences. 2007;104(50):19926–19930. doi: 10.1073/pnas.0710150104 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Gralka M, Stiewe F, Farrell F, Möbius W, Waclaw B, Hallatschek O. Allele surfing promotes microbial adaptation from standing variation. Ecology Letters. 2016;19(8):889–898. doi: 10.1111/ele.12625 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Lavrentovich MO, Koschwanez JH, Nelson DR. Nutrient shielding in clusters of cells. Physical Review E. 2013;87(6):062703 doi: 10.1103/PhysRevE.87.062703 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Hartl DL, Clark AG. Principles of Population Genetics. 4th ed Sunderland, MA: Sinauer Associates, Inc.; 2007. Available from: http://www.sinauer.com/principles-of-population-genetics.html. [Google Scholar]
- 12. White Ta, Perkins SE, Heckel G, Searle JB. Adaptive evolution during an ongoing range expansion: the invasive bank vole (Myodes glareolus) in Ireland. Molecular Ecology. 2013;22(11):2971–2985. doi: 10.1111/mec.12343 [DOI] [PubMed] [Google Scholar]
- 13. Phillips BL, Brown GP, Webb JK, Shine R. Invasion and the evolution of speed in toads. Nature. 2006;439(7078):803–803. doi: 10.1038/439803a [DOI] [PubMed] [Google Scholar]
- 14. Templeton A. Out of Africa again and again. Nature. 2002;416(6876):45–51. doi: 10.1038/416045a [DOI] [PubMed] [Google Scholar]
- 15. Gerrish PJ, Lenski RE. The fate of competing beneficial mutations in an asexual population. Genetica. 1998;102-103(1-6):127–44. doi: 10.1023/A:1017067816551 [PubMed] [Google Scholar]
- 16. Baym M, Lieberman TD, Kelsic ED, Chait R, Gross R, Yelin I, et al. Spatiotemporal microbial evolution on antibiotic landscapes. Science. 2016;353(6304):1147–1151. doi: 10.1126/science.aag0822 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Korolev KS, Müller MJI, Karahan N, Murray AW, Hallatschek O, Nelson DR. Selective sweeps in growing microbial colonies. Physical Biology. 2012;9(2):026008 doi: 10.1088/1478-3975/9/2/026008 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Korolev KS, Xavier JB, Nelson DR, Foster KR. A Quantitative Test of Population Genetics Using Spatiogenetic Patterns in Bacterial Colonies. The American Naturalist. 2011;178(4):538–552. doi: 10.1086/661897 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Doering CR, Ben-Avraham D. Interparticle distribution functions and rate equations for diffusion-limited reactions. Physical Review A. 1988;38(6):3035–3042. doi: 10.1103/PhysRevA.38.3035 [DOI] [PubMed] [Google Scholar]
- 20. Amar JG, Family F. Diffusion annihilation in one dimension and kinetics of the Ising model at zero temperature. Physical Review A. 1990;41(6):3258–3262. doi: 10.1103/PhysRevA.41.3258 [DOI] [PubMed] [Google Scholar]
- 21. Krapivsky PL, Redner S, Ben-Naim E. A Kinetic View of Statistical Physics. Cambridge: Cambridge University Press; 2010. Available from: http://ebooks.cambridge.org/ref/id/CBO9780511780516. [Google Scholar]
- 22. Potts RB, Domb C. Some generalized order-disorder transformations. Mathematical Proceedings of the Cambridge Philosophical Society. 1952;48(October):106 doi: 10.1017/S0305004100027419 [Google Scholar]
- 23. Wu FY. The Potts model. Reviews of Modern Physics. 1982;54(I):235–268. doi: 10.1103/RevModPhys.54.235 [Google Scholar]
- 24. Glauber RJ. Time-Dependent Statistics of the Ising Model. Journal of Mathematical Physics. 1963;4(2):294 doi: 10.1063/1.1703954 [Google Scholar]
- 25. Clifford P, Sudbury A. A model for spatial conflict. Biometrika. 1973;60(3):581–588. doi: 10.1093/biomet/60.3.581 [Google Scholar]
- 26. Ódor G. Universality classes in nonequilibrium lattice systems. Reviews of Modern Physics. 2004;76(3):663–724. doi: 10.1103/RevModPhys.76.663 [Google Scholar]
- 27. Masser T, Ben-Avraham D. Kinetics of coalescence, annihilation, and the q-state Potts model in one dimension. Physics Letters A. 2000;275(5-6):382–385. doi: 10.1016/S0375-9601(00)00622-8 [Google Scholar]
- 28. Masser TO, Ben-Avraham D. Correlation functions for diffusion-limited annihilation, A + A → A. Physical Review E. 2001;64(6):062101. [DOI] [PubMed] [Google Scholar]
- 29. Derrida B, Zeitak R. Distribution of domain sizes in the zero temperature Glauber dynamics of the one-dimensional Potts model. Physical Review E. 1996;54(3):2513–2525. doi: 10.1103/PhysRevE.54.2513 [DOI] [PubMed] [Google Scholar]
- 30. Ali A, Grosskinsky S. Pattern formation through genetic drift at expanding population fronts. Advances in Complex Systems. 2009;13(03):349–366. doi: 10.1142/S0219525910002578 [Google Scholar]
- 31. Ali A, Ball RC, Grosskinsky S, Somfai E. Scale-invariant growth processes in expanding space. Physical Review E. 2013;87(2):020102 doi: 10.1103/PhysRevE.87.020102 [DOI] [PubMed] [Google Scholar]
- 32. Lavrentovich MO, Korolev KS, Nelson DR. Radial Domany-Kinzel models with mutation and selection. Physical Review E. 2013;87(1). doi: 10.1103/PhysRevE.87.012103 [DOI] [PubMed] [Google Scholar]
- 33. Sen P, Ray P. A + A → ∅ model with a bias towards nearest neighbor. Physical Review E. 2015;92(1):012109 doi: 10.1103/PhysRevE.92.012109 [DOI] [PubMed] [Google Scholar]
- 34.Weinstein B. Range Expansions on GitHub; 2016. Available from: https://github.com/Range-Expansions.
- 35. Weber MF, Poxleitner G, Hebisch E, Frey E, Opitz M. Chemical warfare and survival strategies in bacterial range expansions. Journal of The Royal Society Interface. 2014;11(96):20140172–20140172. doi: 10.1098/rsif.2014.0172 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. Jauffred L, Munk Vejborg R, Korolev KS, Brown S, Oddershede LB. Chirality in microbial biofilms is mediated by close interactions between the cell surface and the substratum. The ISME Journal. 2017;11(7):1688–1701. doi: 10.1038/ismej.2017.19 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Harper M. Python-ternary: A python library for ternary plots; 2011. Available from: https://github.com/marcharper/python-ternary.
- 38. Lavrentovich MO, Nelson DR. Survival probabilities at spherical frontiers. Theoretical Population Biology. 2015;102:26–39. doi: 10.1016/j.tpb.2015.03.002 [DOI] [PubMed] [Google Scholar]
- 39. Amann E, Ochs B, Abel KJ. Tightly regulated tac promoter vectors useful for the expression of unfused and fused proteins in Escherichia coli. Gene. 1988;69(2):301–315. doi: 10.1016/0378-1119(88)90440-4 [DOI] [PubMed] [Google Scholar]
- 40. Möbius W, Murray AW, Nelson DR. How Obstacles Perturb Population Fronts and Alter Their Genetic Structure. PLOS Computational Biology. 2015;11(12):e1004615 doi: 10.1371/journal.pcbi.1004615 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41. Zuiderveld K. Contrast limited adaptive histogram equalization Graphics Gems IV. 1994; p. 474–485. doi: 10.1016/B978-0-12-336156-1.50061-6 [Google Scholar]
- 42. Schindelin J, Arganda-Carreras I, Frise E, Kaynig V, Longair M, Pietzsch T, et al. Fiji: an open-source platform for biological-image analysis. Nature Methods. 2012;9(7):676–682. doi: 10.1038/nmeth.2019 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43. Lang GI, Murray AW, Botstein D. The cost of gene expression underlies a fitness trade-off in yeast. Proceedings of the National Academy of Sciences. 2009;106(14):5755–5760. doi: 10.1073/pnas.0901620106 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44. Bennett CH. Serially Deposited Amorphous Aggregates of Hard Spheres. Journal of Applied Physics. 1972;43(6):2727 doi: 10.1063/1.1661585 [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All of the experimental data used to create the figures and tables in this paper and its supplemental materials can be publicly accessed in a Dryad repository at the following DOI: 10.5061/dryad.n9r96.