{"id":1335758,"date":"2026-11-25T15:07:11","date_gmt":"2026-11-25T15:07:11","guid":{"rendered":"https:\/\/www.europesays.com\/uk\/1335758\/"},"modified":"2026-11-25T15:07:11","modified_gmt":"2026-11-25T15:07:11","slug":"time-resolved-single-cell-phenotyping-identifies-two-major-classes-of-antimicrobial-peptides-with-shared-principles-and-key-trade-offs","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/uk\/1335758\/","title":{"rendered":"Time-resolved single-cell phenotyping identifies two major classes of antimicrobial peptides with shared principles and key trade-offs"},"content":{"rendered":"<p>Strains and growth conditions<\/p>\n<p>For all experiments and E. coli strains, cells were grown in a medium (M9gluCAAT) with M9 salts (33.7\u2009mM Na2HPO4, 22\u2009mM KH2PO4, 8.55\u2009mM NaCl, 9.35\u2009mM NH4Cl), 0.2% (w\/v) glucose, 0.4% (w\/v) casamino acids, 1\u2009mM MgSO4, 0.3\u2009mM CaCl2, 1\u2009\u03bcg\u2009ml\u22121 thiamine and trace elements (from a 100\u00d7 stock containing 13.4\u2009mM ethylene-diamine-tetra-acetic-acid (EDTA), 3.1\u2009mM FeCl3\u00b76H2O, 0.62\u2009mM ZnCl2, 76\u2009\u03bcM CuCl2\u00b72H2O, 42\u2009\u03bcM CoCl2\u00b72H2O, 162\u2009\u03bcM H3BO3, 8.1\u2009\u03bcM MnCl2\u00b74H2O). Before every experiment, cells were first inoculated into M9gluCAAT and grown to stationary phase at 37\u2009\u00b0C. For all assays except the biofilm experiments, the culture was diluted to 1\/10,000 or more in fresh medium and grown at 37\u2009\u00b0C (unless stated otherwise) until it reached an optical density at 600\u2009nm (OD) of 0.2\u20130.4. For the biofilm experiments, cells were grown in M9gluCAAT supplemented with 100\u2009\u00b5g\u2009ml\u22121 ampicillin to maintain the GFP-expressing plasmid. The overnight stationary-phase cultures were then diluted into the same medium to an OD of 0.015. See below for details on biofilm growth.<\/p>\n<p>Except for the biofilm experiments, the strains used in this study were derived from MG1655 (ATCC 47076), which was used to estimate the MIC for all the studied peptides (or peptoids) using a microplate reader (Supplementary Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM8\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>). To detect the timing of outer and inner-membrane permeabilization to proteins, strain CJW7845 was constructed to carry two freely diffusing fluorescent proteins: mScarlet-I in the periplasm and mTagBFP2 in the cytoplasm. Construction of CJW7845 was done by transforming pBAD-mTagBFP2 plasmid (Addgene, 34632, a gift from Vladislav Verkhusha<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 50\" title=\"Subach, O. M., Cranfill, P. J., Davidson, M. W. &amp; Verkhusha, V. V. An enhanced monomeric blue fluorescent protein with the high chemical stability of the chromophore. PLoS ONE 6, e28674 &#010;                https:\/\/doi.org\/10.1371\/journal.pone.0028674&#010;                &#010;               (2011).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR50\" id=\"ref-link-section-d157800403e1873\" rel=\"nofollow noopener\" target=\"_blank\">50<\/a>) into an E. coli strain expressing a periplasmic mScarlet-I reporter<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 51\" title=\"Ca&#xF1;as-Duarte, S. J. Understanding Rare Events in Escherichia coli. PhD thesis, Harvard Univ. (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR51\" id=\"ref-link-section-d157800403e1880\" rel=\"nofollow noopener\" target=\"_blank\">51<\/a>, as previously described<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 52\" title=\"Chung, C. T., Niemela, S. L. &amp; Miller, R. H. One-step preparation of competent Escherichia coli: transformation and storage of bacterial cells in the same solution. Proc. Natl Acad. Sci. USA 86, 2172&#x2013;2175 &#010;                https:\/\/doi.org\/10.1073\/pnas.86.7.2172&#010;                &#010;               (1989).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR52\" id=\"ref-link-section-d157800403e1884\" rel=\"nofollow noopener\" target=\"_blank\">52<\/a>. Transformants were restreaked on fresh selection plates and confirmed via microscopy.<\/p>\n<p>Strain CJW7753, which carries chromosomally expressed HupA-mCherry and RplA-GFP along with a plasmid-expressed cytoplasmic mTagBFP2 (ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 35\" title=\"Papagiannakis, A. et al. Nonequilibrium polysome dynamics promote chromosome segregation and its coupling to cell growth in Escherichia coli. eLife 14, RP104276 &#010;                https:\/\/doi.org\/10.7554\/eLife.104276&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR35\" id=\"ref-link-section-d157800403e1891\" rel=\"nofollow noopener\" target=\"_blank\">35<\/a>), was used to simultaneously monitor intracellular perturbations of ribosomes and DNA over time while assessing cell envelope integrity.<\/p>\n<p>For both strains CJW7845 and CJW7753, mTagBFP2 expression was induced by supplementing the medium with 0.2% (w\/v) arabinose. Ampicillin (100\u2009\u03bcg\u2009ml\u22121) was added to the growth medium of the liquid culture to maintain the mTagBFP2-expressing plasmid but was not present in the microwell medium during the imaging experiment.<\/p>\n<p>Strains CJW7020 (ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 31\" title=\"Gray, W. T. et al. Nucleoid size scaling and intracellular organization of translation across bacteria. Cell 177, 1632&#x2013;1648.e20 &#010;                https:\/\/doi.org\/10.1016\/j.cell.2019.05.017&#010;                &#010;               (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR31\" id=\"ref-link-section-d157800403e1904\" rel=\"nofollow noopener\" target=\"_blank\">31<\/a>) and CJW7859, which express RplA-msfGFP and HupA-msfGFP, respectively, were used to probe the spatial localization of ribosomes and DNA with respect to fluorescently labelled AMPs. Strain CJW7859 was constructed as follows. The monomeric superfolder GFP (msfGFP) coding sequence together with a kanamycin resistance cassette flanked with flippase recognition target (FRT) sites was amplified from a pKD13 vector<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 53\" title=\"Datsenko, K. A. &amp; Wanner, B. L. One-step inactivation of chromosomal genes in Escherichia coli K-12 using PCR products. Proc. Natl Acad. Sci. USA 97, 6640&#x2013;6645 &#010;                https:\/\/doi.org\/10.1073\/pnas.120163297&#010;                &#010;               (2000).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR53\" id=\"ref-link-section-d157800403e1908\" rel=\"nofollow noopener\" target=\"_blank\">53<\/a> encoding msfGFP without its start codon, preceded with a sequence encoding a glycine\/serine-rich linker (GSGSGS) (strain CJW6871 (ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 31\" title=\"Gray, W. T. et al. Nucleoid size scaling and intracellular organization of translation across bacteria. Cell 177, 1632&#x2013;1648.e20 &#010;                https:\/\/doi.org\/10.1016\/j.cell.2019.05.017&#010;                &#010;               (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR31\" id=\"ref-link-section-d157800403e1912\" rel=\"nofollow noopener\" target=\"_blank\">31<\/a>)), using primers 5\u2032-GGCATTTGTTTCTGGCAAGGCACTGAAAGACGCAGTTAAGGGCAGCGGCAGCGGCAGCTC-3\u2032 and 5\u2032-AAACCACCCCTTCGTTAAAACTGTTCACTGCCACGCAATCATCCGTCGACCTGCAGTTCG-3\u2032. Polymerase chain reaction (PCR) was performed to add homologous sequences to the 3\u2032-end region encoding the HupA C terminus and the downstream region and to remove the hupA stop codon, yielding an encoded C-terminal HupA-msfGFP fusion. The amplified product was transformed by electroporation into MG1655 containing pSim6. The plasmid expresses the Red recombineering proteins (encoded by exo, bet and gam) under the control of the native \u03bb phage pL promoter and temperature-sensitive cI857 repressor, whose expression can be induced by heat shock as previously described<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 54\" title=\"Sharan, S. K., Thomason, L. C., Kuznetsov, S. G. &amp; Court, D. L. Recombineering: a homologous recombination-based method of genetic engineering. Nat. Protoc. 4, 206&#x2013;223 &#010;                https:\/\/doi.org\/10.1038\/nprot.2008.227&#010;                &#010;               (2009).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR54\" id=\"ref-link-section-d157800403e1929\" rel=\"nofollow noopener\" target=\"_blank\">54<\/a>. The pSim6 plasmid was kindly provided by the National Cancer Institute. Briefly, cells were grown at 30\u2009\u00b0C to mid-exponential phase and the synthesis of the recombineering proteins was induced for 15\u2009min at 42\u2009\u00b0C before making cells electrocompetent. Mutants were selected on kanamycin, and the correct integration was verified by PCR and sequencing of the modified genomic region using primers 5\u2032-TGTCGTACCTGGAGTCTTCC-3\u2032 and 5\u2032-TTCAGCAAATCCACTGGCGG-3\u2032. The modification was moved to a clean wild-type MG1655 strain in which no recombineering system was expressed via P1 transduction as previously described<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 55\" title=\"Thomason, L. C., Costantino, N. &amp; Court, D. L. E. coli genome manipulation by P1 transduction. Curr. Protoc. Mol. Biol. 79, 1.17.1&#x2013;1.17.8 &#010;                https:\/\/doi.org\/10.1002\/0471142727.mb0117s79&#010;                &#010;               (2007).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR55\" id=\"ref-link-section-d157800403e1933\" rel=\"nofollow noopener\" target=\"_blank\">55<\/a>. Transductants were confirmed via PCR and sequencing of the modified region using the same primers as above. A single colony was grown and transformed with temperature-sensitive pCP20, expressing the site-specific Flp recombinase to excise the kanamycin cassette used for initial selection, as previously described<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 56\" title=\"Cherepanov, P. P. &amp; Wackernagel, W. Gene disruption in Escherichia coli: TcR and KmR cassettes with the option of Flp-catalyzed excision of the antibiotic-resistance determinant. Gene 158, 9&#x2013;14 &#010;                https:\/\/doi.org\/10.1016\/0378-1119(95)00193-A&#010;                &#010;               (1995).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR56\" id=\"ref-link-section-d157800403e1937\" rel=\"nofollow noopener\" target=\"_blank\">56<\/a>. Briefly, transformants were selected on LB plates containing chloramphenicol (30\u2009\u03bcg\u2009ml\u22121) at 30\u2009\u00b0C and streaked on LB plates at 42\u2009\u00b0C overnight to induce Flp recombinase expression and loss of pCP20 plasmid. Loss of the FRT-flanked kanamycin resistance cassette was confirmed by PCR and the lack of growth in the presence of kanamycin (50\u2009\u03bcg\u2009ml\u22121). The loss of pCP20 was confirmed by the lack of chloramphenicol resistance.<\/p>\n<p>Strain ATCC 25922GFP (ATCC), which carries a GFP-expressing plasmid, was selected for biofilm experiments. The strain\u2019s ability to form biofilms was first verified at 37\u2009\u00b0C using Congo red staining on an agar plate containing M9gluCAAT. Congo red dye binds curli, a major component of the biofilm extracellular matrix. Strain ATCC 25922 (lacking the GFP-expressing plasmid) was used for MIC determination (to avoid interference from the presence of ampicillin required to maintain the plasmid) following the standard growth protocol described above.<\/p>\n<p>Sources and preparation of antimicrobial peptides, peptoids and chemicals<\/p>\n<p>Lyophilised powders of LL-37 (AS-61302), human \u03b2-defensin 3 (AS-60741), magainin-2 (AS-20639), cecropin A (AS-24009), melittin (AS-62366), indolicidin (AS-60999) and protegrin-1 (AS-64819) were purchased from AnaSpec. PR-39 (350590) was purchased from Abbiotec. CRAMP (CRB1000262) was purchased from Biosynth. Tachyplesin-1 (4030734) was purchased from Bachem. Camel bactenecin (71266-2), bactenecin 7 (318782), Tur1A (318733), Tur1B (319842) and DJK-5 (318921) were purchased from NovoPro Bioscience. 5-TAMRA-labelled cecropin A, tachyplesin-1, LL-37, PR-39, Bac7 and DJK-5, were commissioned to NovoPro Bioscience for custom synthesis. Rifampicin (R3501-1G) and spectinomycin (S9007-25G) were purchased from Sigma-Aldrich. SYTOX Green (S7020) and SYTOX Orange (<a href=\"https:\/\/www.ncbi.nlm.nih.gov\/nuccore\/S11368\" rel=\"nofollow noopener\" target=\"_blank\">S11368<\/a>) were purchased from Thermo Fisher. EbbaBiolight 680 was purchased from Ebba Biotech. For all fluorescently labelled peptides, the fluorescent label was conjugated to the N terminus. Peptide powders were resuspended in Milli-Q water to stock concentrations of 1\u2009mM (or 0.5\u2009mM for human \u03b2-defensin 3), aliquoted and stored at \u221220\u2009\u00b0C. TM1 peptoid (first described as Peptoid 1), TM4 and TM5 were synthesized on an automated peptide synthesizer and purified by reversed-phase high-performance liquid chromatography, as previously described<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Chongsiriwatana, N. P. et al. Intracellular biomass flocculation as a key mechanism of rapid bacterial killing by cationic, amphipathic antimicrobial peptides and peptoids. Sci. Rep. 7, 16718 &#010;                https:\/\/doi.org\/10.1038\/s41598-017-16180-0&#010;                &#010;               (2017).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR11\" id=\"ref-link-section-d157800403e1964\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 36\" title=\"Chongsiriwatana, N. P. et al. Peptoids that mimic the structure, function, and mechanism of helical antimicrobial peptides. Proc. Natl Acad. Sci. USA 105, 2794&#x2013;2799 &#010;                https:\/\/doi.org\/10.1073\/pnas.0708254105&#010;                &#010;               (2008).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR36\" id=\"ref-link-section-d157800403e1967\" rel=\"nofollow noopener\" target=\"_blank\">36<\/a>. Before each experiment, aliquots were diluted in fresh medium to the desired concentration.<\/p>\n<p>Protein sequence analysis and feature extraction<\/p>\n<p>Amino acid sequences of the selected peptides (Supplementary Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>) were analysed using custom-written functions in Python to extract physicochemical properties (protein_analysis.py). The GRAVY index was computed using the Kyte\u2013Doolittle scale of amino-acid hydropathy values<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 57\" title=\"Kyte, J. &amp; Doolittle, R. F. A simple method for displaying the hydropathic character of a protein. J. Mol. Biol. 157, 105&#x2013;132 &#010;                https:\/\/doi.org\/10.1016\/0022-2836(82)90515-0&#010;                &#010;               (1982).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR57\" id=\"ref-link-section-d157800403e1982\" rel=\"nofollow noopener\" target=\"_blank\">57<\/a>. Polar and hydrophobic fractions were calculated on the basis of the following classification: serine, glutamine, asparagine, glycine, threonine, proline, tyrosine, lysine, arginine, histidine, aspartic acid and glutamic acid were considered polar amino acids, whereas alanine, isoleucine, leucine, methionine, phenylalanine, tryptophan, cysteine and valine were considered hydrophobic. The net charge was calculated as the number of lysine and arginine residues minus the number of aspartate and glutamate residues (with histidine counted as neutral), plus one for C-terminal amidations when present. Molecular weight was computed starting from the sum of the molecular weights of the n single amino acids, subtracting n\u22121 water molecules (18.015\u2009g\u2009mol\u22121) resulting from peptide bond formation, weight loss due to C-terminal amidation (0.98\u2009g\u2009mol\u22121, when present) and weight loss due to disulfide bridge formation (2.02\u2009g\u2009mol\u22121 per cysteine pair).<\/p>\n<p>Determination of MICs and maximum growth rates<\/p>\n<p>To determine the MIC of the selected AMPs against either MG1655 or ATCC 25922 E. coli strains, exponentially growing cells were diluted in fresh medium to an OD\u2009=\u200910\u22126 (~500 cells per ml) and mixed 50:50 with titrated AMP concentrations (which were chosen to be over a range that included the MIC) in a 96-well plate (flat bottom with low-evaporation lid, 3595, Corning). A final OD of 5\u2009\u00d7\u200910\u22127 corresponds to ~250 cells per ml. OD curves were sampled every 5\u2009min for a total of 48\u2009h using a microplate reader (BioTek Synergy 2, Agilent). Raw data were exported as a text file and analysed using a custom-written Python script (microplate_reader_analysis.py). To measure maximum growth rates, the log(OD) was fitted using a linear regression over a 12-point moving window (60\u2009min), which provides the instantaneous growth rate (log(OD)\u2009h\u22121), from which the global maximum was computed. The MIC was defined as the minimum AMP concentration for which the maximum growth rate was &lt;0.2\u2009log(OD)\u2009h\u22121 within the first 20\u2009h of incubation. For each independent experiment (biological replicate), the MIC was taken as the value shared by the majority of its technical replicates (2 or 3 replicate dilution series; the lower value in case of a tie). The reported MIC is the median MIC of independent experiments (3 for E. coli MG1655 and 3 or 4 for E. coli ATCC 25922). When the number of independent experiments was even, the higher of the two middle values was taken as the MIC.<\/p>\n<p>Fabrication of a multiwell device for single-cell analysis<\/p>\n<p>The multiwell device (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig7\" rel=\"nofollow noopener\" target=\"_blank\">1b<\/a>) was built as follows. A solution of 9:1 polydimethylsiloxane (PDMS) and curing agent was first mixed and degassed to remove air bubbles. A silicone rubber O-ring (25.8\u2009mm inner diameter, 3.1\u2009mm thickness) was glued onto a glass bottom dish (40\u2009mm diameter, 14026-20, Ted Pella). PDMS solution (1\u2009g) was poured onto the glass dish within the O-ring to form a ~1\u2009mm thin PDMS layer and cured for &gt;3\u2009h at 64.5\u2009\u00b0C. An 8\u2009mm biopsy punch was used to perforate the PDMS thin layer and carve out 4 independent ~70-\u03bcl wells. The 4 wells were thoroughly rinsed using 70% (v\/v) ethanol and 100% isopropanol and blow dried using purified air. Cells were immobilized using a protocol for atomic force microscopy<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 58\" title=\"Benn, G., Pyne, A. L. B., Ryadnov, M. G. &amp; Hoogenboom, B. W. Imaging live bacteria at the nanoscale: comparison of immobilisation strategies. Analyst 144, 6944&#x2013;6952 &#010;                https:\/\/doi.org\/10.1039\/C9AN01185D&#010;                &#010;               (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR58\" id=\"ref-link-section-d157800403e2037\" rel=\"nofollow noopener\" target=\"_blank\">58<\/a> with some modifications. The glass surfaces were rendered hydrophilic using air plasma treatment (45\u2009s at 60\u2009W). Then, a Cell-Tak (354240, Corning) solution was prepared by mixing 250\u2009\u03bcl 0.1\u2009M sodium bicarbonate (pH 8.0), 10\u2009\u03bcl Cell-Tak and 5\u2009\u03bcl 1\u2009M NaOH (enough to functionalize 4 wells). This solution (50\u2009\u03bcl) was applied to each well for 5\u2009min, rinsed three times with Milli-Q water and blow dried with purified air. Half a microlitre of exponentially growing cells (diluted to OD600\u2009\u2248\u20090.15) was then spotted into the centre of each well for 5\u2009min to allow for cells to be immobilized on the surface. The small 0.5-\u03bcl volume allowed us to immobilize cells only within a small region of the well, thus minimizing cell density effects that may affect the MIC. The wells were then washed three times with fresh medium to remove cells that did not attach to the surface, after which each well was filled with growth medium (70\u201380\u2009\u03bcl). To minimize water evaporation from the wells during the experiments, ~1\u2009ml of medium was added to the region surrounding the O-ring, which aided in maintaining a high local humidity in proximity to the wells. Experiments were carried out with the lid on.<\/p>\n<p>Fabrication of wide-trench microfluidic device<\/p>\n<p>The design of the wide-trench microfluidics was adapted from a published device<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 42\" title=\"Lambert, G. &amp; Kussell, E. Memory and fitness optimization of bacteria under fluctuating environments. PLoS Genet. 10, e1004556 &#010;                https:\/\/doi.org\/10.1371\/journal.pgen.1004556&#010;                &#010;               (2014).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR42\" id=\"ref-link-section-d157800403e2051\" rel=\"nofollow noopener\" target=\"_blank\">42<\/a>. As reported before<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 59\" title=\"Lin, W.-H. &amp; Jacobs-Wagner, C. Connecting single-cell ATP dynamics to overflow metabolism, cell growth, and the cell cycle in Escherichia coli. Curr. Biol. 32, 3911&#x2013;3924.e4 &#010;                https:\/\/doi.org\/10.1016\/j.cub.2022.07.035&#010;                &#010;               (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR59\" id=\"ref-link-section-d157800403e2055\" rel=\"nofollow noopener\" target=\"_blank\">59<\/a>, the master mould was manufactured in the clean room of the School of Engineering and Applied Science at Yale University. UV photolithography (EVG 620 Mask Aligner) was applied on Si wafers with SU-8 photoresist to generate two layers of positive patterns. The lower layer contained the bacterial culture chambers (wide trenches) while the upper layer contained the large trench for the flowing culture medium. The large feeding region features a ~200-\u03bcm width and ~30-\u03bcm height. The wide trenches have a width of 7\u2009\u03bcm, a depth of ~34\u201338\u2009\u03bcm and a height of 1.29\u2009\u03bcm.<\/p>\n<p>Wide-trench microfluidics chip preparation and experiment<\/p>\n<p>A solution of 9:1 PDMS and curing agent was mixed, degassed to remove air bubbles, poured onto the silicon wafer and cured at 64.5\u2009\u00b0C for &gt;3\u2009h. Note that the 9:1 PDMS:curing agent ratio was used instead of the standard 10:1 to reduce the hydrophobicity of the PDMS and mitigate hydrophobic interactions with AMPs. Once hardened, PDMS chips were cut out from the wafer, and a 1.2\u2009mm biopsy punch was used to create inlet and outlet holes. The current chip design features two independent channels per chip. To allow for a higher temperature during PDMS\u2013glass bonding, the glass bottom part of the dish was used during the following steps (without the plastic support glued to it). Both glass slide and PDMS surfaces were subsequently rinsed with 70% (v\/v) ethanol and isopropanol to remove dust and debris and blow dried with purified air. The glass slide was then placed on a 95\u2009\u00b0C hot plate for further drying for ~2\u20133\u2009min. Subsequently, the PDMS chip and glass slide were plasma treated (for 20\u2009s at 60\u2009W), immediately bonded, placed on a 95\u2009\u00b0C hot plate for 5\u2009min and baked at 75\u2009\u00b0C for ~2\u2009h. The bonded chip was then left to equilibrate at room temperature, and a solution of M9gluCAAT supplemented with 0.08% Pluronic F-108 was perfused through the channels, which served to wet the dry PDMS and glass surfaces and to render them more hydrophilic by passivating with Pluronic (which has amphiphilic properties). Pluronic (0.08%) was also supplemented into the growth medium to improve the hydrophilicity of the cell outer membranes, with the intent to reduce cell aggregates. Exponentially growing cells (3\u2009ml) were spun at 6,500\u2009r.p.m. for 5\u2009min, resuspended in 50\u2013100\u2009\u03bcl (to increase cell density) and loaded into the channels. The cells-loaded chip was then spun at 500\u2009\u00d7\u2009g for 3\u2009min using a three-dimensional (3D)-printed holder (design gifted by Dr Johan Paulsson) to facilitate entry of the cells into the trenches. Before every experiment, all tubing was sterilized and cleaned by flowing 20% (v\/v) bleach, 20% (v\/v) ethanol and Milli-Q water, and then perfused with 0.08% Pluronic-supplemented medium. Experiments were carried out at 37\u2009\u00b0C unless indicated otherwise. Flow was achieved by a peristaltic pump (T60-S2&amp;WX10-14-H, Langer Instrument), which was set to deliver a constant flow rate of ~35\u2009\u03bcl\u2009min\u22121, which was maintained for the whole duration of the experiment, including the AMP treatment.<\/p>\n<p>Biofilm growth and sample preparation<\/p>\n<p>For the biofilm experiments, ATCC 25922GFP was grown overnight to stationary phase at 37\u2009\u00b0C in M9gluCAAT supplemented with 100\u2009\u00b5g\u2009ml\u22121 ampicillin (to maintain the GFP-expressing plasmid). The overnight culture was then diluted into fresh, pre-warmed (37\u2009\u00b0C) M9gluCAAT containing 100\u2009\u00b5g\u2009ml\u22121 ampicillin to OD\u2009=\u20090.015, and 300\u2009\u00b5l of the diluted culture was added to each well of an 8-well chambered cover glass (#1.5H high-performance cover glass, 0.17\u2009mm, C8-1.5H-N, Cellvis). Biofilms were grown statically for 3\u2009h at 37\u2009\u00b0C. Biofilms were then washed once by gently removing the medium, adding 400\u2009\u00b5l of fresh pre-warmed medium, removing it and replacing it with 300\u2009\u00b5l of fresh pre-warmed medium (without ampicillin). This step served two purposes: it removed most planktonic cells and floating cell clusters that would otherwise deposit on the biofilm during acquisition and, by decreasing the overall cell density of the well, it prolonged the growth phase of the biofilm before its maturation and cell dispersal. When extracellular matrix formation was monitored, the fluorogenic optotracer EbbaBiolight 680 (Ebba Biotech), which labels bacterial amyloids such as curli as well as certain matrix polysaccharides, was added to the medium at a 1:500 dilution. When present, SYTOX Orange, which stains permeabilized cells, was added at a final concentration of 50 nM.<\/p>\n<p>Microscopy<\/p>\n<p>Images were acquired using a Nikon Ti2-E inverted microscope equipped with a Photometrics Prime BSI back-illuminated sCMOS camera (2,048\u2009\u00d7\u20092,048\u2009px, 6.5\u2009\u03bcm pixel size), a \u00d7100 Plan Apo 1.45NA Ph3 oil objective (with type N immersion oil by Nikon), a Lumencor Spectra III LED (light emitting diode) engine, a Perfect Focus System (PFS), temperature-controlled Okolab enclosure and a polychroic mirror (FF-409\/493\/596-Di02 by Semrock) combined with a triple-pass emitter (FF-1-432\/523\/702-25 by Semrock) for mTagBFP2\/GFP\/mCherry. mTagBFP2, GFP (or SYTOX Green), mCherry (or mScarlet-I) were imaged using excitation at 365\u2009nm, 488\u2009nm and 594\u2009nm, exposure of 300\u2009ms, 200\u2009ms and 200\u2009ms, and a LED power of 75%, 20% and 30%, respectively (see ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 35\" title=\"Papagiannakis, A. et al. Nonequilibrium polysome dynamics promote chromosome segregation and its coupling to cell growth in Escherichia coli. eLife 14, RP104276 &#010;                https:\/\/doi.org\/10.7554\/eLife.104276&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR35\" id=\"ref-link-section-d157800403e2092\" rel=\"nofollow noopener\" target=\"_blank\">35<\/a> for power measurements for the different light sources). A 5% transmission neutral density filter was also used to lower the LED power and reduce photobleaching and phototoxicity. All experiments were carried out at 37\u2009\u00b0C unless indicated otherwise.<\/p>\n<p>The microscope was controlled using NIS Elements software (Nikon), and an N-dimensional (ND) acquisition module was used to set and acquire the time-lapse images. Phase and fluorescence images were acquired every 1\u2009min for the single-cell and wide-trench analyses or 10\u2009min for some of the experiments with fluorescently labelled AMPs.<\/p>\n<p>For experiments with PDMS microwells, cells were allowed to grow for ~30\u2009min in the temperature-controlled enclosure before imaging. A 10\u00d7 concentrated AMP solution was spiked in (at 1\/10 the volume of the well) and mixed well by pipetting after ~20\u2009min from the start of the image acquisition, without interrupting the time-lapse sequence. When the uptake of SYTOX Green was monitored, SYTOX Green was included in the AMP solution and spiked in during the experiment to obtain a final concentration of SYTOX Green of 50\u2009nM in the well. This allowed us to monitor healthy cell growth before AMP treatment, to rapidly set the desired AMP (or SYTOX Green) concentration from one frame to the next (unlike for flow-controlled injection systems), and to resolve the AMP-induced phenotype in real time. The current design allows for testing up to 4 independent conditions in parallel.<\/p>\n<p>For the biofilm imaging experiments, images were acquired on the same Nikon Ti2-E microscope described above, but using a \u00d740 Plan Apo 0.95NA air objective. As for the other experiments, a 5% transmission neutral density filter was kept in the light path to limit photobleaching and phototoxicity. Excitation intensities and exposures differed from the single-cell experiments: GFP was imaged using 488\u2009nm excitation at 10% power, whereas the SYTOX Orange or amyloid stain EbbaBiolight 680 was imaged using 594\u2009nm excitation at 50% power; images from both channels were acquired with a 100\u2009ms exposure. To capture the 3D structure of the biofilm, z-stacks of 73 planes were acquired with a 0.6\u2009\u00b5m step size (~43\u2009\u00b5m total range), and the PFS was used to maintain focus over the course of the time lapse. Z-stacks were collected every 30\u2009min for 45 frames (~22\u2009h total) at 37\u2009\u00b0C. The imaging enclosure was pre-warmed to 37\u2009\u00b0C and a 50\u2009ml water bath was placed inside it to mitigate evaporation.<\/p>\n<p>In 5-TAMRA\u2013AMP enrichment experiments (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4a<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig13\" rel=\"nofollow noopener\" target=\"_blank\">7a<\/a>) that used strain MG1655, unlabelled AMPs at 2\u00d7 MIC were supplemented with 50\u2009nM of the corresponding 5-TAMRA\u2013AMP conjugate to have an equal bulk concentration of the fluorescent label for quantifying intracellular fluorescence increase over time. In co-localization experiments that used strains CJW7020 and CJW7859 (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4c<\/a>), unlabelled AMPs at concentrations equivalent to 2\u00d7 MIC (or 1.5\u00d7 MIC for PR-39) were supplemented with 5% of the corresponding 5-TAMRA-labelled AMP. Only for PR-39 and Bac7 and only for estimating the SCF* (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4c<\/a>), the labelled:unlabelled concentration ratio was increased to 25:75 and 50:50, respectively, to increase the fluorescent signal and improve the calculation of the SCF*. Selected images in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4b,d<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig13\" rel=\"nofollow noopener\" target=\"_blank\">7b\u2013d<\/a> were chosen at times where both signal intensities from fluorescently labelled AMPs and cytoplasmic macromolecules (DNA or ribosomes) were the highest to aid visualization of both molecules. The different timepoints for the different fluorescently labelled AMPs or macromolecules reflect the difference in uptake kinetics or stability of the label over time (for example, HupA-msfGFP signal under Tac1 treatment exhibited a fast decay as a result of cell permeabilization).<\/p>\n<p>In wide-trench microfluidics experiments, CJW7753, CJW7845 or CJW7859 cells were allowed to grow for &gt;1\u2009h with running fresh medium in the temperature-controlled enclosure to reach steady-state conditions before imaging. When present, SYTOX Green was added with the AMPs at 5\u2009nM.<\/p>\n<p>Image processing and analysis of PDMS-microwells single-cell data<\/p>\n<p>To analyse the single-cell experiments in microwells, OmniSegger software (<a href=\"https:\/\/github.com\/tlo-bot\/omnisegger\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/tlo-bot\/omnisegger<\/a>), which combines SuperSegger MATLAB-based suite<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 60\" title=\"Stylianidou, S., Brennan, C., Nissen, S. B., Kuwada, N. J. &amp; Wiggins, P. A. SuperSegger: robust image segmentation, analysis and lineage tracking of bacterial cells. Mol. Microbiol. 102, 690&#x2013;700 &#010;                https:\/\/doi.org\/10.1111\/mmi.13486&#010;                &#010;               (2016).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR60\" id=\"ref-link-section-d157800403e2155\" rel=\"nofollow noopener\" target=\"_blank\">60<\/a> for cell analysis with Omnipose segmentation<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 61\" title=\"Cutler, K. J. et al. Omnipose: a high-precision morphology-independent solution for bacterial cell segmentation. Nat. Methods 19, 1438&#x2013;1448 &#010;                https:\/\/doi.org\/10.1038\/s41592-022-01639-4&#010;                &#010;               (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR61\" id=\"ref-link-section-d157800403e2159\" rel=\"nofollow noopener\" target=\"_blank\">61<\/a>, was used to first process the microscopy images by performing drift correction, cell segmentation and cell linking. Given that AMP-treated cells can display extreme phenotypes, such as exceedingly bright and\/or heterogeneous phase-contrast signal (probably a result of the widely changing intracellular density upon AMP treatment) and that the software\u2019s pre-trained model \u2018bact_phase_omni\u2019<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 61\" title=\"Cutler, K. J. et al. Omnipose: a high-precision morphology-independent solution for bacterial cell segmentation. Nat. Methods 19, 1438&#x2013;1448 &#010;                https:\/\/doi.org\/10.1038\/s41592-022-01639-4&#010;                &#010;               (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR61\" id=\"ref-link-section-d157800403e2163\" rel=\"nofollow noopener\" target=\"_blank\">61<\/a> tended to split cells before cell division was completed, a new Omnipose model was trained from scratch starting from \u2018bact_phase_omni\u2019-generated masks that were further corrected and curated using custom-made Python scripts (screening_good_bad.py and generate_training_dataset.py). Details on the Omnipose model retraining can be found in a previous publication<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 62\" title=\"Thappeta, Y. et al. Glycogen phase-separation drives macromolecular rearrangement and asymmetric division in E. coli. EMBO J. 44, 7434&#x2013;7476 &#010;                https:\/\/doi.org\/10.1038\/s44318-025-00621-y&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR62\" id=\"ref-link-section-d157800403e2167\" rel=\"nofollow noopener\" target=\"_blank\">62<\/a>. The final model (omnipose_phase_microwells_model) and corresponding training datasets are available at <a href=\"https:\/\/github.com\/JacobsWagnerLab\/published\/tree\/master\/Fragasso_et_al_2025\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/JacobsWagnerLab\/published\/tree\/master\/Fragasso_et_al_2025<\/a> and BioImage Archive (accession number S-BIAD1823), respectively.<\/p>\n<p>MATLAB files of the linked cell trajectories output from OmniSegger were then imported, background subtracted using \u2018background_subtraction.py\u2019 (adapted from a previous study<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 35\" title=\"Papagiannakis, A. et al. Nonequilibrium polysome dynamics promote chromosome segregation and its coupling to cell growth in Escherichia coli. eLife 14, RP104276 &#010;                https:\/\/doi.org\/10.7554\/eLife.104276&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR35\" id=\"ref-link-section-d157800403e2182\" rel=\"nofollow noopener\" target=\"_blank\">35<\/a>) and converted to Python data structures (import_processing_code.py), from which cell features such as cell area, nucleoid area, mean fluorescence intensity and so on were extracted for each cell at each frame. The exported dataframes were further processed to estimate instantaneous growth rates and were run through a series of functions to perform curation based on cell areas and instantaneous growth rates over time (post_processing_curation_functions.py). Cell trajectories that: (1) were too short (&lt;30\u2009min), (2) exhibited exceedingly large or small values in normalized (by area) instantaneous growth rate (&gt;0.04\u2009min\u22121 or &lt;\u22120.02\u2009min\u22121), (3) had first 10 frames not featuring normal healthy growth (&lt;0.005\u2009min\u22121) or (4) had last 10 frames not featuring growth arrest (&gt;0.005\u2009min\u22121), were removed from further analysis. In this way, only cells that exhibited healthy growth followed by growth arrest were analysed, that is, those cells for which the growth arrest-associated AMP phenotype was fully resolved.<\/p>\n<p>Estimation of the timing of membrane permeabilization events relative to the growth rate inhibition<\/p>\n<p>Analysis of strain CJW7845 proceeded by extracting the timings of permeabilization of the outer and inner membranes based on the mean fluorescence intensities of mScarlet-I and\/or mTagBFP2 fluorescent proteins (using the function \u2018get_permeabilization_time.py\u2019), cell growth arrest and the initiation time of growth inhibition. To obtain accurate timings underlying membrane permeabilization events, information from both the signal intensity itself as well as its derivative were combined, which enabled us to accurately resolve the relevant changes in fluorescent protein signal beyond the intrinsic high-frequency noise and low-frequency photobleaching. Inner-membrane permeabilization to proteins can result in two possible phenotypes when simultaneously monitoring freely diffusing periplasmic and cytoplasmic probes, depending on which membrane (outer or inner) becomes permeabilized first. When the outer membrane is permeabilized first, mScarlet-I signal is lost first, followed by mTagBFP2 when the inner membrane becomes also permeabilized. Conversely, when the inner membrane is permeabilized first, mScarlet-I diffuses into the cytoplasm and mixes with mTagBFP2. To detect inner-membrane permeabilization when the outer membrane remained intact (that is, mScarlet-I leaks into the cytoplasm), the difference between periplasmic and cytoplasmic contributions of the mScarlet-I signal was computed, where periplasmic contribution corresponded to the mean fluorescence intensity of mScarlet-I within the 5-pixel thick outermost layer of the cell mask, while the cytoplasmic contribution was calculated by averaging pixel fluorescence intensities within a 7-pixel eroded mask. This way, the obtained difference \u0394(peri,cyto)mScarlet-I remains overall positive when mScarlet-I is localized in the periplasm and becomes rapidly negative when the inner membrane becomes permeabilized as mScarlet-I diffuses into the cytoplasmic region. Detection of the permeabilization event relied on both \u0394(peri,cyto)mScarlet-I and its normalized first derivative, which was computed by using a 5-point moving window to evaluate the local slope across the signal and dividing it by the signal itself.<\/p>\n<p>When IM was permeabilized after the OM, detection of such event relied on detection of the rapid decrease of the mScarlet-I signal first (OM permeabilization), followed by the loss of the mTagBFP2 (IM permeabilization). Both signals were treated in the same way as \u0394(peri,cyto)mScarlet-I for detecting permeabilization events, that is, by using information from both the signal itself as well as their normalized first derivative.<\/p>\n<p>The time marking the initiation of growth inhibition and the growth arrest were obtained by defining a multiscale instantaneous growth rate with weights (multi_scale_derivative.py). Specifically, this function computes the weighted average of the first derivatives of differently smoothened cell areas, where these were computed using a Savitzky\u2013Golay filter with varying moving windows. The normalized growth rate \\({\\mathrm{GR}}_{\\mathrm{norm}}\\left(t\\right)\\) can be expressed as<\/p>\n<p>$${\\mathrm{GR}}_{\\mathrm{norm}}\\left(t\\right)=\\frac{1}{\\sum _{i=1}^{N}{w}_{i}}\\sum _{i=1}^{N}\\frac{{w}_{i}}{{A}_{i,\\mathrm{smooth}}\\left(t\\right)}\\frac{d{A}_{i,\\mathrm{smooth}}\\left(t\\right)}{{dt}},\\,N=5,$$<\/p>\n<p>\n                    (1)\n                <\/p>\n<p>$${A}_{i,\\mathrm{smooth}}\\left(t\\right)=\\mathrm{SG}({A\\left(t\\right),\\mathrm{window}}_{i})$$<\/p>\n<p>\n                    (2)\n                <\/p>\n<p>where \\({w}_{i}\\) is the ith weight, \\({A}_{i,\\mathrm{smooth}}\\left(t\\right)\\) is the ith smoothened area signal, SG is the Savitzky\u2013Golay filter<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 63\" title=\"Savitzky, A. &amp; Golay, M. J. E. Smoothing and differentiation of data by simplified least squares procedures. Anal. Chem. 36, 1627&#x2013;1639 &#010;                https:\/\/doi.org\/10.1021\/ac60214a047&#010;                &#010;               (1964).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR63\" id=\"ref-link-section-d157800403e2574\" rel=\"nofollow noopener\" target=\"_blank\">63<\/a> (implemented using the Python function \u2018scipy.signal.savgol_filter\u2019), \\({\\mathrm{window}}_{i}\\) is the ith moving window size for smoothing and \\(A\\left(t\\right)\\) is the original cell area signal. For the current implementation, window sizes were set to be 3, 5, 7, 9 and 11, with corresponding weights of 5, 8, 10, 8 and 5, which were found by empirical optimization to capture growth arrest both in the case of fast cell shrinking events (induced by class I AMPs), where growth rate changes abruptly between one frame and the next one, as well as when growth is slowly inhibited (for example, induced by class II AMP treatment). As displayed in Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig8\" rel=\"nofollow noopener\" target=\"_blank\">2a<\/a>, the start of growth inhibition is defined as the first frame where \\({\\mathrm{GR}}_{\\mathrm{norm}}\\left(t\\right)\\le 0.01\\) min\u22121 and remains stably below 0.012\u2009min\u22121 for at least 30 consecutive frames. Growth arrest is defined as the first frame where \\({\\mathrm{GR}}_{\\mathrm{norm}}\\left(t\\right)\\le 0\\) min\u22121 and remains stably below 0.005\u2009min\u22121 for at least 30 consecutive frames. The use of a higher threshold to evaluate stability over consecutive frames was necessary to account for noise fluctuations of the \\({\\mathrm{GR}}_{\\mathrm{norm}}\\left(t\\right)\\) signal. Scatterplots presented in Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1e<\/a>, <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2c<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3d,g<\/a>, and in Extended Data Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig11\" rel=\"nofollow noopener\" target=\"_blank\">5b,d<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig12\" rel=\"nofollow noopener\" target=\"_blank\">6b,f<\/a> were obtained using these different metrics.<\/p>\n<p>Computation of the single-cell kymographs<\/p>\n<p>To compute the kymographs (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2d,e<\/a>, and Extended Data Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig9\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig11\" rel=\"nofollow noopener\" target=\"_blank\">5e,f<\/a>), a function was first used to compute the medial axis (smooth line longitudinally crossing the mid-cell) from each cell mask (get_medial_axis.py). Briefly, the medial axis was computed by first upsampling the cell mask by 20-fold in both x and y. Upon smoothing of the cell mask boundary, the Python function \u2018skeletonize\u2019 (from \u2018skimage.morphology\u2019) was then used to trace the cell skeleton, which roughly corresponds to the set of pixels that are the farthest away from the cell boundary. To find the cell poles, linear regressions were fitted to the computed skeleton\u2019s extremities, specifically to the first and last three-eighths of its length, and the intersections between the extrapolated lines and the cell boundary were identified as the cell poles. Finally, a third-order polynomial function was fit to the skeleton points and the poles to compute the medial axis.<\/p>\n<p>Upon defining the medial axis, cell pixel (x,y) coordinates could then be mapped into medial axis coordinates (l,d, where l is the length along the medial axis and d is the minimum distance from the medial axis; get_1D_proj_medial.py). Mean intensity projections along the medial axis length of the pixels with d\u2009&lt;\u20094\u2009px were computed by averaging together the pixels with the same l coordinate (kymograph_single_cell.py). Given that medial axis coordinates were computed with subpixel resolution using a 20\u00d7 augmentation factor, the medial axis length was binned using equal bins with the original pixel size (0.065\u2009\u03bcm\u2009px\u22121). The resulting mean intensity projections along the medial axis length were then plotted over time to obtain the final kymographs.<\/p>\n<p>Analysis of intracellular perturbations upon AMP uptake<\/p>\n<p>To analyse strain CJW7753, the signal correlation factor (SCF) was computed by estimating the pixel-based Spearman correlation between the RplA-GFP and HupA-mCherry signal over a 4-px eroded cell mask. Exclusion of the outer 4-px cell layer was necessary to remove the effect of cell curvature in the proximity of the cell edge, which causes both fluorescence signals to decrease in intensity (thus causing an artefactual positive correlation). To calculate the nucleocytoplasmic (NC) ratio (the ratio between nucleoid length and cell length), a mask was applied to the HupA-mCherry signal to determine the nucleoid region (nucleoid_mask.py). Then, projections of the nucleoid pixel coordinates onto the cell medial axis were computed to estimate the arc length, that is, the nucleoid length obtained by calculating the Euclidean distance between consecutive pairs of pixels along the nucleoid projections. The arc length of the full medial axis, that is, the cell length, was estimated using the same approach (nucleoid_cell_length.py). Cell trajectories were then aligned by the SCF peak using a multistep alignment approach (time_alignment.py). Given that the SCF signal can generally have multiple local maxima during the evolution of the phenotype after growth arrest (due to, for example, progressive loss of cell biomass, which decreases de-mixing between DNA and ribosomes, thus increasing SCF), cell trajectories for class I peptides (which featured a global peak in area that is time associated with the SCF peak) were first aligned by peak area (here the maximum value of the area), which allowed us to first roughly synchronize the trajectories by growth arrest. Then, the maximal SCF value (max SCF) within a narrow time window (\u00b15\u201310\u2009min) from the peak area was used to align the trajectories by the peak SCF value, resulting in all cells being synchronized by the start of their intracellular perturbations (peak SCF). For class II peptides, since the area global maximum is not generally associated with cell growth arrest, the minimum NC ratio was first used to align trajectories, and then the max SCF value was searched within a narrow time window (\u00b15\u201310\u2009min) to obtain the peak SCF value. Given that for class II AMPs (PR-39, Bac7, Tur1A and CamBac), the SCF peak is broad (tens of minutes) compared to noise fluctuations, a smoothened SCF (using a 12-point moving average window) was used for both determining the peak SCF (which improved robustness against noise) and computing the ensemble curves in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3f<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig10\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>. The time alignment step resulted in a new time axis that featured an SCF peak at t\u2009=\u20090 and which was used to generate the ensemble plots in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3c,f<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig10\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>. From this, the timing of peak SCF could also be extracted and was used in the scatterplots in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3d,g<\/a>.<\/p>\n<p>Analysis of fluorescently labelled AMP uptake and spatial localization<\/p>\n<p>For Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4a<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig13\" rel=\"nofollow noopener\" target=\"_blank\">7a<\/a>, images of MG1655 cells were acquired every 1\u2009min to enable accurate cell tracking (using OmniSegger) and probe the intracellular 5-TAMRA\u2013AMP enrichment as a function of time aligned by the start of growth inhibition. The analysis steps for single-cell analysis were performed as explained in the <b>\u2018<\/b>Image processing and analysis of PDMS-microwells single-cell data\u2019 section.<\/p>\n<p>In contrast, to analyse the localization of fluorescently labelled AMPs (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4c<\/a>) in CJW7020 cells (expressing RplA-msfGFP) or CJW7859 cells (expressing HupA-msfGFP), images were acquired every 10\u2009min to increase the number of fields of view, and thereby the n value, per condition since the focus of this experiment was to correlate the fluorescently labelled AMPs\u2019 spatial localization with fluorescently labelled cytoplasmic macromolecules (ribosomes and DNA) after uptake, without the need to track single cells over time. For this reason, OmniSegger was used here only to perform drift correction and cell segmentation, whereas mask labelling, cropping of individual cell regions and feature extraction were performed using a custom-made Python script (import_processing_no_linking_code.py). Since no single-cell growth rate information was obtained, the curation of badly segmented or out-of-focus cells was performed using a different strategy. First, hard thresholds on cell area removed objects that were too large (&gt;2,000\u2009px) or too small (&lt;500\u2009px) to be cells. Second, out-of-focus cells were removed by computing the average of the pixel intensities in the 40th percentile of the pixel intensities in the peripheral region of the phase-contrast signal, where the peripheral region corresponded to the outermost 1-px-thick layer of the mask, computed from a 1-px eroded mask (the outer 1-px-thick layer of the original mask was thus removed to avoid cell curvature effects). Third, cells that displayed low mean fluorescence values for either fluorescently labelled AMPs (&lt;100\u2009a.u. for 5-TAMRA-labelled AMPs) or msfGFP-tagged macromolecules (&lt;100\u2009a.u.) were filtered out to include mostly cells that were sufficiently enriched with fluorescently labelled AMPs. To compute the spatial correlation between fluorescently labelled AMPs and the ribosomes or DNA markers (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4c<\/a>), a modified version of SCF (SCF*) was defined to suppress the contributions from the region of the cell where both signals were low in intensity. Starting from a 1-px eroded mask, pixel-based Spearman correlation was computed between the pixel intensities in the 50th percentile of both channels. The resulting SCF* appears to represent more strongly the visually observed anti-co-localization between fluorescently labelled AMPs and the DNA marker HupA-msfGFP, while providing positive correlation values when the signals are co-localized (as reported in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4c<\/a> for SCF* between fluorescently labelled AMPs and the ribosome marker RplA-msfGFP). The timepoints for evaluating the SCF* were chosen on the basis of having a sufficiently high signal for both fluorescent reporters. The timepoints (relative to addition of the AMP mixture) were 10\u2009min, 50\u2009min, 100\u2009min, 30\u2009min, 40\u2009min and 80\u2009min for 5-TAMRA\u2013CecA, 5-TAMRA\u2013Tac1, 5-TAMRA\u2013LL-37, 5-TAMRA\u2013PR-39, 5-TAMRA\u2013Bac7 and 5-TAMRA\u2013DJK-5, respectively, for RplA-msfGFP-expressing CJW7020, and 0\u2009min (first frame after AMP addition), 50\u2009min, 100\u2009min, 30\u2009min, 40\u2009min and 120\u2009min for 5-TAMRA\u2013CecA, 5-TAMRA\u2013Tac1, 5-TAMRA\u2013LL-37, 5-TAMRA\u2013PR-39, 5-TAMRA\u2013Bac7 and 5-TAMRA\u2013DJK-5, respectively, for HupA-msfGFP-expressing strain CJW7859.<\/p>\n<p>Omnipose model training for segmentation of wide-trench data<\/p>\n<p>To quantify single-cell growth rates in wide-trench microfluidics experiments, dedicated Omnipose models were trained for this imaging format using information from both phase-contrast and ribosome-fluorescence images. First, an initial training set was generated by applying the pre-trained \u2018bact_fluor_omni\u2019 model to the ribosome channel, manually curating the resulting masks and pairing these masks with the corresponding phase-contrast images. This dataset was used to train a preliminary phase-contrast wide-trench model from scratch using 353 images, 4,000 epochs, a learning rate of 0.1, GPU acceleration and 224\u2009\u00d7\u2009224\u2009px training tiles.<\/p>\n<p>This preliminary model was then applied to wide-trench images from multiple AMP treatments to expand the training set across AMP-induced phenotypes. After manual curation against the ribosome signal, a final ribosome-channel model (omnipose_ribo_wide-trench_model) was generated by fine-tuning bact_fluor_omni using 592 curated images, each containing 4 wide trenches, with the same training parameters. Finally, an improved phase-contrast model (omnipose_phase_wide-trench_model) was trained from scratch using 868 curated images generated by applying the ribosome-channel model to a subset of wide-trench data and screening the resulting masks against phase-contrast images. Although both phase-contrast and ribosome-channel models were generated, the final ribosome-channel model was used for the single-cell segmentation in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5c\u2013f,i<\/a>, Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8a,b<\/a>, and Supplementary Videos <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM8\" rel=\"nofollow noopener\" target=\"_blank\">5<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM9\" rel=\"nofollow noopener\" target=\"_blank\">6<\/a> because it performed more robustly across treatment conditions and cellular phenotypes. The phase-contrast model was instead used to define the cell-containing regions for generating the SYTOX Green and LL-37 kymographs (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5g,h<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8c,d,g<\/a>). The final models and corresponding training datasets are available at <a href=\"https:\/\/github.com\/JacobsWagnerLab\/published\/tree\/master\/Fragasso_et_al_2025\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/JacobsWagnerLab\/published\/tree\/master\/Fragasso_et_al_2025<\/a> and BioImage Archive (accession number S-BIAD1823), respectively.<\/p>\n<p>Wide-trench single-cell analysis of growth rate<\/p>\n<p>To analyse wide-trench time-lapse images, drift correction was first performed using OmniSegger, followed by a custom Python script (drift_correction_wide_trenches.py) to correct for the slow residual drift that remained after the first correction step. The resulting drift-corrected time-lapse data were analysed with the OmniSegger pipeline using the ribosome-fluorescence wide-trench Omnipose model described above, allowing cell segmentation and cell linking to be performed in the same general manner as for the PDMS-microwell experiments.<\/p>\n<p>The MATLAB files containing linked cell trajectories were imported and pre-processed using custom Python code (import_processing_code_wide-trench.py). Cell trajectories were then curated using \u2018post_processing_curation_code_wide-trench.py\u2019 to remove trajectories that: (1) were too short (&lt;15\u2009min), (2) exhibited exceedingly large or small values in normalized-by-area instantaneous growth rate (&gt;0.04\u2009min\u22121 or &lt;\u22120.03\u2009min\u22121) or (3) displayed large instantaneous centre-of-mass displacements (&gt;50\u2009px). This curation step was used to retain cells that were tracked for a sufficient number of frames to estimate meaningful growth rates, while excluding poorly linked trajectories or incorrectly segmented cells.<\/p>\n<p>To compute the multitrench kymographs for growth rate (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5d\u2013f,i<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8a,b<\/a>) from the curated single-cell trajectories, instantaneous growth rates were estimated and pooled across multiple trenches and\/or biological replicates. Time was offset relative to the start of AMP injection, such that t\u2009=\u20090\u2009min corresponded to AMP addition. To visualize spatially resolved growth dynamics inside the wide trenches, kymographs were computed using custom Python code (compute_kymo_growth_rate_wide-trench.py). For each cell at each timepoint, the y coordinate of the cell-mask centre of mass was binned into 12\u2009px (0.79\u2009\u00b5m). To remove isolated spurious cells or poorly supported bins from the kymographs, occupied time\u2013position bins were pruned using an iterative neighbourhood filter. The resulting kymographs were plotted as the median normalized growth rate as a function of time and position along the trench. To generate the single-trench images or videos (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5c<\/a>, and Supplementary Videos <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM8\" rel=\"nofollow noopener\" target=\"_blank\">5<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM9\" rel=\"nofollow noopener\" target=\"_blank\">6<\/a>), the script \u2018plot_single_trench_growth_rate.py\u2019 was used to import single-cell growth rate data from individual trenches and combine with image sequences of the corresponding trenches. Generation of mp4 videos was carried out with the custom Python script \u2018export_mp4_wide-trench.py\u2019.<\/p>\n<p>Kymograph generation and analysis of SYTOX Green and LL-37 fluorescence in wide trenches<\/p>\n<p>Kymographs of SYTOX Green and LL-37 fluorescence in wide trenches (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5g,h<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8c,d,g<\/a>) were generated using a custom Python script (compute_kymo_fluor_wide-trench.py, plot_kymo_fluor.py) that relies on a shared functions library (quantify_fluor_kymo_functions.py). After applying drift correction (as described above), fluorescence and phase-contrast images were first background subtracted. To identify and restrict the phase-contrast signal to cell-containing regions, dilated Omnipose-derived masks were used. Wide trenches were detected from phase-contrast images by analysing the mean projection of the phase-contrast signal onto the x axis and using a peak detection algorithm to identify the trench vertical edges. Similarly, the top and bottom of the trench were also detected. These trench coordinates were then used to define the region of interest (ROI) for extracting fluorescence and phase-contrast signal intensities from each frame.<\/p>\n<p>For each trench and timepoint, fluorescence and phase-contrast signals were projected onto the trench\u2019s y axis by averaging pixel intensities, excluding 50\u2009px from each side of the detected trench to avoid edge artefacts. Stacking these one-dimensional profiles over time generated kymographs showing signal intensity as a function of time and position along the trench. Single-trench kymographs (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5g,h<\/a>) were generated by linking trenches across frames based on their x-centre position and retaining tracks present for at least 20 frames. Ensemble kymographs (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8c,d,g<\/a>) were generated by averaging y profiles across multiple trenches and\/or positions at each frame. Time was aligned relative to AMP injection, with t\u2009=\u20090\u2009min corresponding to AMP addition. Fluorescence kymographs were plotted overlaid on matched phase-contrast kymographs.<\/p>\n<p>To estimate the time when LL-37 fluorescence reached the bottom of the wide trench, the same single-trench tracking approach was used to quantify fluorescence intensity in a bottom ROI of three individual empty trenches using the script \u2018quantify_LL-37_fluor_empty_trench.py\u2019. Mean LL-37 fluorescence was quantified in a 40\u2009px band at the bottom of selected tracked trenches (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8e<\/a>), background corrected using a matched region outside the trench, aligned to AMP injection and plotted in Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8f<\/a>.<\/p>\n<p>Biofilm data processing and quantification<\/p>\n<p>For the biofilm experiments, widefield fluorescence z-stacks were first deconvolved using Deconwolf <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 64\" title=\"Wernersson, E. et al. Deconwolf enables high-performance deconvolution of widefield fluorescence microscopy images. Nat. Methods 21, 1245&#x2013;1256 &#010;                https:\/\/doi.org\/10.1038\/s41592-024-02294-7&#010;                &#010;               (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR64\" id=\"ref-link-section-d157800403e2984\" rel=\"nofollow noopener\" target=\"_blank\">64<\/a> (<a href=\"https:\/\/deconwolf.fht.org\/\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/deconwolf.fht.org\/<\/a>). Theoretical point-spread functions were generated with Deconwolf using an xy pixel size of 162.286\u2009nm, a z-step size of 600\u2009nm, 145 z-slices, NA\u2009=\u20090.95, refractive index\u2009=\u20091, and channel-specific emission wavelengths of 525\u2009nm for GFP, 610\u2009nm for SYTOX Orange and 640\u2009nm for EbbaBiolight 680, and are available at the BioImage Archive (accession number S-BIAD1823). Deconvolution was performed for 50 iterations with GPU acceleration. To quantify biofilm fluorescence, Deconwolf outputs were analysed using custom Python scripts (quantify_biofilm_stats.py). The scaling factors reported in the Deconwolf log files were used to rescale each deconvolved stack before quantification. For each position and timepoint, the first 3 z-planes were excluded to remove slices below or immediately adjacent to the glass surface, and the subsequent 40 z-planes were retained for analysis. Total GFP and SYTOX Orange fluorescence signals were calculated by summing voxel intensities across the retained 3D volume and are displayed in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig6\" rel=\"nofollow noopener\" target=\"_blank\">6c<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig15\" rel=\"nofollow noopener\" target=\"_blank\">9c<\/a>, respectively. For the 3D renderings shown in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig6\" rel=\"nofollow noopener\" target=\"_blank\">6a,b<\/a>, Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig15\" rel=\"nofollow noopener\" target=\"_blank\">9b<\/a> and Supplementary Videos <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM13\" rel=\"nofollow noopener\" target=\"_blank\">10<\/a>\u2013<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM20\" rel=\"nofollow noopener\" target=\"_blank\">17<\/a>, deconvolved single-timepoint stacks were first bundled into 5D OME-TIFF, with dimensions corresponding to time, 2 fluorescence channels and 3 spatial dimensions, using a custom Python script (export_ome-tiff_from_dw_zstack.py). During OME-TIFF generation, Deconwolf scaling factors were applied, voxel-size metadata were stored using the physical pixel sizes in x, y and z, the first 4 z-planes were removed, and the central 50% of the field of view in x and y was retained. These OME-TIFF files were then converted to .ims files using ImarisFileConverter 11.0.1 (Oxford Instruments), imported into Imaris 10.2 (Oxford Instruments), rendered in 3D and exported as TIFF image sequences with one file per frame. A separate Python script (export_3D_imaris_montage.py) was used to generate the video montages showing combined top and side views of the different fluorescence channels.<\/p>\n<p>Calculation of correlation coefficients<\/p>\n<p>All Spearman\u2019s correlations, used for SCF and SCF* calculations, were computed using the Python function \u2018spearmanr\u2019 in the scipy.stats library.<\/p>\n<p>Analysis software and hardware<\/p>\n<p>Drift correction and cell linking were performed with OmniSegger (<a href=\"https:\/\/github.com\/tlo-bot\/omnisegger\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/tlo-bot\/omnisegger<\/a>), a modified version of SuperSegger, in MATLAB R2021a (<a href=\"http:\/\/www.mathworks.com\" rel=\"nofollow noopener\" target=\"_blank\">www.mathworks.com<\/a>). Omnipose<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 61\" title=\"Cutler, K. J. et al. Omnipose: a high-precision morphology-independent solution for bacterial cell segmentation. Nat. Methods 19, 1438&#x2013;1448 &#010;                https:\/\/doi.org\/10.1038\/s41592-022-01639-4&#010;                &#010;               (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR61\" id=\"ref-link-section-d157800403e3079\" rel=\"nofollow noopener\" target=\"_blank\">61<\/a> (v.0.5.1; <a href=\"https:\/\/github.com\/kevinjohncutler\/omnipose\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/kevinjohncutler\/omnipose<\/a>) was installed in a local Miniconda environment. Omnipose retraining and segmentation, 3D deconvolution with Deconwolf<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 64\" title=\"Wernersson, E. et al. Deconwolf enables high-performance deconvolution of widefield fluorescence microscopy images. Nat. Methods 21, 1245&#x2013;1256 &#010;                https:\/\/doi.org\/10.1038\/s41592-024-02294-7&#010;                &#010;               (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR64\" id=\"ref-link-section-d157800403e3090\" rel=\"nofollow noopener\" target=\"_blank\">64<\/a> (<a href=\"https:\/\/deconwolf.fht.org\/\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/deconwolf.fht.org\/<\/a>), and computationally intensive tasks that involved operations on large arrays (background_subtraction.py; get_medial_axis.py) were accelerated by parallel processing on an NVIDIA A40 GPU utilizing compute unified device architecture (CUDA) to enhance performance. All custom-written code was developed using Python 3.10 (<a href=\"http:\/\/www.python.org\" rel=\"nofollow noopener\" target=\"_blank\">www.python.org<\/a>). The following packages were employed in the analysis: numpy<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 65\" title=\"Harris, C. R. et al. Array programming with NumPy. Nature 585, 357&#x2013;362 &#010;                https:\/\/doi.org\/10.1038\/s41586-020-2649-2&#010;                &#010;               (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR65\" id=\"ref-link-section-d157800403e3109\" rel=\"nofollow noopener\" target=\"_blank\">65<\/a>, cupy<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 66\" title=\"Okuta, R., Unno, Y., Nishino, D., Hido, S. &amp; Loomis, C. CuPy: a NumPy-compatible library for NVIDIA GPU calculations. In Proc. Workshop on Machine Learning Systems (LearningSys) at the 31st Conference on Neural Information Processing Systems (NIPS) (2017).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR66\" id=\"ref-link-section-d157800403e3113\" rel=\"nofollow noopener\" target=\"_blank\">66<\/a>, pytorch<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 67\" title=\"Paszke, A. et al. PyTorch: an imperative style, high-performance deep learning library. In Proc. 33rd International Conference on Neural Information Processing Systems 8026&#x2013;8037 (Curran Associates, 2019).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR67\" id=\"ref-link-section-d157800403e3117\" rel=\"nofollow noopener\" target=\"_blank\">67<\/a>, pandas<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 68\" title=\"McKinney, W. Data structures for statistical computing in Python. In Proc. 9th Python in Science Conference 56&#x2013;61 &#010;                https:\/\/doi.org\/10.25080\/Majora-92bf1922-00a&#010;                &#010;               (2010).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR68\" id=\"ref-link-section-d157800403e3121\" rel=\"nofollow noopener\" target=\"_blank\">68<\/a>, scipy<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 69\" title=\"Virtanen, P. et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat. Methods 17, 261&#x2013;272 &#010;                https:\/\/doi.org\/10.1038\/s41592-019-0686-2&#010;                &#010;               (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR69\" id=\"ref-link-section-d157800403e3126\" rel=\"nofollow noopener\" target=\"_blank\">69<\/a>, matplotlib<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 70\" title=\"Hunter, J. D. Matplotlib: a 2D graphics environment. Comput. Sci. Eng. 9, 90&#x2013;95 &#010;                https:\/\/doi.org\/10.1109\/MCSE.2007.55&#010;                &#010;               (2007).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR70\" id=\"ref-link-section-d157800403e3130\" rel=\"nofollow noopener\" target=\"_blank\">70<\/a>, seaborn<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"Waskom, M. L. seaborn: statistical data visualization. J. Open Source Softw. 6, 3021 &#010;                https:\/\/doi.org\/10.21105\/joss.03021&#010;                &#010;               (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR71\" id=\"ref-link-section-d157800403e3134\" rel=\"nofollow noopener\" target=\"_blank\">71<\/a> and scikit-image<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 72\" title=\"van der Walt, S. et al. scikit-image: image processing in Python. PeerJ 2, e453 &#010;                https:\/\/doi.org\/10.7717\/peerj.453&#010;                &#010;               (2014).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR72\" id=\"ref-link-section-d157800403e3138\" rel=\"nofollow noopener\" target=\"_blank\">72<\/a> (versions are listed in the \u2018Reporting Summary\u2019). Interactive curation steps in the Omnipose retraining pipeline used the \u2018keyboard\u2019 package for key-press input. For 3D rendering, OME-TIFF files were converted to .ims files using ImarisFileConverter 11.0.1 (Oxford Instruments) and rendered using Imaris 10.2 (Oxford Instruments) on a workstation at the Stanford University Cell Sciences Imaging Facility (CSIF). Final figures were assembled using Adobe Illustrator 2022. Schematics in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5a<\/a> were partially created in BioRender (<a href=\"https:\/\/BioRender.com\/k9dmspd\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/BioRender.com\/k9dmspd<\/a>). Supplementary Videos <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM4\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>\u2013<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM7\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a> were exported as AVI files using Fiji\/ImageJ<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 73\" title=\"Schindelin, J. et al. Fiji: an open-source platform for biological-image analysis. Nat. Methods 9, 676&#x2013;682 &#010;                https:\/\/doi.org\/10.1038\/nmeth.2019&#010;                &#010;               (2012).\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#ref-CR73\" id=\"ref-link-section-d157800403e3159\" rel=\"nofollow noopener\" target=\"_blank\">73<\/a> v.1.54p and converted to mp4 using HandBrake 1.9.2 (<a href=\"https:\/\/handbrake.fr\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/handbrake.fr<\/a>); for all the other videos, a Python script that made use of \u2018imageio-ffmpeg\u2019 was employed instead.<\/p>\n<p>Statistics and reproducibility<\/p>\n<p>The n values in the figure legends refer to the following units. In single-cell time-lapse experiments, n is the number of individual cells analysed. In wide-trench microfluidic experiments, n is given both as the number of trenches and as the number of cells they contain, pooled into each kymograph. In biofilm experiments, each well contained biofilms; the two fields of view acquired per well in each experiment were averaged, and statistics were computed across n\u2009=\u20093 independent experiments.<\/p>\n<p>A biological replicate was defined as an independent experiment performed from an independent overnight culture. Imaging runs of the same culture on the same day (separate wells of the multiwell device) were treated as technical replicates and pooled. The number of independent experiments (biological replicates) for each condition and the number of cells, trenches or wells analysed are given in the figure legends.<\/p>\n<p>Some conditions were imaged in a single independent experiment (Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1c\u2013e<\/a>, <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig4\" rel=\"nofollow noopener\" target=\"_blank\">4b\u2013d<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">5e\u2013i<\/a>; Extended Data Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig8\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>, <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig11\" rel=\"nofollow noopener\" target=\"_blank\">5<\/a>, <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig12\" rel=\"nofollow noopener\" target=\"_blank\">6<\/a>, <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig13\" rel=\"nofollow noopener\" target=\"_blank\">7b\u2013d<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig14\" rel=\"nofollow noopener\" target=\"_blank\">8<\/a>). For these conditions, the statistics describe cell-to-cell variability within one biological replicate rather than variability between experiments. We consider this appropriate here for two reasons. First, each of these datasets contains many independent single-cell or single-trench measurements: from ~20 to several hundred cells per condition in the time-lapse experiments, and 12\u201332 trenches (2,590\u20137,730 cells) per condition in the wide-trench experiments, which are shown as ensemble kymographs averaged across trenches so that they report the typical behaviour rather than individual examples. Second, no conclusion rests on a single condition: each phenotype that defines a class was observed for several AMPs or PMs of that class, at 2\u00d7 and 10\u00d7 MIC, and with different strains and readouts.<\/p>\n<p>Unless stated otherwise, time-course experiments show the mean across cells and a 95% CI obtained by bootstrap resampling of cells (1,000 resamples, \u2018seaborn\u2019; a fixed random seed was used so that the plotted intervals match the Source data). Absolute residuals (Extended Data Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig8\" rel=\"nofollow noopener\" target=\"_blank\">2b<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig12\" rel=\"nofollow noopener\" target=\"_blank\">6c<\/a>) are shown as mean and 95% bootstrap CI, and delays between start of growth inhibition and growth arrest (Extended Data Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig8\" rel=\"nofollow noopener\" target=\"_blank\">2c<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig12\" rel=\"nofollow noopener\" target=\"_blank\">6d<\/a>) as median and interquartile range (25th\u201375th percentile). Wide-trench microfluidic kymographs show, for each minute and 0.79\u2009\u00b5m pixel, the median normalized growth rate of all cells in that pixel across all trenches of the condition. Biofilm quantifications (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig6\" rel=\"nofollow noopener\" target=\"_blank\">6c<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#Fig15\" rel=\"nofollow noopener\" target=\"_blank\">9c<\/a>) are mean\u2009\u00b1\u2009s.e.m. of n\u2009=\u20093 biological replicates, each from a separate well imaged on a different day. Within each biological replicate, 2 fields of view were acquired at different positions in the same well (technical replicates) and averaged into one value before the mean and s.e.m. were calculated. Points show individual biological replicates. MIC values were calculated as described above.<\/p>\n<p>Micrographs, single-cell kymographs and single-cell traces shown as examples are representative of the cells quantified in the corresponding panels<b>;<\/b> the number of cells and experiments from which they were drawn is stated in each legend. No statistical tests were performed; data are presented descriptively. No statistical method was used to predetermine sample size; all cells that passed the segmentation, tracking and curation criteria described above were included. Investigators were not blinded to experimental conditions during data collection or analysis. Blinding was not feasible because each condition was prepared and imaged by the same investigator, and AMP treatments produce visibly distinct phenotypes. To limit bias, all quantitative analyses were performed with automated pipelines that applied the same segmentation, tracking, curation criteria and parameters to every condition.<\/p>\n<p>For single-cell experiments, sample sizes were chosen to capture cell-to-cell variability (typically &gt;100 cells per condition). Wide-trench conditions included 12\u201332 trenches, and biofilm and MIC experiments were performed in 3 or 4 biological replicates. Experiments were not randomized; within each experiment, a single clonal culture was split across the conditions, which were then imaged or measured under identical settings.<\/p>\n<p>Reporting summary<\/p>\n<p>Further information on research design is available in the <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41564-026-02539-5#MOESM2\" rel=\"nofollow noopener\" target=\"_blank\">Nature Portfolio Reporting Summary<\/a> linked to this article.<\/p>\n","protected":false},"excerpt":{"rendered":"Strains and growth conditions For all experiments and E. coli strains, cells were grown in a medium (M9gluCAAT)&hellip;\n","protected":false},"author":2,"featured_media":1335759,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_share_on_mastodon":"0"},"categories":[8],"tags":[26073,1493,3968,6552,12308,6554,11476,6553,70,16,15,40369],"class_list":["post-1335758","post","type-post","status-publish","format-standard","has-post-thumbnail","category-science","tag-antimicrobials","tag-bacteria","tag-general","tag-infectious-diseases","tag-life-sciences","tag-medical-microbiology","tag-microbiology","tag-parasitology","tag-science","tag-uk","tag-united-kingdom","tag-virology"],"share_on_mastodon":{"url":"https:\/\/pubeurope.com\/@uk\/117677709429377734","error":""},"_links":{"self":[{"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/posts\/1335758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/comments?post=1335758"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/posts\/1335758\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/media\/1335759"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/media?parent=1335758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/categories?post=1335758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/uk\/wp-json\/wp\/v2\/tags?post=1335758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}