Skip to main content
Nature Communications logoLink to Nature Communications
. 2024 Nov 1;15:9443. doi: 10.1038/s41467-024-53546-1

Optogenetic patterning generates multi-strain biofilms with spatially distributed antibiotic resistance

Xiaofan Jin 1,2,, Ingmar H Riedel-Kruse 3,
PMCID: PMC11530673  PMID: 39487123

Abstract

Spatial organization of microbes in biofilms enables crucial community function such as division of labor. However, quantitative understanding of such emergent community properties remains limited due to a scarcity of tools for patterning heterogeneous biofilms. Here we develop a synthetic optogenetic toolkit ‘Multipattern Biofilm Lithography’ for rational engineering and orthogonal patterning of multi-strain biofilms, inspired by successive adhesion and phenotypic differentiation in natural biofilms. We apply this toolkit to profile the growth dynamics of heterogeneous biofilm communities, and observe the emergence of spatially modulated commensal relationships due to shared antibiotic protection against the beta-lactam ampicillin. Supported by biophysical modeling, these results yield in-vivo measurements of key parameters, e.g., molecular beta-lactamase production per cell and length scale of antibiotic zone of protection. Our toolbox and associated findings provide quantitative insights into the spatial organization and distributed antibiotic protection within biofilms, with direct implications for future biofilm research and engineering.

Subject terms: Biofilms, Synthetic biology, Computational biophysics, Optogenetics


In natural biofilm communities, bacterial spatial organization increases functional complexity. Here, authors present a synthetic biofilm toolkit that patterns distinct cell types with arbitrary spatial organization, and demonstrate how this organization can enable sharing of antibiotic protection.

Introduction

Bacterial biofilms are spatially structured communities of surface-adherent microbes1,2 that have a well-established clinical and scientific relevance, for instance, biofilm bacteria have increased antibiotic tolerance compared to their planktonic counterparts and are associated with chronic infections3,4. Spatial biofilm organization modulates the ecological interactions between constituent strains, leading to complex systems-level behavior such as competition and cooperation1,2,59. These properties make biofilms a promising target for bioengineering applications such as consortia-based chemical synthesis, bioremediation, and energy conversion5,1016. Natural biofilm communities use two main processes to generate spatial heterogeneity, i.e., through sequential bacterial deposition2 and through phenotypic differentiation17. In contrast, we currently lack analogous engineering tools to achieve such spatial patterning in synthetic multi-strain biofilms with similar higher-order complexity as in natural biofilms1822. Such tools would empower research into natural biofilms such as identifying mechanisms underlying distribution of labor or ecological cooperation in biofilms, as well as enable practical biofilm applications such as smart biomaterials and distributed consortia-based biosynthesis16,2327.

Here, we present a toolkit—‘Multipattern Biofilm Lithography’ (MBL)—that recapitulates the type of processes that natural biofilms use to generate spatial heterogeneity within their communities (Figs. 1, 2). This toolkit extends our previous work on biofilm patterning—‘Biofilm Lithography’19—using optogenetically expressing adhesive molecules to the bacterial surface, which allows patterns to be controlled at high resolution by photo-masked optical illumination. Related concepts have been developed by applying different adhesive molecules and optogenetic systems to generate mixed biofilm communities using multiple wavelengths of light with optical spatial control around millimeter resolution18,21,2830. MBL produces patterned biofilms (i) by sequential depositing strains, (ii) by differentiating previously deposited strains, and (iii) by combining (i) and (ii)—all while using just a single wavelength of light. This toolkit is compatible with previously described photomasking approaches19 to enable straightforward, orthogonal patterning of heterogeneous biofilm communities at sub-100 μm length scales.

Fig. 1. Orthogonal multi-strain biofilm patterning was achieved via sequential optogenetic cell deposition.

Fig. 1

a Schematic of sequential patterning protocol: First, an 'initial colonizer' RFP+ (IC-RFP) strain carrying optogenetic pDawn-Ag43 was patterned via illumination, then washed out, followed by introduction and illumination of a 'secondary successor' GFP+ (SS-GFP) strain carrying pDawn-Ag43+DHFR. DHFR or dihydrofolate reductase confers resistance to trimethoprim and is added to prevent the over-growth of IC-RFP in non-illuminated regions. b Confocal image of representative results from (a) demonstrated orthogonal patterning of two successive strains in distinct regions. Red and green dashed regions: illuminated regions targeting IC-RFP and SS-GFP strains, respectively; G, R, GR, and N—the expected presence of GFP+, RFP+, both, and no fluorescence, respectively. XZ and YZ slices are shown below and to the right of the main image, with two slice locations marked in sky blue and yellow, respectively. Scale bar 100 μm. c Quantification of fluorescent signal confirmed orthogonality of IC-RFP and SS-GFP patterning: strong red fluorescence is localized to R and GR regions, strong green fluorescence is localized to G and GR regions, and bacterial biomass measured using Hoechst staining is present in all regions except for the unpatterned N region. Fluorescence is normalized to GR region values, n = 3 IC-RFP + SS-GFP co-cultured biofilms. p-value annotation for two-sided paired t-tests: 0.01 < p ≤ 0.05, ⋆⋆0.001 < p ≤ 0.01, ⋆⋆⋆p ≤ 0.001. RFP channel p-values: pR−vs−G = 0.011, pGR−vs−G = 0.006, pR−vs−N = 0.010, pGR−vs−N = 0.004. GFP channel p-values: pGR−vs−R = 0.003, pR−vs−G = 0.001, pG−vs−N = 0.001, pGR−vs−N = 0.005. d Z-height analysis of biofilm taken in the GR, R, G, and N regions indicated that biofilms approach a thickness of 150 μm, with an upper fluorescent layer consisting of GFP+ and RFP+ cells that rests on top of non-fluorescent biomass (limited oxygen required for GFP and RFP maturation) marked by Hoechst staining. Fluorescence is normalized to maximum GR region values. Data are presented as mean values ± 95% CI, n = 3 IC-RFP + SS-GFP co-cultured biofilms.

Fig. 2. Heterogeneous biofilm patterning was achieved via optogenetic deposition followed by optogenetic differentiation.

Fig. 2

a Schematic of differentiation patterning protocol: First, the differentiation strain (DS-mRuby2) was deposited and washed with PBS as before (Fig. 1). Then, culture medium with AHL and ampicillin (growth inhibitor) was added. AHL acts as a secondary chemical switch, allowing light-regulated expression of a target gene (in this case, mRuby2 red fluorescent protein) driven by the pLux promoter. Biofilm regions that were illuminated in this second step produce LuxR. Non-illuminated regions remained non-fluorescent. b Confocal image of differentiated patterned biofilm; dashed blue and red regions indicate the illumination zone of the initial patterning step and subsequent differentiation step, respectively. Results indicated that the surface can be independently patterned into distinct regions of biofilm with high mRuby2-red fluorescence (RB), biofilm with low mRuby2-red fluorescence (B), and no biofilm at all (N). Scale bar 100 μm. c Quantification of fluorescent signal from (b) confirms orthogonal patterning between initial patterning and subsequent differentiation steps: strongest red fluorescence was localized to (RB) region, while Hoechst signal was consistently present in both (B) and (RB) regions but absent in (N), n = 3 DS-mRuby2 differentiated biofilms. p-value annotation for two-sided paired t-tests: 0.01 < p ≤ 0.05, ⋆⋆0.001 < p ≤ 0.01, ⋆⋆⋆p ≤ 0.001. RFP channel p-values: pRB−vs−B = 0.022, pRB−vs−N = 0.007. Hoescht channel p-values: pB−vs−N = 0.002, pRB−vs−N = 0.001. d The two constructs of this toolkit (Figs. 1a, 2a) are modular and were combined to produce and pattern biofilms with three distinct phenotypes, i.e., generating undifferentiated DS-mRuby2 (low mRuby2-red fluorescence horizontal stripe minus central square), differentiated DS-mRuby2 (high mRuby2-red fluorescence central square), and SS-GFP (GFP+ circular ring); RFP, GFP, Hoechst channels shown top, middle, and bottom left respectively, three-channel overlay shown on right, all scale bars 100 μm. Experiment was repeated independently three times with similar results.

As a demonstration of its practical utility for biofilm research and engineering, we apply this toolkit to explore the nature of spatial microbial interactions during growth and antibiotic exposure (Figs. 3, 4). Earlier work has indicated that resistance to beta-lactams—conferred by expression of beta-lactamase (bla) enzyme—can extend beyond beta-lactamase-producing cells due to diffusion of enzyme and biomass3138. While associated biophysical models have been proposed39, quantitative characterization has remained challenging due to a lack of experimental platforms. Using MBL, we generate patterned biofilms with spatially heterogeneous beta-lactam resistance and quantify community growth dynamics across space, time, and beta-lactam concentration. In conjunction with computational modeling and a biophysical parameter search, this approach enables a full quantitative characterization of cooperative interactions in our synthetic communities based on distributed beta-lactam protection.

Fig. 3. Spatial tracking and biophysical modeling of patterned biofilm enabled quantitative characterization of competitive inter-strain growth dynamics.

Fig. 3

a Schematic of a biofilm growth model including red and green biomass representing IC-RFP and SS-GFP strains, respectively, with growth and diffusive expansion modulated by competition for limited nutrient and surface area. b Image of initial biofilm with a white dashed box highlighting the region where the growth shift of SS-GFP biofilm (toward the right) is tracked. Vertical axis highlights the position of SS-GFP biofilm relative to the IC-RFP biofilm boundary (dotted red line), with dark and light green triangles, respectively, highlighting −150 and +400 μm positions. Horizontal axis highlights the position of IC-RFP biofilm relative to SS-GFP biofilm boundary (dotted green line), with dark and light red triangles, respectively, highlighting −150 and +400 μm positions. Scale bar 100 μm. Experiment was repeated independently 3 times with similar results. c Tracking SS-GFP biofilm growth over time (in the region highlighted by the white dashed box in b) reveals outward expansion of biofilm front; expansion was more pronounced outside the IC-RFP biofilm boundary (positions > 0). d Automated tracking of moving biofilm front for quantifying biofilm growth based on shifts in the plotted fluorescence profiles; example shown for position +400 μm from the IC-RFP biofilm boundary, marked by light green triangle in (b), for 0 and 10 h time points; dashed curves correspond to logistic function fit (Eq. (1)), gray and green vertical bars indicate extent of the expanding biofilm front inferred from fits at 0 and 10 h, respectively. e Experimental quantification SS-GFP biofilm expansion at inner and outer positions (dark and light green points corresponding to −150 and +400 μm relative to the IC-RFP biofilm boundary, respectively) confirmed that growth was slower in the inner position, where direct competition occurred with the opposing IC-RFP strain. Experimental results (n = 3 IC-RFP + SS-GFP co-cultured biofilms) were corroborated by numerical predictions of the biophysical model (solid lines). f Experimental quantification of IC-RFP biofilm expansion at inner and outer positions (dark and light red points corresponding to −150 and +400 μm relative to the SS-GFP biofilm boundary, respectively) showed that growth is slower in the inner position, where direct competition occurred with the opposing SS-GFP strain. Experimental results (n = 3 IC-RFP + SS-GFP co-cultured biofilms) were corroborated by numerical predictions of the biophysical model (solid lines).

Fig. 4. Spatial tracking and biophysical modeling of patterned biofilm under antibiotic exposure revealed conditions for cooperation and a zone of protection.

Fig. 4

a Biophysical biofilm growth model (Fig. 3a) was extended with additional inhibition by beta-lactam antibiotics and degradation of these antibiotics by beta-lactamase that was secreted by resistant green biomass representing ampR SS-GFP biofilm, which led to a zone of protection for otherwise susceptible red biomass (representing AmpS IC-RFP biofilm). b–e Experimental biofilm growth results for the quantification of growth extent across varying antibiotic concentrations for specific spatial positions (b, d) and along the spatial axis at the 8 h time point for specific antibiotic concentration (c, e). Experimental results (n = 3 IC-RFP + SS-GFP co-cultured biofilms) were corroborated by numerical predictions of the biophysical model (solid lines). b Growth of susceptible strain (IC-RFP) decreased with increasing ampicillin antibiotic concentration, and which was noticeably steeper further away from SS-GFP resistant cells (0 vs. 400 μm). c Susceptible strain (IC-RFP) grew better when positioned far away from resistant strain (SS-GFP; boundary indicated with green dotted line) when no ampicillin was present (0 mg/mL); however, at moderate ampicillin concentrations (1 mg/mL), susceptible strain grew faster near resistant cells indicating a zone of protection (yellow shading); no growth of susceptible strain was observed at any position at higher concentrations (10 mg/mL). d Growth of resistant cells (SS-GFP) only decreased at high ampicillin concentrations (10 mg/mL); at moderate ampicillin concentrations (0.1–1 mg/mL), growth actually increased compared to the no-ampicillin case due to reduced competition from nearby susceptible cells. e Growth of resistant cells (SS-GFP) was consistently greater further away from competing susceptible cells (IC-RFP; boundary indicated with red dotted line as in Fig. 3b). f Parameter search using numerical simulations of the antibiotic-extended biophysical model compared against discrepancy with experimental observations generated estimates of media-to-biofilm ampicillin equilibration rate constant (keq) and molecular production rate pbla of beta-lactamase by resistant SS-GFP cells. Optimal values are denoted by a yellow star.

Results

Successive bacterial deposition enables orthogonal control of heterogeneous spatially patterned biofilms

To achieve orthogonal patterning of a heterogeneous two-strain biofilm community, we developed an iterative two-round patterning protocol wherein an initial colonizer strain of E. coli MG1655 tagged with mRFP40 (IC-RFP) and a secondary successor strain tagged with sfGFP41 (SS-GFP) are arranged independently during successive rounds of patterning (Fig. 1a). In the first step, the IC-RFP strain harboring the pDawn-Ag43 construct was cultured overnight on a well plate using blue-light illumination to generate a patterned single-strain biofilm. Remaining planktonic cells were then rinsed away, and the well plate was inoculated with SS-GFP strain harboring a pDawn-Ag43+DHFR construct. In addition to Ag43 adhesin, the SS-GFP strain was additionally engineered to express dihydrofolate reductase (DHFR) when illuminated, conferring resistance to the growth inhibitor trimethoprim (TMP)42. TMP was added to the culture medium for the second patterning step of the SS-GFP strain, during which the second strain was cultured overnight with a new optical illumination pattern, yielding a two-strain biofilm with orthogonal patterning control between the IC-RFP and SS-GFP strains. The addition of TMP, along with the light-regulated expression of DHFR, solved two key challenges for orthogonal patterning: (i) preventing overgrowth of the IC-RFP strain during this step, and (ii) further ensuring that the SS-GFP strain was patterned only in illuminated regions.

To quantify the orthogonality and efficiency of patterning for our protocol, we imaged the patterned biofilms using confocal as well as widefield fluorescent microscopy (Fig. 1b, Supplementary Note 1). Strains were patterned in an intersecting cross pattern with IC-RFP cells in a horizontal stripe and SS-GFP cells in a vertical stripe. We then compared the average pixel fluorescence values in the different surface regions based on illumination conditions. This revealed high levels of red channel fluorescence in the region where only the IC-RFP strain was directed (R) as well as the region where IC-RFP and SS-GFP were both directed (GR). Similarly, we observed high levels of green channel fluorescence in the (G) and (GR) regions, with low fluorescence in both color channels where neither strain was directed (N). We observed greater biomass (i.e., Hoechst staining intensity) in G region compared to R region (Fig. 1d), which we speculated was due to increased the patterning efficiency of SS-GFP strain as growth (including that of planktonic cells) was minimized in unilluminated regions due to presence of TMP. These results confirmed that the successive biofilm patterning protocol is capable of generating orthogonally patterned dual-strain biofilms (Fig. 1c, Supplementary Note 1).

In the vertical Z-dimension, confocal microscopy revealed that the co-cultured biofilms achieved a thickness of approximately 150 μm based on Hoechst staining43 of biomass (Fig. 1d). The RFP and GFP signals demarcating the IC-RFP and SS-GFP strains respectively were observed primarily in the upper half of the biofilm, consistent with an oxygen gradient preventing fluorescent protein maturation in deeper regions (Fig. 1d). This lack of GFP and RFP signal in anaerobic layers largely prevented the characterization of the degree of vertical mixing or layering between the two strains in the Z-dimension, but also indicated that our approach is capable of engineering biofilms with anaerobic regions, which has many practical applications16,25. To quantify the degree of mixing between RFP and GFP cells in the XY-dimensions, we applied spatial cross-correlation analysis between red and green fluorescent channels, which revealed that populations of each strain were interspersed, with an exclusionary distance on the order of 20 μm (Supplementary Note 2), a length scale consistent with microcolony size in natural biofilms44. Collectively, these results confirmed that our successive patterning protocol can generate 2-strain biofilms that are orthogonally patterned with sub-100 μm spatial resolution across a 2D surface, with thickness resembling that of natural biofilms45.

Chemo-optogenetic circuit enables spatially regulated biofilm differentiation

In addition to successive colonization, natural biofilms can also develop heterogeneity through spatially regulated differentiation17. Inspired by these natural capabilities, we developed an extended optogenetic circuit that enables (i) light-regulated initial patterning as well as (ii) subsequent differentiation of biofilms, applying a two-step illumination process that uses a chemical signal to instruct bacteria to switch between the two steps. This augmented synthetic circuit—pDawn-Ag43+LuxR/pLux-mRuby2—was engineered to have pDawn drive expression of Ag43 as well as expression of the (non-light sensitive) transcriptional regulator LuxR. LuxR drives expression from the pLux promoter in the presence of the chemical signal 3-oxohexanoyl-homoserine lactone (AHL), which drives the expression of the differentiation reporter protein mRuby246.

This extended chemo-optogenetic circuit allowed us to realize a two-step adhesion/differentiation patterning protocol in bacteria utilizing two different illumination patterns (Fig. 2a). The differentiation circuit was transformed into E. coli MG1655 to generate a differentiation strain (DS-mRuby2). DS-mRuby2 was first cultured overnight to generate a patterned, non-fluorescent biofilm by driving Ag43 expression and surface adhesion in illuminated regions. This initial adhesion step occurred in the absence of AHL, meaning mRuby2 expression remained off, given the requirement for AHL to drive the pLux promoter47.

Subsequently, the remaining planktonic cells were rinsed away, and a new growth medium containing AHL and ampicillin was introduced to the sample. The role of ampicillin was to prevent biofilm growth during differentiation. During this differentiation step, only a subregion within the illuminated region from the initial adhesion step was chosen to remain illuminated. Within this subregion, expression of luxR via pDawn in conjunction with presence of AHL was designed to drive up-regulation of the fluorescent reporter mRuby246 via the pLux promoter, which effectively encoded an AND gate requiring both optical stimulation (to generate LuxR) and AHL (Fig. 2a). To minimize cross-signaling between the initial adhesion illumination pattern and the subsequent differentiation illumination pattern, we used LVA-tagging48 of the LuxR transcriptional regulator gene to promote rapid protein turnover such that LuxR produced by pDawn activation in the initial patterning step is largely degraded by the differentiation step. Furthermore, TMP was added to the culture medium for the second patterning (i.e., differentiation) step to minimize growth.

The experimental results validated this protocol: we patterned DS-mRuby2 biofilm along a horizontal stripe and then illuminated only a central square within this biofilm stripe for the subsequent mRuby2 differentiation pattern (Fig. 2b). Using confocal microscopy with Hoechst-stained biofilms, we quantified both the total biomass (using Hoechst) as well as RFP fluorescent signals (Fig. 2c) in three distinct regions: the central square where we expected red fluorescent biofilm (RB), the rest of the stripe where we expected non-fluorescent biofilm (B), and finally outside the stripe where no biofilm was patterned (N). Quantification of fluorescent signal indicated significant up-regulation of mRuby2 expression in (RB) region relative to (B) and (N) regions, though leaky expression was evident in the (B) region. Meanwhile Hoechst signal was consistently present in both (R) and (RB) regions, and absent in (N) regions as expected. While we observed significant up-regulation of mRuby2 expression in RB relative to B regions, we did also detect leaky expression of the mRuby2 in B regions, which we speculated was exacerbated by LuxR leftover from the initial patterning step that had not yet been degraded. These results confirmed that initial biofilm patterning and subsequent gene expression differentiation were spatially orthogonal.

Spatially patterned biofilms via combined sequential deposition and differentiation

The two methods in our toolkit—successive adhesion (Fig. 1a) and differentiation (Fig. 2a)—were designed to be complementary to each other and could thus be combined. We demonstrated this by generating biofilms with two distinct strains, where one was further subdifferentiated into two distinct phenotypes (Fig. 2d). We used DS-mRuby2 as the initial colonizer strain, patterning and differentiating this strain using the two-step differentiation protocol as before. We then introduced SS-GFP strain into the culture, and patterned SS-GFP using a third illumination step. Using confocal microscopy, we confirmed the formation of a biofilm population with three distinct phenotypes (Fig. 2d, Supplementary Note 3): (i) undifferentiated DS-mRuby2 (low red-mRuby2 fluorescence, Hoechst-stain only), (ii) differentiated DS-mRuby2 (high red-mRuby2 fluorescence), and (iii) SS-GFP (green fluorescent). These findings demonstrated the ability of MBL to recapitulate, in a spatially controlled manner, the structure formation processes of differentiation and succession as found in natural biofilms2,17.

Spatial growth patterns of synthetic biofilm communities reflect ecological competition

As a practical use case, we combined our synthetic toolkit with biophysical modeling to quantitatively investigate how spatial heterogeneity modulates biofilm development due to bacterial growth, diffusive expansion, and inter-strain ecological interactions (Fig. 3a). Using our successive patterning approach, we first generated 2-strain biofilms (IC-RFP followed by SS-GFP) in an intersecting pattern in the absence of any antibiotics as described (Fig. 1b), followed by a PBS rinse to remove extraneous cells. Next, we introduced fresh growth medium and subsequently tracked biofilm growth using longitudinal confocal microscopy imaging over a 36 h time course (see the “Methods” section) at 2 h intervals, or alternatively with a 72 h endpoint measurement using wide-field fluorescent microscopy (Supplementary Note 1).

We observed a clear outward shift of the biofilm growth front at the boundary between patterned and unpatterned regions for both IC-RFP and SS-GFP biofilms (Fig. 3b, c, Supplementary Note 4). No such expansion was observed when refreshed medium was substituted with a PBS control (Supplementary Note 5), indicating that this phenomenon was indeed due to growth. We quantified this shift using an automated curve fitting procedure (Fig. 3d, see the “Methods” subsection “Longitudinal tracking of biofilm expansion”) and confirmed a pronounced biofilm growth front expansion (Fig. 3c) during the first 10 h of the confocal timecourse. Past 10 h, we observed increasing levels of background fluorescence generated by planktonic cells, which interfered with confocal imaging of the underlying biofilm in many samples—thus confocal timepoint analyses were limited to the first 10 h. The 72 h endpoint measurement with wide-field fluorescent microscopy also indicated a clear increase in fluorescence of both IC-RFP and SS-GFP biofilms, providing further evidence of the viability of biofilm communities patterned using our toolkit (Supplementary Note 1).

Comparing growth fronts at different locations, we found that the expansion of SS-GFP and IC-RFP biofilms appeared diminished in the (GR) region where both SS-GFP and IC-RFP strains are co-patterned, which indicated a spatially modulated competition between the two strains (Fig. 3c, Supplementary Note 4). To characterize this spatial effect, we quantitatively tracked the biofilm front shift at two distinct spatial positions along the boundary (Fig. 3c): (i) where the two strains overlap, (inner, −150 μm), and (ii) away from the other strain (outer, +400 μm). This represented a measure of the biofilm growth as a function of proximity to the other strain, i.e., closest in the inner position and farthest in the outer position.

While we observed growth at both positions, larger shifts occurred at the +400 μm position for both strains (p = 1.4 × 10−3 and 2.4 × 10−6 for RFP+ and GFP+ strains, respectively, n = 6). Shifts at the +400 μm position were ~40 μm within the first 10 h, roughly double that of the −150 μm position (Fig. 3c, Supplementary Note 4), where biofilm was expanding into an unclaimed surface (Fig. 3e, f). As a control, we also observed that biofilm expansion is greater at the boundary of single-strain biofilms than dual strain communities, in particular that of single-strain SS-GFP biofilms (Supplementary Note 6).

To provide a theoretical frame of reference for our experimental observations, we developed a biophysical biofilm growth model (see the “Methods” subsection “Biophysical modeling”) that simulated growth in multi-strain biofilms (Fig. 3a) based on a 2D reaction-diffusion grid framework49. IC-RFP and SS-GFP strains were abstracted as red and green biomass, respectively. Growth of biomass was modeled using Monod kinetics50 to reflect shared nutrient limitation common to both strains, with biofilm expansion modeled using an effective biomass ‘diffusivity’ parameter Dbm. To account for the surface-adherent biofilm mode of growth, we further constrained growth based on a locally limited surface area carrying capacity bmax, reflecting competition for the unclaimed surface in biofilms. We then performed numerical simulations of this model using initial conditions that match our spatial patterning profile (i.e., intersecting red and green biomass stripes recapitulating experimental SS-GFP and IC-RFP stripes). All model parameters were pre-determined using biophysically realistic estimates (Supplementary Note 7) with the exception of biomass diffusivity Dbm. We determined this diffusivity from our experimental data using parameter search to minimize discrepancy against experimental data. We obtained a value of Dbm of 0.149 μm2/s (0.95% CI range 0.132–0.164 μm2/s), roughly 3 orders of magnitude less than the effective diffusivity of motile planktonic bacteria51 (see the “Methods” subsection “Biophysical modeling”, Supplementary Note 8). It should be noted that bacterial diffusivity Dbm in our case solely exists as an empirical parameter used to describe observed expansion of the biofilm front, rather than a parameter with a well-described mechanistic underpinning. The ability of our biophysical model to capture behavior observed in experimental data suggests that our synthetic biofilm communities exhibit increased competition due to limited resources (e.g., nutrients, unused surface) in a manner modulated by spatial proximity, demonstrating the utility of MBL in complementing biophysical modeling to produce a quantitative characterization of how spatial structure modulates biofilm ecology.

Spatial patterning modulates cooperative sharing of antibiotic protection in biofilm communities

As an additional practical use case, we extended our combined biofilm modeling/synthetic patterning approach to investigate how spatial community dynamics are affected by antibiotic exposure (Fig. 4a), a particularly relevant topic for biofilms given their well-known resistance against many antimicrobials4. We focus on ampicillin, a beta-lactam antibiotic, due to the known ability of beta-lactamase-producing cells to protect spatially proximal cells3138. We engineered a two-strain community as before but now leveraged the fact that the IC-RFP and SS-GFP strains have different antibiotic resistance markers as a consequence of their associated respective plasmid backbones, such that the SS-GFP strain was resistant to ampicillin ampR due to constitutive expression of beta-lactamase gene, while the IC-RFP strain was sensitive ampS. Previous work on beta-lactamase has demonstrated that its protective effect in degrading beta-lactams such as ampicillin can extend beyond the producing cell to otherwise beta-lactam-susceptible neighbors (e.g., satellite colonies with ampicillin selection) in a spatially modulated manner3138. Therefore, by introducing ampicillin into the culture medium, we could effectively tune community inter-strain ecology, and we hypothesized that a spatially modulated cooperative mechanism could emerge by which antibiotic protection was shared in co-culture biofilms due to the resistant cells shielding the colocalized susceptible cells.

To test this hypothesis, we performed experiments where we tracked the growth of patterned co-culture biofilms at various concentrations of ampicillin (Fig. 4a, b). We observed, as expected, that overall growth of the susceptible IC-RFP strain decreased as more ampicillin was added to the culture medium (Fig. 4b). Notably, this inhibitive drop-off was steeper in +400 μm spatial positions where IC-RFP biofilm was far from SS-GFP resistant cells (Fig. 4b), and significantly greater still in single-strain susceptible biofilm where resistant cells were not present (Supplementary Note 6). This was indicative of a spatially modulated cooperative relationship where beta-lactamase protection by SS-GFP cells conferred protection to nearby IC-RFP non-resistant biofilms. At low ampicillin concentrations, both IC-RFP and SS-GFP strains consistently exhibited maximal growth in spatial locations away from their counterpart strain, resembling the competitive dynamics seen during growth without ampicillin (Fig. 4c, e). We observed a striking transition at around 0.3–1 mg/mL ampicillin, where the growth of the susceptible IC-RFP strain was higher at the patterning boundary of the SS-GFP strain (position = 0 μm) relative to the +400 μm position (Fig. 4b, c). We did not observe cooperative effects in control experiments where ampicillin antibiotic was substituted for kanamycin, whose aminoglycoside kinase resistance mechanism cannot be shared between cells52 (Supplementary Note 9). Overall, these results provided evidence for a cooperative relationship modulated by both antibiotic concentration and spatial proximity and where IC-RFP susceptible biofilms may derive a benefit from the presence of nearby SS-GFP resistant cells.

Focusing on the response of the SS-GFP-resistant biofilm, we observed that these cells are capable of growing at ampicillin concentration up to 3 mg/mL without significant growth inhibition relative to no-antibiotic condition (Fig. 4d)—clear inhibitive effects are observed at 10mg/mL ampicillin (Fig. 4d, e). Notably, for the SS-GFP biofilm adjacent to IC-RFP biofilms (boundary position), the addition of a low 0.1 mg/mL concentration of ampicillin actually improved growth relative to no ampicillin condition, suggesting that in this context, SS-GFP cells took advantage of reduced competition with IC-RFP cells which were inhibited by ampicillin. Similarly, we observed with endpoint widefield fluorescence measurements of RFP and GFP levels in the GR biofilm region (both strains present) that the addition of low-to-moderate ampicillin concentrations (e.g., 0.1–3 mg/mL) actually increased SS-GFP signal (Supplementary Note 1). These results indicated that by inhibiting the growth of susceptible IC-RFP cells, the addition of increasing ampicillin could remarkably also serve to improve the growth of resistant SS-GFP biofilm by reducing its competitors. Altogether our findings pointed to an interplay of both cooperative (SS-GFP cells protected nearby IC-RFP cells) and competitive (limited nutrients and surface area) dynamics in our two-strain biofilms, modulated by both environmental factors (e.g., antibiotic concentration/type) and spatial structure.

To provide a unified framework for understanding these experimental observations, we extended our biophysical model (Fig. 4a, see the “Methods” subsection “Biophysical modeling”, Supplementary Note 7). The extended model still used abstract red and green biomass terms to represent IC-RFP and SS-GFP strains from our experiments and was augmented to include terms describing the concentration of ampicillin, and the biofilm concentration of beta-lactamase, which was produced by the green strain at a production rate pbla to reflect the beta-lactamase production in ampR SS-GFP cells. For simplicity, we assumed that the spread of beta-lactamase was driven by effective biomass diffusion (Dbm) of the SS-GFP strain. Beta-lactamase was modeled to promote the degradation of ampicillin in the biofilm using first-order enzyme kinetics53, with ampicillin equilibrating between the biofilm and surrounding culture medium at a rate keq, which defined the timescale required for ampicillin to penetrate into the biofilm. Different inherent ampicillin susceptibilities of the red and green biomass were modeled using Hill dynamics54, with growth rates for the green biomass modulated by a higher half-max Hill constant to reflect greater inherent resistance (see the “Methods” subsection “Biophysical modeling”). Moreover, the model accounted for the fact that green biomass produced beta-lactamase, which then degraded ampicillin in the biofilm and ultimately lowered the ampicillin concentration in the culture medium.

Model parameters were obtained from biophysically realistic measurements (Supplementary Note 7) with the exception of beta-lactamase production rate pbla and culture medium-to-biofilm equilibration rate of ampicillin keq. We were unable to identify estimates of these two parameters from existing literature, and instead left them as free parameters and estimated their values using a parameter search that minimized mean discrepancy to experimental data (Fig. 4f, see the “Methods” section, Supplementary Note 8). This yielded an estimate for pbla of 0.013 molecules/cell/s (0.95% CI range 0.008–0.014 molecules/cell/s) and an estimate of equilibration rate keq of 2.86 × 10−5 s−1 (0.95% CI range 1.72–3.12 × 10−5 s−1), corresponding to a time constant on the order of 10 h for our synthetic biofilm system. This estimate is within a reasonable range of earlier measurements made in biofilms in different species and contexts: previous work estimated the penetration of ampicillin and ciprofloxacin in Klebsiella pneumoniae biofilms using the membrane filter disk approach55, measuring 50% penetration at 40 and 120 min for ampicillin and ciprofloxacin respectively, corresponding to penetration time constants of 0.96 and 2.98 h, respectively assuming an exponential model. Consistent with the experimental results, the simulated biofilms also exhibited distributed antibiotic protection, with enhanced growth of susceptible red biomass when growing near resistant green biomass at 1 mg/mL ampicillin. This unification of community responses—across space, time and beta-lactam concentrations—in one in-silico model represents a full quantitative characterization of ecological relationships within the biofilm community, demonstrating the utility of our combined modeling and experimental observation approach enabled by MBL.

We also ran experimental controls where the biofilm community was subjected to kanamycin, with accompanying numerical simulations (Supplementary Note 9). Unlike with beta-lactamase, we expected from the literature that protection against kanamycin would not be shared from the resistant strain to the susceptible strain given that the mechanism of resistance (due to aminoglycoside hydrolase) works fully intracellularly56. In these experiments and simulations, we found that competitive effects were still observed between the two strains, but no (measurable) zone of protection was found, in agreement with expectations (Supplementary Note 9).

Discussion

We present ‘Multipattern Biofilm Lithography’ (MBL), a toolkit for heterogeneous spatial patterning of synthetic biofilms via optogenetics (Figs. 1, 2). This toolkit consists of two modules that recapitulated two key natural mechanisms of biofilm patterning: first, bacteria that colonized a surface were subsequently colonized by other strains or species in an orchestrated manner, resulting in a spatially regulated co-distribution of distinct bacterial strains2. Second, bacteria in already established biofilms differentiated into multiple distinct bacterial sub-phenotypes, which allowed biofilms to optimize cellular functions according to spatial location, such as having outer cells adopt a protective barrier-like phenotype and thereby guard more vulnerable cells in the biofilm interior17. In both modules, regulation with high spatial resolution was achieved using optogenetic constructs that were controlled by a single wavelength of light and a photomask.

Our toolkit enabled direct testing of biophysical models describing biofilm spatial ecology. We quantitatively characterized how antibiotic exposure affects the growth dynamics of heterogeneous dual-strain biofilms with differing resistance phenotypes to beta-lactam antibiotics (Figs. 3, 4). Here we identified a shift in the ecological relationship between antibiotic-resistant and susceptible cells in such biofilms when the beta-lactam ampicillin was added to the growth medium: at low or zero levels of ampicillin, competitive effects dominated as the strains compete for limited nutrient and surface area resources, with ampicillin providing a growth advantage to the resistant strain due to inhibition of its susceptible competitor. However, at an intermediate ampicillin concentration, the community ecology shifted towards cooperation, with the resistant strain providing protection against antibiotics for the susceptible cells that were in spatial proximity.

These experimental observations are in quantitative agreement with a biophysical model we constructed from first principles, using a reaction–diffusion framework to describe the growth of biofilm across the surface (Fig. 4). Together with experimental findings from MBL, this model generated a unified quantitative characterization of growth and distribution of antibiotic protection in a heterogeneously resistant biofilm community across space, time, and ampicillin concentration. By comparing numerical simulations with experimental data using parameter space search, we were furthermore able to produce measurements of previously undefined biophysical parameters, including the beta-lactamase production rate pbla of 0.013molecules/cell/s (0.95% CI range 0.008–0.014 molecules/cell/s) (Supplementary Note 8). This approach also estimated an effective biomass diffusion rate of 0.149 μm2/s (0.95% CI range 0.132–0.164 μm2/s), and the media-to-biofilm equilibration rate of ampicillin of 2.86 × 10−5 s−1 (0.95% CI range 1.72–3.12 × 10−5 s−1) corresponding to  ~10 h for ampicillin to effectively penetrate biofilm, which aligns reasonably with previous estimates using membrane filter disk approach (albeit in a different bacterial species and context)55. We re-emphasize that these quantitative estimates were derived using multi-variable parameter optimization of biophysical modeling to observed data rather than direct experimental measurement, and while they are biologically plausible, nevertheless should be interpreted with a dose of caution. These numbers corresponded to an estimate of the length scale of shared beta-lactam antibiotic protection on the order of 70 μm based on the diffusive relationship D ~ L2/t, which aligned with experimental observations (Fig. 4). We note that this estimate is specific to our synthetic biofilm system and would vary in other systems depending for instance on differences in the rate of antibiotic penetration. Overall, our work complemented recent findings by other groups that identified similar zones of protection in microbial communities consisting of resistant and susceptible strains, including protection of gut pathogens33,36,57 by now introducing a quantitative basis to this effect.

Our toolkit then significantly aids the engineering of key features relevant to natural biofilms and consequently to various applications5860. Specifically, the synthetic circuits control the development and growth of realistic multi-strain biofilms, going beyond the well-established control of exponential/planktonic growth1. This then also leads to realistic biofilm conditions inside the synthetic community, such as oxygen gradients, competition, and antibiotic resistance sharing.

Our testing of the genetic constructs has been limited to E. coli. Future work in different bacterial species would enable multispecies biofilms with more phylogenetically distinct strains1,61, and also extend to more complex communities beyond the 2–3 strains demonstrated here. This can be realized by combining with existing techniques for concurrently multiplexing biofilms using multiple light wavelengths21, thereby taking advantage of both concurrent and sequential adhesion/differentiation.

Concurrent patterning approaches may also enable communities with more similar strain physiology. Our current successive biofilm patterning protocol means that IC-GFP bacteria were patterned on a naive surface and stayed on the surface one day longer compared to SS-GFP bacteria which were patterned on a pre-colonized surface. Patterning of SS-GFP also occurred in the presence of TMP, with pDawn in SS-GFP additionally driving expression of DHFR. This increased the patterning efficiency of SS-GFP strain as growth (including that of planktonic cells) was minimized in unilluminated regions, funneling biomass to the illuminated regions—this was reflected in greater Hoechst staining intensity in G compared to R regions of the biofilm, as well as the observation that single-strain SS-GFP biofilms (where SS-GFP was patterned onto naive polystyrene) exhibited much more rapid growth than their single-strain IC-RFP biofilms (Supplementary Note 6). In sequential co-cultured biofilms, this increase was likely offset by the fact that SS-GFP bacteria were patterned on a pre-colonized (rather than naive) surface, resulting in similar observed growth between IC-RFP and SS-GFP biofilms (Fig. 3e, f).

More complex future systems may also combine optical signaling with chemical signaling, for instance, using quorum sensing genetic modules that generate AHL to control our differentiation circuit (instead of AHL supplied exogenously as in this work), thus incorporating certain members of the population that are able to natively synthesize AHL, and thus act as differentiation signal generators62,63. The use of oxygen-independent fluorescent reporters64 in place of RFP and GFP could also better illuminate spatial structure in anaerobic biofilm regions, a limitation of our current design, which prevented the characterization of spatial strain distribution in the Z-dimension.

On the computational side, more sophisticated modeling approaches, including agent-based biofilm models, will enhance predictive understanding of more complex ecological interactions such as metabolic cross-feeding, contact-dependent inhibition, division of labor, and antibiotic stress response65,66, as well as capture finer details of mechanism that have been abstracted away in our current simplified model. For instance, agent-based models could be used to capture biofilm spread more faithfully than our effective biomass diffusivity approach, incorporating distinct terms to account for passive and active motility (e.g., shoving vs. swarming)65,67. Additionally, while we have modeled beta-lactam antibiotic effects as a reduction in growth rate (thus preserving model simplicity with death rate modeled by constant first-order decay), in reality, the inhibitory effect of beta-lactams is known to be mediated via growth-rate dependent increase in death rate68,69—a mechanism which would require additional terms in the model to capture. Future models can also better reflect subtle differences between constituent strains—for instance, apart from antibiotic resistance, our current model simplistically considers IC-RFP and SS-GFP strains as identical. However, in our current sequential patterning approach, there were additional physiological differences between the IC-RFP and SS-GFP strains in the final patterned biofilms that resulted from their different patterning order and protocols, such as initial density differences between IC-RFP and SS-GFP biofilms across G, R, and GR regions that were not captured in the current simplified biophysical model.

Finally, studying synthetic biofilm systems under flow conditions in addition to static cultures is also of high relevance, as many natural biofilms experience shear stress due to flow that shapes their spatial structure70. These advances will ultimately lead to an improved understanding of the structure-function relationship in microbial biofilms, paving the way to platforms that rationally engineer structured, productive, and beneficial microbial consortia using synthetic biology10.

Methods

Plasmids and bacterial strains

All experiments were performed using E. coli MG1655 transformed with pDawn-Ag43 plasmid19 as a base chassis. For successive adhesion, MG1655+pDawn-Ag43 was additionally transformed with a plasmid encoding mRFP expression from a pLac promoter (Biobrick Bba_J04450_pSB4K5 from the iGem parts registry71) to generate the IC-RFP strain. Instead of Bba_J04450_pSB4K5, the SS-GFP strain was additionally transformed with a plasmid (pSuccessor) encoding superfolder-GFP (sfGFP)41 expression from a constitutive promoter along with DHFR expression from a λ promoter, and the λ promoter is in turn regulated by blue light via the pDawn machinery72 present on the pDawn-Ag43 plasmid. This pSuccessor plasmid also encodes for ampicillin resistance via the contained beta-lactamase gene. For adhesion followed by differentiation, MG1655+pDawn-Ag43 was additionally transformed with a plasmid (pDifferentiation) encoding mRuby2 driven by the lux promoter, as well as LuxR expression from a pLambda promoter, the pLambda promoter is in turn regulated by blue light via the pDawn machinery72 present on the pDawn-Ag43 plasmid. Table 1 lists all plasmids used in this work.

Table 1.

Plasmids used in this work (plasmids newly generated in this work can be found at https://www.addgene.org/Ingmar_Riedel-Kruse/)

Plasmid name Genes Antibiotic resistance marker Origin of replication Source
pDawn-Ag43 Ag43 regulated by pDawn transcriptional regulator specR colE1 19
Bba_J04450 (pSB4K5 backbone) mRFP driven by lac promoter kanR pSC101 71
pSuccessor sfGFP driven by constitutive promoter J23100 and DHFR driven by λ promoter ampR p15A This work (https://www.addgene.org/228391/)
pDifferentiation mRuby2 driven by pLux promoter and LuxR driven by λ promoter kanR p15A This work (https://www.addgene.org/228393/)

Protocol for successive biofilm patterning

IC-RFP was cultured to late log phase in LB broth under dark conditions (OD600 1.4, ~6 h with shaking at 37 °C after 1:1000 dilution of overnight culture). Culture medium was supplemented with antibiotics as appropriate (50 μg/mL for kanamycin and spectinomycin). This culture was then seeded onto non-tissue-culture treated polystyrene well plates at 1:100 dilution into M63 culture medium73 supplemented with 0.2%w/v glucose and 0.1%w/v casamino acids (henceforth referred to as M63). Well, plates containing the biofilm cultures were taped to the ceiling of a 37 °C incubator, with a film photomask taped directly under the well plate defining the illumination pattern. An Ivation Pro4 Wireless Pocket Projector (IVPJPRO4) was secured below the ceiling of the incubator, pointing upwards toward the well plate on the incubator ceiling19,74. The projector was connected via HDMI cable to a laptop through the side access port of the incubator, and Microsoft PowerPoint software was used to project blue light upward at the well plate with an intensity of 50 μW/cm2, modulated using an adjustable neutral density filter (K&F concept AMSKU0124) at the aperture of the projector and verified using a Newport optical power meter with UV–vis photodetector (Newport 840C/818-UV). Cultures were then allowed to grow overnight in this initial patterning phase. Culture medium was subsequently aspirated, and wells were gently washed twice with PBS.

During this initial patterning phase, SS-GFP was cultured to late log phase in LB broth under dark conditions (OD600 1.4, ~6 h with shaking at 37 °C after 1:1000 dilution of overnight culture). Culture medium was supplemented with antibiotics as appropriate (50 μg/mL for spectinomycin and 100 μg/mL for ampicillin). This SS-GFP strain culture was then seeded onto the culture plate containing IC-RFP biofilm (after aspirating PBS rinse) at 1:100 dilution into M63 culture medium supplemented with 0.2%w/v glucose, 0.1%w/v casamino acids and 10 μg/mL trimethoprim. Well plates containing the biofilm cultures were illuminated and cultured overnight as described above, using an orthogonal pattern to the IC-RFP biofilm pattern. The culture medium was subsequently aspirated, and wells were gently washed twice with PBS. Multipatterned biofilms were then ready for downstream imaging and/or culturing. Long-term endpoint characterization of biofilm growth was carried out by leaving patterned biofilms in M63 culture medium at room temperature for 3 days, followed by PBS rinse. The sample was then imaged under a Leica DMI6000B wide-field fluorescence microscope using LAS AF software, with separate channels for RFP and GFP.

Protocol for biofilm patterning followed by differentiation

E. coli strain containing pDawn-Ag43 and pDifferentiation (DS-mRuby2 strain) was cultured to late log phase in LB broth under dark conditions (OD600 1.4, ~6 h with shaking at 37 °C after 1:1000 dilution of overnight culture). Culture medium was supplemented with antibiotics as appropriate (50 μg/mL for kanamycin and spectinomycin). This culture was then seeded onto non-tissue-culture treated polystyrene well plates at 1:100 dilution into the M63 culture medium. Well plates containing the biofilm cultures illuminated and culture overnight as described above. Cultures were then allowed to grow overnight in this initial patterning phase. Culture medium was subsequently aspirated, and wells were gently washed twice with PBS, followed by the introduction of M63 culture medium supplemented with 0.2%w/v glucose, 0.1%w/v casamino acid, 1 μM 3-oxohexanoyl-homoserine lactone (AHL) and 10 μg/mL trimethoprim. Well plates containing the biofilm cultures were illuminated and cultured overnight again using an illumination pattern subset of the initial adhesion pattern. Culture medium was subsequently aspirated, and wells were gently washed twice with PBS. Differentiated biofilms were then ready for downstream imaging and/or culturing.

For heterogenous biofilms generated through a combination of differentiation and successive adhesion, the differentiation protocol described above was followed by addition of SS-GFP strain. This SS-GFP strain culture was then seeded onto the culture plate containing the differentiated biofilm at 1:100 dilution into M63 culture medium supplemented with 0.2%w/v glucose, 0.1%w/v casamino acids and 10 μg/mL trimethoprim. Well plates containing the biofilm cultures were illuminated and cultured overnight as described above, using an orthogonal pattern to the differentiated strain.

Longitudinal imaging of biofilm expansion

In addition to endpoint imaging of biofilm growth, we also used longitudinal confocal imaging to track biofilm growth of samples prepared using successive adhesion. Biofilms were cultured in M63 culture medium supplemented with 500 ng/mL Hoechst 34580 stain in 12-well plates, and imaged every 2 h for a 36 h timecourse using Zeiss LSM 880 Confocal Microscope using ZEN Microscopy Software, with a ×10 objective, in a heated (30 °C) microscopy chamber. Hoechst, GFP, and RFP signals were captured using excitation/emission wavelengths of 405/455, 488/530, and 561/626 nm, respectively. The imaging focused on an 850 by 850 μm region of interest where a vertical SS-GFP biofilm stripe intersected a horizontal IC-RFP biofilm stripe. Using one well per condition, replicates were obtained by imaging 3 distinct regions in each well/condition. 3D confocal drift correction was applied using FIJI’s Correct 3D Drift plugin75. Over the course of the time-lapse imaging, background fluorescence from newly grown planktonic cells increased, which eventually made this analysis method unreliable for some samples past the 10 h mark. Accordingly, we focused on the first 10 h of the timecourse in the analysis and used the extent to which the biofilm boundary has expanded after 8h of culture as a consistent benchmark measure of biofilm growth activity. At each given timepoint, for multiple positions along both the GFP and RFP biofilm boundaries, we used a logistic function to fit the fluorescent signal drop-off across the patterned-unpatterned boundary (Fig. 3d) and thus quantitatively characterized the extent of biofilm growth x0 over space and time in an automated manner. Fluorescent signal drop-off curve at a given position was generated by averaging a confocal fluorescent signal summed across Z-stacks, along a slice with a width of 80 μm centered around the position of interest. Curve fitting was implemented using scipy.optimize.curve_fit76.

Fluorescence=A1+e(xx0)/B+C 1

This analysis was repeated with biofilms cultured at various concentrations of ampicillin, i.e., 0, 0.1, 0.32, 1, 3.16, and 10 mg/mL ampicillin, with biofilm left in PBS as a control. Replicates were generated by imaging three independent stripe intersections per sample.

M5: Biophysical modeling

To develop a deeper understanding of the relationship between shared antibiotic protection mechanisms, we implemented an in silico biofilm growth model capable of simulating the growth of spatially patterned multi-strain biofilms (Fig. 4a). The model was adapted from a 2D reaction-diffusion grid framework49 and contains the following 2D state variables:

  • bG is the 2D biomass density of green bacteria representing SS-GFP biofilm producing beta-lactamase, resistant to ampicillin (dimension M/L2)

  • bR is the 2D biomass density of red bacteria representing IC-RFP biofilm, susceptible to ampicillin (dimension M/L2)

  • cblaMedia is the local molar concentration of ampicillin in the culture medium (dimension N/L3)

  • cblaBiofilm is the local molar concentration of ampicillin in the biofilm (dimension N/L3)

  • cbla is the local molar concentration of beta-lactamase enzyme in the biofilm (dimension N/L3)

  • ρnut is the local mass concentration of nutrients (dimension M/L3)

Growth of biomass was modeled using Monod kinetics based on nutrient concentration, parameterized by half-max nutrient concentration Knut (dimension M/L3), and a maximal growth rate μmax (dimension 1/T). Growth rates μR and μG (dimension 1/T) are subject to a locally limited carrying capacity bmax (dimension M/L2) to reflect the additional competition for biofilm growth surface. Inhibitory effects of ampicillin in the biofilm were modeled using a Hill term parameterized by cooperativity constant n (dimensionless) and with Hill half-max constants KampG and KampR (dimension M/L2) for growth of G and R strains, respectively. We set KampG > KampR to reflect greater ampicillin resistance in G strain relative to the susceptible R strain .

μR=μmaxρnutKnut+ρnut1bR+bGbmaxKampRnKampRn+cblaBiofilmn,μG=μmaxρnutKnut+ρnut1bR+bGbmaxKampGnKampGn+cblaBiofilmn 2

Change in biomass over the 2D spatial field was modeled to occur due to growth, death was modeled by first-order decay constant γbm (dimension 1/T), and outward spread of biomass was modeled with effective diffusivity term Dbm (dimension L2/T).

bRt=(μRγbm)bR+Dbm2bR,bGt=(μGγbm)bG+Dbm2bG, 3

Ampicillin was modeled to equilibrate between the culture medium and biofilm with rate constant keq (dimension 1/T). Ampicillin in the biofilm was modeled to degrade enzymatically based on beta-lactamase concentration according to Michaelis–Menten kinetics with catalysis constant kcatBla (dimension 1/T) and dissociation constant KdBla (dimension M/L3), as well as natural self-degradation with first-order exponential decay constant γamp (dimension 1/T).

cblaBiofilmt=keq(cblaMediacblaBiofilm)+kcatBlacblacblaBiofilmKdBla+cblaBiofilmγampcblaBiofilm,cblaMediat=keq(cblaMediacblaBiofilm)γampcblaMedia+Damp2cblaMedia, 4

We modeled the production of beta-lactamase molecules by resistant green biomass (representing SS-GFP biofilm) using a constant rate pbla (dimension molecule/cell/T). Our model includes a mcell parameter (dimension M/cell) estimating dry biomass per bacterial cell, Avogadro’s constant NA (dimension molecule/N), and height of the culture chamber h (dimension L) to translate the effect of beta-lactamase molecular production per cell to changes in overall molar concentration of beta-lactamase as a function of cell biomass density bG (dimension M/L2). Beta-lactamase is modeled with first-order exponential decay parameterized by constant γbla (dimension 1/T). Nutrient concentration decreases at a rate proportional to biofilm growth, with biomass yield constant Y (dimensionless)—again, we used the height of the culture chamber h (dimension L) to translate between changes in cell biomass density bG (dimension M/L2) and nutrient mass concentration ρnut (dimension M/L3). Ampicillin and nutrients in the culture medium were modeled to diffuse with diffusivity terms Damp and Dnut (dimension L2/T), respectively.

cblat=pblabGNAmcellhγblacbla,ρnutt=μRbR+μGbGYh+Dbm2ρnut, 5

Using a forward time-centered space numerical approach, we performed a numerical simulation of this model, using biophysically realistic parameter values and initial conditions—drawn from literature when available (Supplementary Note 7). Simulations assumed the separation of time scales between the diffusivity of ampicillin/nutrients and diffusivity of biomass DampDnut >> Dbm. Green and red biofilm growth extents were calculated by fitting the logistic function (Eq. (1)) for different times, spatial positions relative to stripe boundary, and antibiotic concentrations to enable direct comparison with values obtained experimentally. We performed a 1-D raster search across the parameter values for Dbm (effective biofilm biomass diffusivity) to minimize the mean discrepancy between simulated growth extents and those observed in experimental observations with no added ampicillin. To generate an estimated range for the fitted parameter value of Dbm, we applied a bootstrap approach where we generated 1000 sets ‘simulated’ experimental observations by drawing growth extents from a random normal distribution parameterized by the observed mean and standard deviation at each timepoint and position. We then generated 95% confidence intervals by taking the middle 95% of the distribution of Dbm values that minimized these 1000 simulated sets as the estimated range. This error estimate, therefore, accounts for uncertainties in our own observations of biofilm growth and does not account for errors in other model parameters obtained from the literature. Holding this optimized value of Dbm fixed, we performed a 2-D raster search across the parameter values for pbla (beta-lactamase production rate) and keq (equilibration rate of ampicillin between biofilm and media) to minimize the discrepancy between simulated growth extents and those observed in experimental observations across all ampicillin concentrations, applying the same approach as for Dbm (Supplementary Note 8 for more details on parameter search).

Statistics and reproducibility

Biofilm imaging which was performed in triplicate (confocal) and quadruplicate (widefield) to enable replication statistics while maintaining a feasible scale for the total experiment. No statistical method was used to predetermine the sample size. No data were excluded from the analyses. The experiments were not randomized. The Investigators were not blinded to allocation during experiments and outcome assessment.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

Supplementary information

Reporting Summary (72.7KB, pdf)

Source data

Source Data (655.3KB, xlsx)

Acknowledgements

The authors thank D. Glass, H. Kim, E. Howley, S. Costan, P. Nutini, and A. Spormann for helpful suggestions, as well as K. Huang and K. Ng for confocal microscopy support. The authors furthermore acknowledge the support from Stanford Bio-X Bowes Fellowship (XJ) and NSERC PGS Fellowship (XJ), as well as the American Cancer Society RSG-14-177-01 (IHRK), NIH 1R01GM145893-01A1 (IHRK), and NSF 2214020 (IHRK).

Author contributions

X.J. contributed to experiments, modeling, and data analysis. X.J. and I.H.R.-K. contributed to the design and implementation of the research, to the interpretation of the results, and to the writing of the manuscript.

Peer review

Peer review information

Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. A peer review file is available.

Data availability

Confocal imaging data generated in this work are deposited to BioImage Archive under BioImages accession number S-BIAD1341. Newly generated plasmids and their associated sequences are available on Addgene [https://www.addgene.org/Ingmar_Riedel-Kruse]. Source data are provided with this paper.

Code availability

Code used for analysis and visualization are shared on Github [https://github.com/xiaofanjin/biofilmCommunities]77.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Xiaofan Jin, Email: xiaofan.jin@ucalgary.ca.

Ingmar H. Riedel-Kruse, Email: ingmar@arizona.edu

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-024-53546-1.

References

  • 1.Nadell, C. D., Drescher, K. & Foster, K. R. Spatial structure, cooperation and competition in biofilms. Nat. Rev. Microbiol.14, 589–600 (2016). [DOI] [PubMed] [Google Scholar]
  • 2.Christensen, B. B., Haagensen, J. A., Heydorn, A. & Molin, S. Metabolic commensalism and competition in a two-species microbial consortium. Appl. Environ. Microbiol.68, 2495–2502 (2002). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Stewart, P. S. & William Costerton, J. Antibiotic resistance of bacteria in biofilms. Lancet358, 135–138 (2001). [DOI] [PubMed] [Google Scholar]
  • 4.Mah, T.-F. C. & O’Toole, G. A. Mechanisms of biofilm resistance to antimicrobial agents. Trends Microbiol.9, 34–39 (2001). [DOI] [PubMed] [Google Scholar]
  • 5.Brenner, K. & Arnold, F. H. Self-organization, layered structure, and aggregation enhance persistence of a synthetic biofilm consortium. PLoS ONE6, e16791 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Nadell, C. D., Xavier, J. B. & Foster, K. R. The sociobiology of biofilms. FEMS Microbiol. Rev.33, 206–24 (2009). [DOI] [PubMed] [Google Scholar]
  • 7.Xavier, J. B. & Foster, K. R. Cooperation and conflict in microbial biofilms. Proc. Natl Acad. Sci. USA104, 876–81 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Burmølle, M., Ren, D., Bjarnsholt, T. & Sørensen, S. J. Interactions in multispecies biofilms: do they actually matter? Trends Microbiol.22, 84–91 (2014). [DOI] [PubMed] [Google Scholar]
  • 9.Liu, W. et al. Interspecific bacterial interactions are reflected in multispecies biofilm spatial organization. Front. Microbiol.7, 1–8 (2016). [DOI] [PMC free article] [PubMed]
  • 10.Brenner, K., You, L. & Arnold, F. H. Engineering microbial consortia: a new frontier in synthetic biology. Trends Biotechnol.26, 483–489 (2008). [DOI] [PubMed] [Google Scholar]
  • 11.Kim, H. J., Du, W. & Ismagilov, R. F. Complex function by design using spatially pre-structured synthetic microbial communities: degradation of pentachlorophenol in the presence of Hg(ii). Integr. Biol.3, 126–33 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Wood, T. L. et al. Living biofouling-resistant membranes as a model for the beneficial use of engineered biofilms. Proc. Natl Acad. Sci. USA113, E2802–E2811 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Chen, A. Y. et al. Synthesis and patterning of tunable multiscale materials with engineered cells. Nat. Mater.13, 515–23 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Nguyen, P. Q., Botyanszki, Z., Tay, P. K. R. & Joshi, N. S. Programmable biofilm-based materials from engineered curli nanofibres. Nat. Commun.5, 4945 (2014). [DOI] [PubMed] [Google Scholar]
  • 15.Kong, W., Meldgin, D. R., Collins, J. J. & Lu, T. Designing microbial consortia with defined social interactions. Nat. Chem. Biol.14, 821–829 (2018). [DOI] [PubMed] [Google Scholar]
  • 16.Wood, T. K., Gurgan, I., Howley, E. T. & Riedel-Kruse, I. H. Converting methane into electricity and higher-value chemicals at scale via anaerobic microbial fuel cells. Renew. Sustain. Energy Rev.188, 113749 (2023). [Google Scholar]
  • 17.Purevdorj-Gage, B., Costerton, W. J. & Stoodley, P. Phenotypic differentiation and seeding dispersal in non-mucoid and mucoid Pseudomonas aeruginosa biofilms. Microbiology151, 1569–1576 (2005). [DOI] [PubMed] [Google Scholar]
  • 18.Chen, F. & Wegner, S. V. Blue light switchable bacterial adhesion as a key step toward the design of biofilms. ACS Synth. Biol.6, 2170–2174 (2017). [DOI] [PubMed] [Google Scholar]
  • 19.Jin, X. & Riedel-Kruse, I. H. Biofilm Lithography enables high-resolution cell patterning via optogenetic adhesin expression. Proc. Natl Acad. Sci. USA115, 3698–3703 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Chen, F., Ricken, J., Xu, D. & Wegner, S. V. Bacterial photolithography: patterning Escherichia coli biofilms with high spatial control using photocleavable adhesion molecules. Adv. Biosyst.3, 1800269 (2019). [DOI] [PubMed] [Google Scholar]
  • 21.Moser, F., Tham, E., González, L. M., Lu, T. K. & Voigt, C. A. Light-controlled, high-resolution patterning of living engineered bacteria onto textiles, ceramics, and plastic. Adv. Funct. Mater.29, 1901788 (2019). [Google Scholar]
  • 22.Zhao, F. et al. Light-induced patterning of electroactive bacterial biofilms. ACS Synth. Biol.11, 2327–2338 (2022). [DOI] [PubMed] [Google Scholar]
  • 23.Gordon, V., Bakhtiari, L. & Kovach, K. From molecules to multispecies ecosystems: the roles of structure in bacterial biofilms. Phys. Biol.16, 41001 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Che, S. & Men, Y. Synthetic microbial consortia for biosynthesis and biodegradation: promises and challenges. J. Ind. Microbiol. Biotechnol.46, 1343–1358 (2019). [DOI] [PubMed] [Google Scholar]
  • 25.Beller, H. R. et al. Discovery of enzymes for toluene synthesis from anoxic microbial communities. Nat. Chem. Biol.14, 451–457 (2018). [DOI] [PubMed] [Google Scholar]
  • 26.Tang, T.-C. et al. Materials design by synthetic biology. Nat. Rev. Mater.6, 1–19 (2020).
  • 27.Xin, A. et al. Growing living composites with ordered microstructures and exceptional mechanical properties. Adv. Mater.33, 2006946 (2021). [DOI] [PubMed] [Google Scholar]
  • 28.Xiao, M. et al. Photodynamic patterning of living bacterial biofilms with high resolutions for information encryption and antibiotic screening. Aggregate5, e532 (2024).
  • 29.Hoffman, S. M., Tang, A. Y. & Avalos, J. L. Optogenetics illuminates applications in microbial engineering. Annu. Rev. Chem. Biomol. Eng.13, 373–403 (2022). [DOI] [PubMed] [Google Scholar]
  • 30.Wei, J. & Jin, F. Illuminating bacterial behaviors with optogenetics. Curr. Opin. Solid State Mater. Sci.26, 101023 (2022). [Google Scholar]
  • 31.Kim, S. W. et al. Outer membrane vesicles from β-lactam-resistant Escherichia coli enable the survival of β-lactam-susceptible E. coli in the presence of β-lactam antibiotics. Sci. Rep.8, 5402 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Ciofu, O., Beveridge, T. J., Kadurugamuwa, J., Walther-Rasmussen, J. & Høiby, N. Chromosomal β-lactamase is packaged into membrane vesicles and secreted from Pseudomonas aeruginosa. J. Antimicrob. Chemother.45, 9–13 (2000). [DOI] [PubMed] [Google Scholar]
  • 33.Sharma, A. & Wood, K. B. Spatial segregation and cooperation in radially expanding microbial colonies under antibiotic stress. ISME J.15, 3019–3033 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Medaney, F., Dimitriu, T., Ellis, R. J. & Raymond, B. Live to cheat another day: bacterial dormancy facilitates the social exploitation of β-lactamases. ISME J.10, 778–787 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Dugatkin, L. A., Perlin, M., Lucas, J. S. & Atlas, R. Group-beneficial traits, frequency-dependent selection and genotypic diversity: an antibiotic resistance paradigm. Proc. Biol. Sci.272, 79–83 (2005). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Rojo-Molinero, E., Macià, M. D. & Oliver, A. Social behavior of antibiotic resistant mutants within Pseudomonas aeruginosa biofilm communities. Front. Microbiol.10, 570 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Hackman, A. S. & Wilkins, T. D. In vivo protection of Fusobacterium necrophorum from Penicillin by Bacteroides fragilis. Antimicrob. Agents Chemother.7, 698–703 (1975). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Perlin, M. H. et al. Protection of Salmonella by ampicillin-resistant Escherichia coli in the presence of otherwise lethal drug concentrations. Proc. Biol. Sci.276, 3759–3768 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Estrela, S. & Brown, S. P. Community interactions and spatial structure shape selection on antibiotic resistant lineages. PLoS Comput. Biol.14, e1006179 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Campbell, R. E. et al. A monomeric red fluorescent protein. Proc. Natl Acad. Sci. USA99, 7877–7882 (2002). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Thuy, D. & Bernhardt, T. G. Using superfolder green fluorescent protein for periplasmic protein localization studies. J. Bacteriol.193, 4984–4987 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Huovinen, P. Trimethoprim resistance. Antimicrob. Agents Chemother.31, 1451–1456 (1987). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Paul, J. H. Use of hoechst dyes 33258 and 33342 for enumeration of attached and planktonic bacteria. Appl. Environ. Microbiol.43, 939–944 (1982). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Sharma, S. et al. Microbial biofilm: a review on formation, infection, antibiotic resistance, control measures, and innovative treatment. Microorganisms11, 1614 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Prigent-Combaret, C. et al. Developmental pathway for biofilm formation in curli-producing Escherichia coli strains: role of flagella, curli and colanic acid. Environ. Microbiol.2, 450–464 (2000). [DOI] [PubMed] [Google Scholar]
  • 46.Lam, A. J. et al. Improving FRET dynamic range with bright green and red fluorescent proteins. Nat. Methods9, 1005–1012 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Robson, N. D., Cox, A. R., McGowan, S. J., Bycroft, B. W. & Salmond, G. P. Bacterial n-acyl-homoserine-lactone-dependent signalling and its potential biotechnological applications. Trends Biotechnol.15, 458–464 (1997). [DOI] [PubMed] [Google Scholar]
  • 48.Andersen, J. B. et al. New unstable variants of green fluorescent protein for studies of transient gene expression in bacteria. Appl. Environ. Microbiol.64, 2240–2246 (1998). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Picioreanu, C., van Loosdrecht, M. C. & Heijnen, J. J. Mathematical modeling of biofilm structure with a hybrid differential-discrete cellular automaton approach. Biotechnol. Bioeng.58, 101–16 (1998). [DOI] [PubMed] [Google Scholar]
  • 50.Monod, J. Recherches sur la croissance des cultures bacteriennes (Hermann and Cie, Paris, 1942).
  • 51.Berg, H. C. Random Walks in Biology. Princeton paperbacks (Princeton University Press, 1993).
  • 52.Umezawa, H. et al. Production and isolation of a new antibiotic, kanamycin. J. Antibiot. Ser. A10, 181–188 (1957). [PubMed] [Google Scholar]
  • 53.Michaelis, L. & Menten, M. L. et al. Die kinetik der invertinwirkung. Biochem. Z.49, 352 (1913). [Google Scholar]
  • 54.Hill, A. V. The possible effects of the aggregation of the molecules of hemoglobin on its dissociation curves. J. Physiol.40, iv–vii (1910). [Google Scholar]
  • 55.Anderl, J. N., Franklin, M. J. & Stewart, P. S. Role of antibiotic penetration limitation in Klebsiella pneumoniae biofilm resistance to ampicillin and ciprofloxacin. Antimicrob. Agents Chemother.44, 1818–1824 (2000). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Wright, G. D. & Thompson, P. R. Aminoglycoside phosphotransferases: proteins, structure, and mechanism. FBL4, 9–21 (1999). [DOI] [PubMed] [Google Scholar]
  • 57.Mergim, G. et al. Antibiotic degradation by commensal microbes shields pathogens. Infect. Immun.88, 10.1128/iai.00012-20 (2020). [DOI] [PMC free article] [PubMed]
  • 58.Tran, P. & Prindle, A. Synthetic biology in biofilms: tools, challenges, and opportunities. Biotechnol. Prog.37, e3123 (2021). [DOI] [PubMed] [Google Scholar]
  • 59.Li, Z. et al. Bacterial biofilms as platforms engineered for diverse applications. Biotechnol. Adv.57, 107932 (2022). [DOI] [PubMed] [Google Scholar]
  • 60.Benisch, M., Aoki, S. K. & Khammash, M. Unlocking the potential of optogenetics in microbial applications. Curr. Opin. Microbiol.77, 102404 (2024). [DOI] [PubMed] [Google Scholar]
  • 61.Jo, J., Price-Whelan, A. & Dietrich, L. E. Gradients and consequences of heterogeneity in biofilms. Nat. Rev. Microbiol.20, 593–607 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.Hong, S. H. et al. Synthetic quorum-sensing circuit to control consortial biofilm formation and dispersal in a microfluidic device. Nat. Commun.3, 613 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Stephens, K. & Bentley, W. E. Synthetic biology for manipulating quorum sensing in microbial consortia. Trends Microbiol.28, 633–643 (2020). [DOI] [PubMed] [Google Scholar]
  • 64.Drepper, T. et al. Reporter proteins for in vivo fluorescence without oxygen. Nat. Biotechnol.25, 443–445 (2007). [DOI] [PubMed] [Google Scholar]
  • 65.Kreft, J.-U., Picioreanu, C., Wimpenny, J. W. & van Loosdrecht, M. C. Individual-based modelling of biofilms. Microbiology147, 2897–2912 (2001). [DOI] [PubMed] [Google Scholar]
  • 66.Nagarajan, K., Ni, C. & Lu, T. Agent-based modeling of microbial communities. ACS Synth. Biol.11, 3564–3574 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67.Ghanbari, A. et al. Inoculation density and nutrient level determine the formation of mushroom-shaped structures in Pseudomonas aeruginosa biofilms. Sci. Rep.6, 32097 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68.Lee, A. J. et al. Robust, linear correlations between growth rates and β-lactam-mediated lysis rates. Proc. Natl Acad. Sci. USA115, 4069–4074 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Kim, K. et al. Mapping single-cell responses to population-level dynamics during antibiotic treatment. Mol. Syst. Biol.19, e11475 (2023). [Google Scholar]
  • 70.Stoodley, P., Dodds, I., Boyle, J. D. & Lappin-Scott, H. Influence of hydrodynamics and nutrients on biofilm structure. J. Appl. Microbiol.85, 19S–28S (1998). [DOI] [PubMed] [Google Scholar]
  • 71.IGEM. Registry of Standard Biological Partshttps://parts.igem.org/.
  • 72.Ohlendorf, R., Vidavski, R. R., Eldar, A., Moffat, K. & Möglich, A. From dusk till dawn: one-plasmid systems for light-regulated gene expression. J. Mol. Biol.416, 534–42 (2012). [DOI] [PubMed] [Google Scholar]
  • 73.Pardee, A. B., Jacob, F. & Monod, J. The genetic control and cytoplasmic expression of “Inducibility” in the synthesis of β-galactosidase by E. coli. J. Mol. Biol.1, 165–178 (1959). [Google Scholar]
  • 74.Jin, X. & Riedel-Kruse, I. H. High-resolution patterned biofilm deposition using pdawn-ag43. JoVE (J. Vis. Exp.)10.3791/58625 e58625 (2018). [DOI] [PMC free article] [PubMed]
  • 75.Parslow, A., Cardona, A. & Bryson-Richardson, R. J. Sample drift correction following 4d confocal time-lapse imaging. JoVE (J. Vis. Exp.)10.3791/51086 e51086 (2014). [DOI] [PMC free article] [PubMed]
  • 76.Virtanen, P. et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat. Methods17, 261–272 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77.xiaofanjin. xiaofanjin/biofilmcommunities: Initial Release10.5281/zenodo.13883179 (2024).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Reporting Summary (72.7KB, pdf)
Source Data (655.3KB, xlsx)

Data Availability Statement

Confocal imaging data generated in this work are deposited to BioImage Archive under BioImages accession number S-BIAD1341. Newly generated plasmids and their associated sequences are available on Addgene [https://www.addgene.org/Ingmar_Riedel-Kruse]. Source data are provided with this paper.

Code used for analysis and visualization are shared on Github [https://github.com/xiaofanjin/biofilmCommunities]77.


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES