Correction to: Nature Microbiology https://doi.org/10.1038/s41564-025-02167-5, published online 5 November 2025.

In the version of the article initially published, in Fig. 1, the panel labels “d” and “f” were switched and have now been corrected in the HTML and PDF versions of the article.