For any organism, survival is enhanced by the ability to sense and respond to threats in advance. For bacteria, danger sensing among kin cells has been observed, but the presence or impacts of general danger signals are poorly understood. Here we show that different bacterial species use exogenous peptidoglycan fragments, which are released by nearby kin or non-kin cell lysis, as a general danger signal. Using microscopy and gene expression profiling of Vibrio cholerae, we find that even brief signal exposure results in a regulatory response that causes three-dimensional biofilm formation, which protects cells from a broad range of stresses, including bacteriophage predation. A diverse set of species (Pseudomonas aeruginosa, Acinetobacter baumannii, Staphylococcus aureus, Enterococcus faecalis) also respond to exogenous peptidoglycan by forming biofilms. As peptidoglycan from different Gram-negative and Gram-positive species triggered three-dimensional biofilm formation, we propose that this danger signal and danger response are conserved among bacteria.
Development of microbial communities is a complex multiscale phenomenon with wide-ranging biomedical and ecological implications. How biological and physical processes determine emergent spatial structures in microbial communities remains poorly understood due to a lack of simultaneous measurements of gene expression and cellular behaviour in space and time. Here we combined live-cell microscopy with a robotic arm for spatiotemporal sampling, which enabled us to simultaneously acquire phenotypic imaging data and spatiotemporal transcriptomes during Bacillus subtilis swarm development. Quantitative characterization of the spatiotemporal gene expression patterns revealed correlations with cellular and collective properties, and phenotypic subpopulations. By integrating these data with spatiotemporal metabolome measurements, we discovered a spatiotemporal cross-feeding mechanism fuelling swarm development: during their migration, earlier generations deposit metabolites which are consumed by later generations that swarm across the same location. These results highlight the importance of spatiotemporal effects during the emergence of phenotypic subpopulations and their interactions in bacterial communities.