Invariance properties of bacterial random walks in complex structures
Motile cells often explore natural environments characterized by a high degree of structural complexity [soil2, pseudo]. Moreover cell motility is also intrinsically noisy due to spontaneous random reorientation and speed fluctuations [bergcoli]. This interplay of internal and external noise sources gives rise to a complex dynamical behavior that can be strongly sensitive to details [reichhardt2017ratchet, koumakis2014directed, kantsler2013ciliary] and hard to model quantitatively. In striking contrast to this general picture we show that the mean residence time of swimming bacteria inside artificial complex microstructures, can be quantitatively predicted by a generalization of a recently discovered invariance property of random walks [Blanco2003]. We find that variations in geometry and structural disorder have a dramatic effect on the distributions of path length while mean values are strictly constrained by the sole free volume to surface ratio. Biological implications include the possibility of predicting and controlling the colonization of complex natural environments using only geometric informations.
Microfabrication provides an ideal tool to investigate the dynamics of active particles in artificial complex environments having a precise and tunable internal structure [Bechinger2016]. Arrays of scattering obstacles have been used to demonstrate the possibility of rectification and sorting in self-propelled systems [Galajda2007, hulme2008using]. In all these cases small details in dynamical behavior can have significant quantitative consequences. For example, the timescale of spontaneous reorientation or the distribution of scattering angles produced by obstacles have a dramatic effect on the rectification efficiency of microstructures [reichhardt2017ratchet, koumakis2014directed, kantsler2013ciliary]. In striking contrast, a recently discovered invariance property of random walks implies that the average path length inside a closed domain of arbitrary shape is only proportional to the volume to surface ratio with a numerical prefactor that solely depends on the spatial dimensions. Despite its wide generality, this invariance property has started to find applications only very recently, mainly in the field of light propagation in turbid media [pierrat2014invariance, Savo2017]. Here we study motile bacteria exploring artificial microstructures with arbitrary geometries and a wide range of obstacle densities. Using the invariance property, we quantitatively predict the mean length of the paths traced by bacteria inside these microstructures. Assuming that the mean swimming speeds are not significantly perturbed by the presence of obstacles, we further predict and experimentally verify the invariance of the mean residence time, a more biologically relevant quantity. As a result, for all obstacle densities, the mean residence time is only determined by the microstructure volume to surface ratio and the mean inverse speed.
We use direct laser writing by two-photon polymerization [maruo1997three, kawata2001finer] to build 3D microchambers consisting of a thick “roof” supported by randomly distributed pillars fabricated on a microscope coverslip. A 1.4 m-thick gap between the coverslip and the roof confines bacteria in a quasi-2D geometry. The entire path traced by the cells inside the microchambers is therefore restricted on the focal plane and can be easily tracked by digital video microscopy (see Supplementary Video 1). Moreover, the presence of two close surfaces prevents circular swimming caused by hydrodynamic coupling to a single solid wall [Berg1990, prx]. In all experiments we use a smooth-swimming strain of E. coli bacteria expressing a red fluorescent protein. Microstructures are immersed in a low-density cell suspension ( cells , see Methods) that we track by epifluorescence videomicroscopy. The pillars play the role of obstacles and by varying their number we can tune the degree of internal complexity of the structures. The obstacles are fabricated as randomly distributed and non-overlapping short segments measuring m in length and with a thickness of m (see Supplementary Figure 1). Obstacles with such an elongated shape significantly deflect colliding bacteria and can be densely packed inside microstructures.
We fabricate a total number of 11 circular structures with a radius m and with a varying number of obstacles . When is small, bacteria traverse the structures with approximately straight trajectories (see Fig. 1(a)). Since the flux of bacteria through a line element of the boundary is proportional to the cosine of the angle between the cell swimming direction and the local boundary normal, the distribution of path lengths for straight trajectories is given by the chord-length distribution . As shown in Fig. 1(b), this distribution increases monotonically diverging at the maximum value . The experimental distribution of path lengths, obtained by tracking approximatively 1000 bacteria in a structure with obstacles, closely follows the theoretical distribution with small deviations due to rotational diffusion of bacteria and to scattering by the few isolated obstacles. When the number of obstacles is increased, bacteria are more likely to be back-scattered by obstacles close to the domain boundary giving rise to an excess of short paths that appears as a growing peak at small path lengths. At the same time, dense obstacles produce multiple deflections that result in trajectories with a total length that can exceed the circle diameter producing a tail in the distribution at .
Despite the strong dependence on of the path length distribution, the invariance theorem by Blanco and Fournier [Blanco2003] (BFT) can be used to obtain a strikingly simple formula for the mean path length that quantitatively matches observed values for all . To this aim we now illustrate an alternative derivation of the BFT result by means of a very simple argument. Let’s imagine to observe for a total time the motion of non-interacting random walkers moving with constant speed over a region of space of total area . If reorientation dynamics is isotropic, the walkers will fill the region with a uniform concentration and an everywhere isotropic velocity distribution. The time spent by each walker inside a generic subregion of area will be given by:
Alternatively we can obtain as the mean residence time multiplied by the number of times each walker is expected to enter the subregion during the observation time . This number can be obtained by counting the number of bacteria that enter the subregion in a total time and then divide by . Since, for an isotropic velocity distribution, the inward flux of walkers is over the entire perimeter of the sub-region, we have:
When the subregion contains rigid obstacles, the above derivation remains valid as long as their presence does not significantly perturb the homogeneity of the density field in the accessible space and the isotropy of random walks along the domain boundary [Benichou2005]. This condition is fulfilled for small and convex obstacles producing scattering events lasting for a short interaction time. In this regime, however, the total area in Eq. (3) must be replaced with the total accessible area where is the excluded area due to a single obstacle and the total excluded area. Therefore the mean path length is expected to decrease linearly with the number of obstacles according to the law:
In Fig. 1(c) we report as solid circles the experimental values of the mean path lengths as a function of the number of obstacles. Experimental data closely match the predicted linear behaviour in (Eq. 4) with an intercept fixed at m and a value for that is independently estimated by dilating the physical boundary of the obstacle by half the cell width (m [schwarz2016escherichia]) (see Supplementary Figure 1).
There are many situations in which the residence time is more relevant then the path length. For example, if adhesion to surfaces is an activated process [vissers2018bacteria] the probability that a cell will remain stuck inside a structure will be proportional to the total time spent inside it. The population average residence time can be related to the mean path length under the reasonable assumption that cell speeds are uncorrelated to path lengths so that:
with . Although speeds can be broadly distributed in a cell population we can again use the invariance property to quantitatively predict mean residence times once the characteristic speed is known. The measured mean residence time as a function of is plotted in Fig. 1(c) showing again a close agreement with the theoretical prediction in Eq. (5) where the parameter has been independently measured from experimental trajectories.
We have demonstrated that, for a fixed shape, the density of obstacles has a strong effect on the distribution of path lengths while leaving the mean value unchanged as long as the total internal accessible area remains the same. We will now investigate the effects of shape and size on the path length distributions and again conclude that, although path distributions are very sensitive to the detailed geometry of the domain, mean path lengths and residence times can be accurately predicted using only the surface to perimeter ratio. We fabricate microstructures of circular, squared and triangular shapes all in four different sizes as shown in Fig. 2(a). In all structures the obstacle density is fixed to . All recorded trajectories are also plotted in Fig. 2(a) with a color map encoding the scaled path length . In Fig. 2(b) we plot for each structure the histogram of path lengths normalized by the expected value in Eq. (4). As we move from circles to squares and then to triangles we observe that the corresponding histograms are characterized by larger frequencies for both short and long path lengths. The probability of short paths increases as we introduce convex corners and reduce their angle, as evidenced by the blue-violet color of the corners in squared and triangular structures. The presence of longer paths in triangles can be also understood noting that the normalized maximum straight paths for circles, square and triangles are respectively and (see Supplementary Figure 2). Despite these qualitative and quantitative differences between histograms, mean path lengths are always close to 1 when normalized by the predicted value as shown in Fig 2(b). The observed path length distributions can be very well reproduced by a Lorentz gas model where collisions with obstacles are described as instantaneous reorientation events [lorentz]. These events are assumed to occur with a constant probability per unit path length given by , where is the rotational average cross section of line obstacles with length (see Methods). For perfectly straight trajectories, circles and squares have path length distributions with a vertical asymptote. A strong peak is found at the location of this divergence and is progressively smeared as the linear size of the domain becomes larger than the mean free path . Upon increasing the size of the region a peak around appears due to bacteria that scatter close to the boundary, reorient and exit. The mix of these two types of trajectories gives rise to the observed two-peak structure. Differently for the triangle no asymptote is present in the for large , therefore only a peak at progressively appears. These results show that depends strongly on the random walk properties (as the mean free path), and on the domain features (shape and size). Differently the mean values and depend only on the surface to perimeter ratio of the domain as expressed by Eq. (4). Experimental values of are shown Fig. 3(a) for all shapes and sizes. We find an excellent agreement with theory using the same value that was used previously to predict the experimental values of as a function of the number of obstacles (see Fig. 1(c)). This value of has also been used to calculate according to Eq. (5) which captures quantitatively well the experimental data as shown in Fig. 3(b).
In conclusion, we have shown that bacterial random walks inside complex and crowded microstructures do obey a general invariance property that constraints the mean value of the path length to a simple and predictable value uniquely determined by the volume to surface ratio of the structure. More interestingly the mean residence time is also invariant as long as the volume to surface ratio remains constant. In a counterintuitive way, a greater number of obstacles does not increase the average residence time, but shortens it by decreasing the total accessible volume. The robustness of our results opens the way to different application perspectives as for example using bacteria to gather information about the internal structure of natural microenvironments. Alternatively, any significant deviation of measured residence times from the predicted value may signal the presence of physical (e.g. adhesion) and biological (e.g. taxis) mechanisms breaking the uniformity and isotropy of random walks.
The microchamber structures were fabricated with a custom built two-photon polymerization setup [vizsnyiczai2017light] from SU-8 photoresist (MicroChem Corp). A single fabrication focus was used with 8 mW laser power and 100 scanning speed. After the laser fabrication scan the SU-8 photoresist sample was baked at 100 C for 7 minutes, then developed by its standard developer solvent and finally rinsed in a 1:1 mixture of water and ethanol. Strong adhesion of the microchamber structures to the carrier coverglass was ensured by a layer of OmniCoat adhesion promoter (MicroChem Corp).
Epifluorescence imaging were performed on an inverted optical microscope (Nikon TE-2000U) equipped with a 60 (NA=1.27) water immersion objective and a high-sensitivity CMOS camera (Hamamatsu Orca Flash 4.0).
The E. coli strain used is the HCB437[Wolfe1987], a smoooth-swimmer, transformed by a plasmid expressing the red fluorescent protein mRFP1 under the control of the lacI inducible promoter (BioBricks, BBa_J04450 coding device inserted in pSB1C3 plasmid backbone, iGEM Catalogue). Cells were grown overnight in 10 mL of LB supplemented with kanamycin (30 ) and chloramphenicol (20 ) in a shaking incubator at 33C and 200 rpm. In the morning 50 L of the saturated culture was diluted (1:100) into 5 mL of tryptone broth supplemented with antibiotics and incubated in the same condition for 4 hours (until an OD 0.2). The production of mRFP1 was induced by adding 1 mM IPTG, and the cultures were grown for 2 further hours until exponential phase (OD 0.6-0.8). Cells were collected and washed three times by centrifugation (1500 rcf, 5’) in motility buffer (MB: 0.1 mM EDTA, 10 mM phosphate buffer, 1 mM glucose and 0.02%Tween20).
We simulate bacterial trajectories as straight runs intercalated by random reorientations (run and tumble dynamics) that mimic collisions with obstacles. Run lengths are exponentially distributed with a mean free path . The obstacle density is fixed to the experimental value . The obstacle cross section is evaluated as the average cross section of a randomly oriented line with length m, i.e. . Assuming that an elongated particle fully aligns with a line-shaped obstacle, collisions will produce angular deflections that are only determined by the obstacle orientation and restricted to the interval . Weighting each outgoing direction with the cross section of the correspondingly tilted obstacle we obtain the distribution of deflection angles for and zero elsewhere. We also account for a small reduction in that could be caused by hydrodynamic interactions, causing particles to curve around the obstacle edges [sipos], or by the fact that reorientation during collision takes a finite time [prx], while the obstacle has finite length. The total deflection angle is then set to , where is set to to fit the histograms in Fig. 2(b).
The codes that support the findings of this study are available from the corresponding authors upon reasonable request.
The research leading to these results has received funding from the European Research Council under the European Union’s Seventh Framework Programme (FP7/ 2007–2013)/ERC Grant Agreement No. 307940. S.G. acknowledges support from Institut Universitaire de France. R.S. acknowledges funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No. 800487.
The data that support the plots within this paper and other findings of this study are available from the corresponding authors upon reasonable request.
The authors declare no competing financial interests.
The corresponding author is responsible for submitting a competing financial interests statement on behalf of all authors of the paper. This statement must be included in the submitted article file.