Abstract
Phase separation at the molecular scale affects many biological processes. The theoretical requirements for phase separation are fairly minimal, and there is growing evidence that analogous phenomena occur at other scales in biology. Here we examine colony formation in the nematode C. elegans as a possible example of phase separation by a population of organisms. The population density of worms determines whether a colony will form in a thresholded fashion, and a simple two-compartment ordinary differential equation model correctly predicts the threshold. Furthermore, small, round colonies sometimes fuse to form larger, round colonies, and a phenomenon akin to Ostwald ripening – a coarsening process seen in many systems that undergo phase separation – also occurs. These findings support the emerging view that the principles of microscopic phase separation can also apply to collective behaviors of living organisms.
Subject terms: Emergence, Multicellular systems
Phase separation phenomena have emerged as being of critical importance in biology. Here, using colony formation in C. elegans as model, the authors demonstrate that the basic concepts that underpin phase separation at a molecular level also apply to collective phenomena at the level of a population of organisms.
Introduction
Living organisms function both individually and collectively. Examples of organismal collectives range from bacterial biofilms to schools of fish, flocks of birds, and herds of mammals. The likely benefits of such groups include defense from predators and insulation from environmental perturbations. In general, organismal collectives are thought to be able to accomplish things that the individuals cannot1.
The formation of a more condensed collective of organisms from a dispersed population breaks the system’s initial spatial symmetry to yield two regions of space—the area containing the collective and the area outside of it—where the organisms have different densities and may have different dynamical properties. In this respect it resembles a phase separation process. Analogous molecular-scale phase separation phenomena include the condensation of water vapor into liquid droplets or the formation of vesicles from dispersed phospholipids; likely examples of biological phase separation include the production of membraneless organelles2, such as P-granules3, nucleoli4, and centrosomes5,6 in living cells. Theoretical approaches inspired by the physics of molecular phase separation, including lattice-gas models and reaction-diffusion models, have been successfully applied to a wide variety of collective organismal phenomena, including bacterial flocking and biofilm formation7, locust swarming and migration8, the formation of spatially intricate colonies by mussels9, and the formation of blob-like aggregates or colonies by the annelid Tubifex tubifex10. The success of these theories underscores the fact there are fundamental similarities between molecular- and organismal-scale phase separation processes, even though the processes take place on very different distance scales, and even though the former involve the passive motions of inanimate molecules whereas the latter involve metabolically-fueled self-propulsion11–13.
C. elegans is a macroscopic nematode that exhibits chemotaxis14, learning15, and complex social behaviors16,17. In the course of other studies, we observed what appears to be a simple example of colony formation in C. elegans: we found that when N2 Bristol worms grow on plates to high density (a high number of worms per unit area), so that the bacterial food source was exhausted, they often formed colonies (Fig. 1a). (Here we will use the term “colony” even though these colonies are not the descendants of a single founding organism the way a bacterial colony or a yeast colony is.).
Here we have examined C. elegans colony formation through quantitative experiments and condensation theory. Experimentally we found that colony formation occurs only when worms are plated at a density above a critical value. A compartmentalized ordinary differential equation (ODE) model of the process accounts for this and predicts that the ratio of the rates of colony exit to colony entry determines the critical density. We found this prediction to be true, within experimental error, for both small dauer worms and large adult worms, even though the critical concentrations for the two types of worms differed by an order of magnitude. We also found that when multiple colonies were present, they sometimes fused to form larger colonies, and they also underwent Ostwald ripening, where large colonies grew and small colonies shrank, two coarsening mechanisms that are also seen in molecular phase separation processes. These findings indicate that C. elegans colony formation can be regarded as a phase separation phenomenon, and provide support for the idea that the basic principles of condensation and phase separation apply across a wide range of distance scales.
Results
C. elegans colony formation
Previously it was shown that some strains of C. elegans feed in clumps at the edges of existing bacterial lawns18. This social feeding behavior was attributed to the sensing of local oxygen levels19,20. However, some strains, including the classic lab strain N2 Bristol, lack the ability to clump in this fashion18, but still do form colonies under some conditions (Fig. 1a). Recently, Demir et al. reported what appeared to be a related patterning behavior, and showed that it depended on bacteria21.
To test if the formation of C. elegans colonies shown in Fig. 1a requires bacteria, we grew N2 worms to adulthood and then washed them and transferred them to a fresh agarose plate in the absence of added bacteria. A high density (0.18 worms/mm2) of adult worms formed colonies within minutes (Fig. 1c, Supplementary Movie 1), whereas a low density (0.02 worms/mm2) did not (Fig. 1b, Supplementary Movie 2). Even after 12 h of incubation, low densities of worms did not form colonies (Supplementary Fig. 1). These findings suggest that colony formation depends upon having a sufficient density of worms, but does not require the presence of bacteria or of a pre-existing pheromone pattern.
We also tested C. elegans at other developmental stages, including dauer and asynchronous stages. Notably, to obtain dauer worms (small larvae that have been induced to enter an alternative developmental stage in which they are resistant to harsh conditions), we washed and treated with a low dose of detergent before replating, which should lyse and eliminate any trace amounts of bacteria. As was the case with adults, worms in these developmental stages formed colonies when plated at high density, but not at low density (Supplementary Fig. 2). Once again, a system consisting of worms alone, with no bacteria, was able to undergo colony formation, and this colony formation depended upon the density of the worms.
Critical densities in dauer and adult worms
We then looked in more detail at the density dependence of colony formation. We placed different densities of dauer-stage N2 worms on an agarose plate, gently spread the worms, and took pictures of the plates after 30 min, a time when pilot experiments showed that the colonies were stable and no further colonies were forming. Once again there was a threshold for colony formation (Fig. 1d, e): a stable colony only appeared when the seeding density was above the critical density, and all conditions above the critical seeding density resulted in stable colonies. Moreover, the density of the out-of-colony worms increased linearly with the seeding density when the seeding density was below the threshold, and attained a constant maximal value when the seeding density exceeded the threshold (Fig. 1e). The critical density was 1.33 ± 0.25 worms/mm2, estimated by fitting a straight line to the data points where there were no colonies (open circles, Fig. 1e), a flat line to those data points where there were colonies (filled circles, Fig. 1e), calculating the intersection between the two lines, and then averaging over three independent experiments. Thus, there is a critical density requirement for the formation of dauer-stage C. elegans colonies, and above this density, colonies and dispersed worms coexisted.
To test if the thresholded response of colony formation is stage specific, we performed the same experiment with adult worms (Fig. 1f, g). Again the density of out-of-colony worms rose approximately linearly until the critical density was reached, and then remained constant. However, the critical density for adult worms (0.148 ± 0.016 worms/mm2) was almost an order of magnitude smaller than that of dauer larvae.
C. elegans dynamics on second-to-minute time scales
To begin to understand why a critical density of worms was required for colony formation, and what determined the value of the critical density, we set out to quantitatively characterize the worms’ dynamics. In particular, we addressed three questions: (1) Were the worms’ movements ballistic, with their displacement from a starting point being directly proportional to time, or were they random walks, with the square of the displacement proportional to time? (2) Did the worms move differently depending upon how close they were to a colony, as is the case with chemotaxis? And (3) did the worms slow down when they joined a colony? To this end, we developed a tracking algorithm to automatically record the movement of individual dauer worms as well as their interactions with colonies. The algorithm allowed tracking of the trajectories of multiple worms (Fig. 2a, b; Supplementary Movie 3), and identified when a worm entered (Fig. 2a) or exited (Fig. 2b) a colony.
On a time scale of minutes, the trajectories of the out-of-colony worms resembled a random walk22 (Fig. 2c), with the worms alternating between time periods when they crawled along fairly straight trajectories and periods when they stopped and turned. A log–log plot of mean squared displacement vs. time from 15 to 195 s yielded a slope of α = 1.11 ± 0.15 (Fig. 2e), close to the expected value for a random walk (α = 1). In contrast, over the first few seconds the trajectories were more ballistic. A log–log plot of mean squared displacement vs. time from 0.5 to 13 s yielded a slope of α = 1.73 ± 0.10 (Fig. 2d), closer to that expected for a ballistic trajectory (α = 2). Thus, on a time scale of a few seconds the worms’ trajectories were approximately ballistic, with mean displacement being directly proportional to time, whereas on a time scale of tens of seconds, the trajectories were close to random walks, with mean squared displacement being proportional to time.
To further characterize the motion, we examined how quickly the direction of a worm’s trajectory became uncorrelated, by calculating the cosine-similarity angular autocorrelation function (Fig. 2f). Trajectories lost their directional autocorrelation by 30 s, and the half-time for the loss was 9.3 s (Fig. 2f). The distance a worm traveled during this time interval is on the same order as the size of a colony (0.1–1 mm). This shows again that on a time scale of ~10 s or longer we can regard the worms’ trajectories as being random walks, and on shorter time scales the trajectories are more ballistic.
Ballistic departure of a worm from a disk-shaped colony, with little rebinding (re-entering the colony it originated from), would make it possible to formulate a relatively simple model for the dynamics of the worms. We therefore directly addressed whether rebinding contributes substantially to worm dynamics, by measuring the frequency at which worms returned to their original colony after leaving (Fig. 2g). In this analysis, a departing worm becomes available for four classes of action: (i) rebinding (Fig. 2g, purple); (ii) binding another colony (Fig. 2g, red); (iii) exiting the frame (Fig. 2g, green); or (iv) remaining out-of-colony. We found that only a small fraction of worms returned to the original colony (7%) compared to worms joining a different colony (31%), exiting the frame (42%), or remaining out-of-colony (20%). This indicates that the worms almost always made it into the bulk medium once they left a colony. Note that in theory this may not be true if the colonies grow to too large a size, but for the experiments shown here rebinding was infrequent. The assumption of negligible rebinding will help simplify the modeling described below.
The C. elegans trajectories are not biased toward colonies
At least two classes of mechanism might explain the formation of colonies at high worm densities. First, colony formation could be due to chemotaxis (or some other form of taxis), with the worms moving preferentially toward a nascent colony in response to a gradient of an attractant. In this taxis model, worms would move at different speeds, or with different directional persistence, depending upon whether they were moving toward the colony or not. Bacterial chemotaxis, where bacteria sense and move up a concentration gradient of a chemo-attractant like serine or aspartate, is an example of this type of mechanism23–25. Alternatively, the worms could be moving randomly when in the dispersed phase, but then become captured by a colony if they accidentally collide with it because the colony slows them down. This random capture model would be more like what happens in a molecular condensation process like the condensation of water vapor or the formation of micelles from dispersed detergent molecules.
Thus, we examined whether the velocities of the worms were different in different directions, and if they were different close to a colony vs. far from a colony. We measured the radial and tangential components of velocities of worms at different distances from the center of a colony (Fig. 3a). If a worm were attracted to a colony, one would expect the radial component to be greater than the tangential component. However, we did not see such a trend (Fig. 3b; Wilcoxon p-value = 0.73 for the overall radial vs. tangential comparison). We also dissected the radial and the tangential components of the velocity after binning the worms according to their distance to a colony (Fig. 3b), in case some difference might be more apparent close to a colony. At all distances from the colony, the radial velocity was similar to the tangential velocity, and no significant difference between the speeds of worms moving toward vs. away from the colony was found (Fig. 3b). Finally, we determined whether the directional persistence of the worms’ trajectories differed depending upon whether they were moving toward or away from a colony. We plotted the half-times for losing directional autocorrelation as the r-coordinate on a polar coordinate plot, and plotted the worms’ directions as θ (Fig. 3c). The half-times were unchanged regardless of the worms’ directions. These findings argue against the taxis model.
Alternatively, we measured the speed of worms in colonies vs. outside of colonies to see whether in-colony-slowing, due to their interactions with other worms, might account for colony formation. The second bin in Fig. 3b (0–240 µm from the colony center) consists largely of in-colony worms, and their average velocities were substantially lower than those of worms in the more distant bins, suggesting that worms in the colonies do move more slowly than dispersed worms. To further quantify the change in velocity, we tracked the movements of fluorescently labeled worms sparsely mixed with label-free worms (Supplementary Movie 4). On average, worms outside of the colony moved six times faster than worms in a colony (Fig. 3d) (Wilcoxon p-value < 0.001). This spatially distinct behavioral difference could be the result of (i) two behaviorally differentiated populations of worms, or (ii) a single population of worms that switched rapidly between two behavioral states. To distinguish between these possibilities, we tracked individual worms before and after they transited into or out of a colony. We found that individual worms promptly accelerated upon leaving a colony and decelerated upon joining a colony, supporting the hypothesis that the worms in and out of the colonies were a single population with two behavioral states (Fig. 3e, f).
These findings support the hypothesis that a distribution of essentially identical individual worms forms and maintains colonies through a mechanism where the worms randomly collide with and join colonies, and then slow their movement.
A two-compartment ODE model of worm dynamics
Since the worms’ velocities depended strongly upon whether they were in or out of a colony, but not on their specific positions, we chose to model the dynamics of the worms with compartmentalized ODEs. We considered all of the out-of-colony worms (designated w) to be in one well-mixed compartment, with a uniform density of ρ = w/A, where A is the area of the agarose plate or pad, and all of the in-colony worms (designated w*) to be in another compartment, with a higher density of ρ* = w*/A*, where A* is the area of the colony (Fig. 4a). Initially we will assume that there is a single colony, as was the case in some of the experiments we carried out (e.g., Fig. 1d). Later we will consider multiple colonies.
The rate at which the out-of-colony worms (w) collide with and join a circular colony should be proportional to the number of out-of-colony worms that happen to be at the boundary of the colony. If the length of the boundary is 2πr, where r is the radius of the colony, then:
1 |
The radius of the colony is assumed to be proportional to the square root of its area and the square root of the number of worms in the colony, w*. Thus:
2 |
where the rate constant k1 is determined by the speed of the out-of-colony worms and the fraction of the trajectories that aim into the colony (ideally 0.5). Note that this assumes that the persistence length of the motion is long compared to the diameter of the colonies. In actuality, the two length scales are similar (Figs. 2, 3); nevertheless, we start with this assumption because it simplifies the analysis.
Similarly, we assume that only the in-colony worms that are on the circumference of a colony can exit it. Thus, the rate at which worms leave a colony is again proportional to the square root of the area of the colony :
3 |
The rate constant k−1 is determined by the speed of the in-colony worms and the fraction of the trajectories that aim out of the colony (again, ideally 0.5).
The net rate of colony formation can therefore be written as:
4 |
Experimentally we found that less than 1–3% of the worms crawled off the agarose pads in the typical 30–45 min experiment. Thus, we assume that the total number of worms in the system is a constant wtot, which means that:
5 |
Therefore, Eq. 4 can be written as:
6 |
with a single time-dependent variable (w*). This is the compartmentalized one-ODE model for the equilibration of worms between a dispersed phase and a colony. Note that there is positive feedback in this model, since the larger w* is, the faster the joining rate will be, at least until w* becomes a substantial fraction of wtot.
For the system to be in steady state, the time derivative must equal zero:
7 |
where is the steady-state number of worms in the colony. There are two solutions for :
8 |
which means that there is no colony and all of the worms are dispersed and solitary, and:
9 |
Note that neither nor wtot can be smaller than zero. This means that Eq. 9 provides a physically meaningful solution only if wtot > k−1/k1. There is a single steady state when wtot ≤ k−1/k1, given by Eq. 8, and two steady states when wtot > k−1/k1 (Fig. 4b, c), given by Eqs. 8 and 9.
To determine which of the steady states is stable, we performed rate-balance analysis (Fig. 4d, e). When wtot ≤ k−1/k1, the single steady state, with , is stable, since perturbing the system from this steady state makes the leaving rate from the colony become faster than the joining rate, pushing the system back to the steady state (Fig. 4d). On the other hand, when wtot > k−1/k1, and there are two steady states, the one with is stable, and the one with is unstable (Fig. 3e). Thus, when wtot is below a critical value of wtot = k−1/k1, no colony will form, and any pre-existing colony will disperse. And when wtot is above this critical value, a colony will form, with the size of the colony depending upon how far above the critical value wtot is and the density of the out-of-colony worms remaining at its maximal possible value of k−1/k1 (Fig. 4b–e). The transition from one to two steady states that occurs at wtot = k−1/k1 is termed a transcritical bifurcation26. Transcritical bifurcations are seen in simple models of micelle formation, liquid–liquid phase separation, and precipitation, various condensation processes that occur on a molecular level27–29.
Note that in this model, the velocities of the worms in the colony must be slower than the velocities of the out-of-colony worms, as was found experimentally (Fig. 3), if the colony is to be stable. The maximum inward flux across the boundary (the joining rate) depends upon the maximum overall density of the dispersed worms (which is approached when the colony is infinitesimal) times their speed; the outward flux depends on the density of the condensed worms times their speed. Thus, if the density of the worms is higher in the condensed phase than it is in the dispersed phase, then the velocities in the condensed phase must be slower (and by a factor at least as big as the ratio of the densities) than they are in the dispersed phase, or there will be a net outward flux and the condensed phase will not be stable. In this respect—the requirement that the worms slow down in the condensed phase—the model is similar to mobility-induced phase separation models11–13, although that class of model obtains its positive feedback from a relationship between density and velocity, rather than between the size of the condensate and the joining rate.
Note also that so far we have considered the interplay between dispersed worms and a single colony. However, the analysis can easily be extended to multiple colonies, provided that the values of k−1 and k1 do not vary with colony size (Supplemental Text), and the analysis yields the same prediction of a critical worm concentration wtot = k−1/k1 below which colonies will not form.
Thus the compartmentalized ODE model of condensation by random capture predicts that (i) at steady state, there will be a density threshold, above which one or more colonies form, and below which no colony forms; (ii) when the seeding density is above the colony formation threshold, the steady-state density of out-of-colony worms should be constant; and (iii) the critical colony concentration is equal to the ratio of the association and dissociation rate constants, k−1/k1.
Testing the model’s predictions
According to the model, the colony-forming threshold should equal k−1/k1. This ratio can be determined experimentally from three measurable quantities: the rate at which worms leave the colony, the rate at which worms enter the colony, and the concentration of out-of-colony worms:
10 |
11 |
We took time-lapse videos of worms near existing colonies and measured the association and dissociation rates and the out-of-colony worm density (Supplementary Movie 3). For dauer worms, the estimated value of k−1/k1 from these measurements was 1.78 ± 0.25 worms/mm2 (mean ± S.E., n = 7), somewhat higher than the directly measured threshold of 1.33 ± 0.17 worms/mm2 (mean ± S.E., n = 7). Given the experiment-to-experiment variation, this difference is not statistically significant (Student’s t-test p-value = 0.303) (Fig. 4f). For adult worms, the predicted threshold was an order of magnitude lower (0.130 ± 0.019 worms/mm2, mean ± S.E., n = 6), again in reasonable agreement with the directly measured threshold (0.148 ± 0.016 worms/mm2, mean ± S.E., n = 7) (Student’s t-test p-value = 0.478) (Fig. 4g). If we take Joining rate/w as a gauge of k1, and Leaving rate as a gauge of k−1, the adult worms join colonies ~2× faster and leave colonies ~7× slower than dauer. Adult worms appear to be held more tightly by a colony than dauers are, perhaps because their larger size affords them more physical interactions with other worms. As predicted by the ODE model, changes in the dynamics of joining and leaving results in a change in the critical density.
Thus, the compartmentalized, random capture ODE model both qualitatively and, within error, quantitatively accounts for the thresholds in C. elegans colony formation for dauer and adult worms.
Spatial coarsening
In many inhomogeneous physical–chemical systems, the small structures shrink over time and eventually disappear, while the large structures grow. Several mechanisms can contribute to this coarsening. One is the fusion of less-stable small colonies to form more-stable larger colonies (Fig. 5a), which has been found to occur in Tubifex tubifex blob formation10. Under conditions where multiple C. elegans colonies form, this type of coarsening occurred. One such example is shown in Fig. 5b: a single worm makes simultaneous contact with two approximately circular colonies, which then coalesce into a larger, single, circular colony.
When colonies were too far apart to make physical contact with each other, we found another type of spatial coarsening—Ostwald ripening, where large colonies grow at the expense of smaller ones through competition for worms exchanged into the bulk, dispersed phase30,31. Like fusion, Ostwald ripening is driven by greater stability of the larger structures. An example of Ostwald ripening is shown in Fig. 5d. A small modification to the rate equation model (Eq. 5)—adding size dependence to the colonies’ stability—is sufficient to generate Ostwald ripening in the worm model (Fig. 5c; Supplementary Text and Supplementary Fig. 3).
Discussion
We have demonstrated that at high density C. elegans can self-organize and form colonies, even in the absence of bacteria. The worms move essentially randomly on agarose, and if they encounter a small colony they can join it. As the colony grows, it becomes a bigger target for the addition of more worms, which provides the process with positive feedback—the rate of colony joining increases as the number of worms that have already joined increases. Worms in a colony move more slowly than dispersed worms do, which allows the colonies to be stable structures.
Even though this is a complex behavior exhibited at the level of a group of living, self-propelled organisms, C. elegans colony formation can be explained by a simple model that could also be applied to passive processes like precipitation or micelle formation. The model predicts a density threshold for colony formation and a constant, maximal density of out-of-colony worms when the threshold is reached. We found these predictions to be correct through direct experimental observation. With small modifications, the model can account for the phenomenon of Ostwald ripening as well.
Since the dispersed worm phase conforms to the size and the shape of the dish or pad the worms are plated on, it behaves like a vapor phase. The colonies can be viewed as a liquid phase: their size is determined by the number of worms in the colony, they are usually roughly circular, suggestive of surface tension, they can fuse, and the worms within the colony are moving rather than frozen in place. Thus, C. elegans colony formation may be viewed as analogous to the condensation of a vapor into a liquid, even though it is not being driven by thermal motions and free energies.
The physics of molecular phase separation is a well-developed field, and there are theories to account for aspects of the process that are not considered in the compartmentalized ODE model presented here. For example, the Smoluchowski coagulation model32, which is a rate equation approach like the ODE model used here, explicitly allows for the possibility that the dynamics of the addition of a molecule to an n-molecule condensed phase differs depending upon the value of n. Many modern treatments of phase separation at both the molecular level and the organismal level are based on partial differential equations, like the Cahn-Hilliard equation, that include spatial terms to describe mass transfer as well as reaction terms based on an assumed chemical potential function for the condensation process. Particularly notable are the motility-induced phase separation models, theories that have emerged from active matter physics and which have been successfully applied to biological condensation processes as well11,13. Such treatments predict that over some time range, the growth of the condensed phase will obey a power law relationship. We have not yet been able to conclusively rule in or out the expected power law scaling. However, Deblais and co-workers10 were able to show that in what they termed “blob” formation by Tubifex tubifex annelids placed in water, a power law relationship between colony size and time was indeed observed.
That said, it is perhaps remarkable how well the simple compartmentalized ODE approach works. Moreover, the ODE approach makes it easy to appreciate the basic concepts that underlie phase separation—the positive feedback that arises because the colony’s joining rate depends upon how many worms have already joined, and the slowing of the worms once they have joined. These concepts are shared by more sophisticated theoretical approaches11–13.
Together with other recent work7–10,21, these observations indicate that biological self-organization and pattern formation, through phase separation, occurs across many scales, from molecules33–36, organelles3,37, and possibly subcellular compartments38, all the way to a population of organisms.
Methods
Strains and maintenance
C. elegans strains, N2 Bristol and isogenic GFP-labeled GA631, and E. coli OP50 were obtained from the Caenorhabditis Genetics Center, University of Minnesota. C. elegans were maintained and cultured routinely on nematode growth (NG) plates according to standard procedures39.
Liquid culture
To obtain sufficient numbers of C. elegans, we cultured C. elegans in liquid before experiments. C. elegans from a 100 mm plate that had been just depleted of food were washed and transferred to 250 mL S Medium40 (1 L autoclaved S Basal plus 10 mL 1 M potassium citrate pH 6, 10 mL trace metals solution, 3 mL 1 M CaCl2, 3 mL 1 M MgSO4. S Basal: 5.85 g NaCl, 1 g K2HPO4, 6 g KH2PO4, 1 mL cholesterol (5 mg/mL in ethanol), H2O to 1 L; trace metals solution: 1.86 g disodium EDTA, 0.69 g FeSO4•7H2O, 0.2 g MnCl2•4H2O, 0.29 g ZnSO4•7H2O, 0.025 g CuSO4•5H2O, H2O to 1 L) with 0.5 mL E. coli OP50 pellet. To obtain adult worms, cultures were shaken in flasks and incubated at 23 °C for 3 days with monitoring of bacterial density to ensure no starvation of worms. Adults were enriched by transferring cultures to 50 mL Falcon tubes, settled for 5 min, and collected from the bottom. The adults were then washed and settled twice in fresh M9 buffer40 (3 g KH2PO4, 6 g Na2HPO4, 5 g NaCl, 1 mL 1 M MgSO4, H2O to 1 L). To obtain dauer-stage worms, the liquid culture was maintained similarly except cultured for 10 days. Dauer stage was induced by the high population density in the culture. Worms were transferred to conical 50 mL tubes, and collected from the bottom of tubes after centrifugation at 300 × g for 3 min. To remove worms in other developmental stages, worms were then resuspended and incubated in 1% SDS for 40–60 min at room temperature. To separate dauer worms from debris, material was then collected by centrifugation at 300 × g for 3 min and followed by centrifugation at 16,000 × g for 1 min at 4 °C in a tube containing cooled M9 buffer on top and 30% sucrose in M9 buffer at the bottom (sucrose cushion floatation). Dauers were enriched at the interface between the two density layers after centrifugation. These worms were quickly collected with a wide-bore Pasteur pipette and washed twice with M9 buffer at room temperature. Culture density was estimated by counting 20 μL droplets of the purified cultures (or a larger volume if the count is smaller than 50 worms) under a stereoscope.
Colony formation assay on agarose pads
Agarose pads were generated by molding melted 2% agarose (A9539-500G, Millipore-Sigma) in S Medium between two clean glass plates spaced with 1 mm-thick spacers. We used a 7 mm diameter biopsy punch (Queens Surgical) to cut out discs of agarose pads. The pads were then transferred to a 60 mm petri dish (351007, Corning) with a pair of tweezers with carbon fiber tips (159C-RT, Excelta). Worms of desired number were transferred to the top of the agarose pads. Extra liquid was removed using the tip of a piece of Kimwipe (06–666 A, Kimberly-Clark) twisted between fingers. The dish was then covered and imaged under a DMi8 fluorescence microscope (Leica).
Colony formation assay on dishes
To make an agarose plate, we dispensed 5 mL 2% agarose with S Medium in a 60 mm petri dish and allowed to solidify. Afterwards, we deposited worms of desired number on to the agarose plate with a pipette. We removed excess liquid and gently dispersed the worms with a soft PVA sponge (40400-8, BVI). The dish was then covered with a lid layered with 2% agarose to reduce condensation and placed on a flatbed scanner (B11B198011, Perfection V600, Epson) for image capture. Scanned photos were taken at 1200 dpi and regular time intervals with a custom Python script.
Image processing and motion tracking
Before segmentation and tracking, a 2D Gaussian kernel was applied to individual images to reduce local fluctuations. For dauer worms, the outlines of worms and colonies were generated by thresholding on the edge intensities created by convolution with a Roberts kernel. Object masks for worms and colonies were generated by inverting the binary map of a background flood on the thresholded edge map. Object mask openings of size less than 1000 µm2 were removed. We tracked objects by finding the nearest centroid Euclidean neighbor in the previous frame. If the nearest neighbor in the last or the next frame was far enough away that a speed greater than 250 µm/sec would have been required to account for the displacement, the object was considered to be an orphan. Depending on the event sequence and the distance to the edge of the field of view, orphans were classified as entering or exiting a colony or entering or exiting the field of view. Given the uniformity of size of dauer worms, objects were categorized into a worm or a colony by its area of mask opening. Objects containing two worms in two consecutive frames, or algorithmically greater than 1.75 times the area of the median opening in the field of view (1.75 times the typical size of a solitary worm) were classified as a colony. Manual inspection was performed to ensure successful implementation.
For adult worms, joining rates and leaving rates were assessed manually, because their sizes were too variable to permit accurate automatic segmentation and tracking.
Mean square displacement calculations
To calculate the mean square displacement for individual traces, we first took the Cartesian coordinates (x, y) at the center of mass for an individual worm at each time-step in a trace generated by the tracking algorithm. For each trace, the squared displacements were calculated by summing the square of the differences in x and y between all pairs of the center of mass coordinates that are separated by a time difference, t = nδt, where δt is the time interval between two consecutive frames and n is a positive integer signifying the number of frames separating the two frames. The mean squared displacement for individual traces was calculated by averaging the squared displacements grouped by t. The individual mean squared displacements were plotted against t. To express this in mathematical terms, .., where N is the number of frames in a trajectory and x and y are the coordinates at iδt or iδt + nδt. Data points from the same trace were connected by straight lines.
We calculated the ensemble mean square displacements similarly, but instead of averaging the squared displacements from individual traces, we calculated the mean of the squared displacements from all traces.
Cosine-similarity calculation
For individual traces, the velocity of a worm at a particular timepoint was calculated as the translocation divided by the time interval in a 3-second window centered on that timepoint. For every pair of points in a trace, a cosine-similarity value was calculated as (vi·vj)/(|vi|·|vj|), where vi is the velocity vector at timepoint i and vj is the velocity vector at timepoint j. Cosine-similarity values were grouped by the time interval, τ = (i−j)δt, where δt is the time interval between two consecutive frames. Cosine-similarity values were also binned by the angle between the worm’s velocity vector and the vector pointing from the center of the nearest in-frame colony to the center of mass of the worm, starting with the 1.5 s frame.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Supplementary information
Acknowledgements
We thank Hans Anderson, Sujay Guha, Miriam Goodman, Daniel Fisher, and Zhibo Zhang for helpful discussions, and Deborah Gordon, Xianrui Cheng, Daniel Fisher, Jo-Hsi Huang, William Huang, Julia Kamenz, Zhengda Li, Shixuan Liu, Lindsey Pack, Connie Phong for comments on the manuscript. This work was supported by a grant from the National Institutes of Health (R35 GM131792). Some strains were provided by the CGC, which is funded by NIH Office of Research Infrastructure Programs (P40 OD010440).
Source data
Author contributions
Conceptualization: Y.C. and J.E.F.; Formal analysis: Y.C.; Funding acquisition: J.E.F.; Investigation: Y.C.; Supervision: J.E.F.; Visualization: Y.C. and J.E.F.; Writing: Y.C. and J.E.F.; Editing: Y.C. and J.E.F.
Data availability
The data that support this study are available from the corresponding author upon reasonable request. The imaging data generated in this study have been deposited in the Stanford Digital Repository at https://purl.stanford.edu/qd784cd0342. The custom code used in the analysis in this study has also been deposited in the Stanford Digital Repository at https://purl.stanford.edu/qd784cd0342. Source data are provided with this paper.
Competing interests
The authors declare no competing interests.
Footnotes
Peer review informationNature Communications thanks Agnese Curatolo and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
The online version contains supplementary material available at 10.1038/s41467-021-25244-9.
References
- 1.Parrish JK, Edelstein-Keshet L. Complexity, pattern, and evolutionary trade-offs in animal aggregation. Science. 1999;284:99–101. doi: 10.1126/science.284.5411.99. [DOI] [PubMed] [Google Scholar]
- 2.Banani SF, Lee HO, Hyman AA, Rosen MK. Biomolecular condensates: organizers of cellular biochemistry. Nat. Rev. Mol. Cell Biol. 2017;18:285–298. doi: 10.1038/nrm.2017.7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Brangwynne CP, et al. Germline P granules are liquid droplets that localize by controlled dissolution/condensation. Science. 2009;324:1729–1732. doi: 10.1126/science.1172046. [DOI] [PubMed] [Google Scholar]
- 4.Feric M, et al. Coexisting liquid phases underlie nucleolar subcompartments. Cell. 2016;165:1686–1697. doi: 10.1016/j.cell.2016.04.047. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Alberti S, Hyman AA. Biomolecular condensates at the nexus of cellular stress, protein aggregation disease and ageing. Nat. Rev. Mol. Cell Biol. 2021;22:196–213. doi: 10.1038/s41580-020-00326-6. [DOI] [PubMed] [Google Scholar]
- 6.Lafontaine DLJ, Riback JA, Bascetin R, Brangwynne CP. The nucleolus as a multiphase liquid condensate. Nat. Rev. Mol. Cell Biol. 2021;22:165–182. doi: 10.1038/s41580-020-0272-6. [DOI] [PubMed] [Google Scholar]
- 7.Vicsek T, Czirok A, Ben-Jacob E, Cohen II, Shochet O. Novel type of phase transition in a system of self-driven particles. Phys. Rev. Lett. 1995;75:1226–1229. doi: 10.1103/PhysRevLett.75.1226. [DOI] [PubMed] [Google Scholar]
- 8.Ariel G, Ayali A. Locust collective motion and its modeling. PLoS Comput. Biol. 2015;11:e1004522. doi: 10.1371/journal.pcbi.1004522. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Liu QX, et al. Phase separation explains a new class of self-organized spatial patterns in ecological systems. Proc. Natl Acad. Sci. USA. 2013;110:11905–11910. doi: 10.1073/pnas.1222339110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Deblais A, Maggs AC, Bonn D, Woutersen S. Phase separation by entanglement of active polymerlike worms. Phys. Rev. Lett. 2020;124:208006. doi: 10.1103/PhysRevLett.124.208006. [DOI] [PubMed] [Google Scholar]
- 11.Cates ME, Tailleur J. Motility-induced phase separation. Annu. Rev. Condens. Matter Phys. 2015;6:219–244. doi: 10.1146/annurev-conmatphys-031214-014710. [DOI] [Google Scholar]
- 12.Cates ME, Tailleur J. When are active Brownian particles and run-and-tumble particles equivalent? Consequences for motility-induced phase separation. EPL (Europhys. Lett.) 2013;101:20010. doi: 10.1209/0295-5075/101/20010. [DOI] [Google Scholar]
- 13.Cates ME. Diffusive transport without detailed balance in motile bacteria: does microbiology need statistical physics? Rep. Prog. Phys. 2012;75:042601. doi: 10.1088/0034-4885/75/4/042601. [DOI] [PubMed] [Google Scholar]
- 14.Larsch J, et al. A circuit for gradient climbing in C. elegans chemotaxis. Cell Rep. 2015;12:1748–1760. doi: 10.1016/j.celrep.2015.08.032. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Zhang Y, Lu H, Bargmann CI. Pathogenic bacteria induce aversive olfactory learning in Caenorhabditis elegans. Nature. 2005;438:179–184. doi: 10.1038/nature04216. [DOI] [PubMed] [Google Scholar]
- 16.Artyukhin AB, Yim JJ, Cheong Cheong M, Avery L. Starvation-induced collective behavior in C. elegans. Sci. Rep. 2015;5:10647. doi: 10.1038/srep10647. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Sugi T, Ito H, Nishimura M, Nagai KH. C. elegans collectively forms dynamical networks. Nat. Commun. 2019;10:683. doi: 10.1038/s41467-019-08537-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.de Bono M, Bargmann CI. Natural variation in a neuropeptide Y receptor homolog modifies social behavior and food response in C. elegans. Cell. 1998;94:679–689. doi: 10.1016/S0092-8674(00)81609-8. [DOI] [PubMed] [Google Scholar]
- 19.Zimmer M, et al. Neurons detect increases and decreases in oxygen levels using distinct guanylate cyclases. Neuron. 2009;61:865–879. doi: 10.1016/j.neuron.2009.02.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Gray JM, et al. Oxygen sensation and social feeding mediated by a C. elegans guanylate cyclase homologue. Nature. 2004;430:317–322. doi: 10.1038/nature02714. [DOI] [PubMed] [Google Scholar]
- 21.Demir E, Yaman YI, Basaran M, Kocabas A. Dynamics of pattern formation and emergence of swarming in Caenorhabditis elegans. elife. 2020;9:e52781. doi: 10.7554/eLife.52781. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Gray JM, Hill JJ, Bargmann CI. A circuit for navigation in Caenorhabditis elegans. Proc. Natl Acad. Sci. USA. 2005;102:3184–3191. doi: 10.1073/pnas.0409009101. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Wadhams GH, Armitage JP. Making sense of it all: bacterial chemotaxis. Nat. Rev. Mol. Cell Biol. 2004;5:1024–1037. doi: 10.1038/nrm1524. [DOI] [PubMed] [Google Scholar]
- 24.Webre DJ, Wolanin PM, Stock JB. Bacterial chemotaxis. Curr. Biol. 2003;13:R47–R49. doi: 10.1016/S0960-9822(02)01424-0. [DOI] [PubMed] [Google Scholar]
- 25.Berg HC. Chemotaxis in bacteria. Annu. Rev. Biophys. Bioeng. 1975;4:119–136. doi: 10.1146/annurev.bb.04.060175.001003. [DOI] [PubMed] [Google Scholar]
- 26.Strogatz, S. Nonlinear Dynamics And Chaos: With Applications To Physics, Biology, Chemistry, And Engineering(Studies in Nonlinearity) (Westview Press, 2001).
- 27.Hyman AA, Weber CA, Julicher F. Liquid-liquid phase separation in biology. Annu. Rev. Cell Dev. Biol. 2014;30:39–58. doi: 10.1146/annurev-cellbio-100913-013325. [DOI] [PubMed] [Google Scholar]
- 28.Israelachvili JN, Mitchell DJ, Ninham BW. Theory of self-assembly of hydrocarbon amphiphiles into micelles and bilayers. J. Chem. Soc. Faraday Trans. 2. 1976;72:1525–1568. doi: 10.1039/f29767201525. [DOI] [Google Scholar]
- 29.Tanford, C. The Hydrophobic Effect: Formation of Micelles and Biological Membranes (Wiley, 1973).
- 30.Ostwald W. Studien über die Bildung und Umwandlung fester Körper. Z. f.ür. Physikalische Chem. 1897;22U:289–330. doi: 10.1515/zpch-1897-2233. [DOI] [Google Scholar]
- 31.Voorhees PW. The theory of Ostwald ripening. J. Stat. Phys. 1985;38:231–252. doi: 10.1007/BF01017860. [DOI] [Google Scholar]
- 32.Smoluchowski, M. V. Über Brownsche Molekularbewegung unter Einwirkung äußerer Kräfte und deren Zusammenhang mit der verallgemeinerten Diffusionsgleichung. Annalen der Physik353, 1103–1112 (1916).
- 33.Huang WYC, et al. A molecular assembly phase transition and kinetic proofreading modulate Ras activation by SOS. Science. 2019;363:1098–1103. doi: 10.1126/science.aau5721. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Lin Y, Protter DS, Rosen MK, Parker R. Formation and maturation of phase-separated liquid droplets by RNA-binding proteins. Mol. Cell. 2015;60:208–219. doi: 10.1016/j.molcel.2015.08.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Su X, et al. Phase separation of signaling molecules promotes T cell receptor signal transduction. Science. 2016;352:595–599. doi: 10.1126/science.aad9964. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Elbaum-Garfinkle S, et al. The disordered P granule protein LAF-1 drives phase separation into droplets with tunable viscosity and dynamics. Proc. Natl Acad. Sci. USA. 2015;112:7189–7194. doi: 10.1073/pnas.1504822112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Molliex A, et al. Phase separation by low complexity domains promotes stress granule assembly and drives pathological fibrillization. Cell. 2015;163:123–133. doi: 10.1016/j.cell.2015.09.015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Cheng X, Ferrell JE., Jr. Spontaneous emergence of cell-like organization in Xenopus egg extracts. Science. 2019;366:631–637. doi: 10.1126/science.aav7793. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Brenner S. The genetics of Caenorhabditis elegans. Genetics. 1974;77:71–94. doi: 10.1093/genetics/77.1.71. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Stiernagle, T. Maintenance of C. elegans (February 11, 2006), WormBook, ed. The C. elegans Research Community, WormBook, 10.1895/wormbook.1.101.1, http://www.wormbook.org.
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The data that support this study are available from the corresponding author upon reasonable request. The imaging data generated in this study have been deposited in the Stanford Digital Repository at https://purl.stanford.edu/qd784cd0342. The custom code used in the analysis in this study has also been deposited in the Stanford Digital Repository at https://purl.stanford.edu/qd784cd0342. Source data are provided with this paper.