Lipid mesophase gel samples for equilibrium studies were prepared by loading 40 mg of the lipid mesophase into a quartz capillary, with or without the presence of bacteria in the exponential phase of growth (Supplementary Information). Lipid mesophases were sandwiched between 30 µL of the same aqueous media used for hydration (i.e. sterile liquid growth media or bacterial subculture).