Correction to: Nature Microbiology https://doi.org/10.1038/s41564-023-01520-w, published online 29 November 2023.

This article was originally published under a standard Springer Nature licence (© The Author(s), under exclusive licence to Springer Nature Limited). It is now available as an open-access paper under a Creative Commons Attribution 4.0 International licence, © The Author(s). The error has been corrected in the HTML and PDF versions of the article.