Correction to: Nature Microbiology https://doi.org/10.1038/s41564-025-01985-x, published online 18 April 2025.

In the version of this article initially published, the image shown in Extended Data Fig. 7g, actin, was an accidental duplicate from Extended Data Fig. 6g. The figure and associated source data files have been updated in the HTML and PDF versions of the article.