Correction to: Nature Microbiology https://doi.org/10.1038/s41564-021-01045-0, published online 27 January 2022.

In the PDF version of this article initially published, Fig. 5 was a duplicate image of Fig. 4. The correct image has now been included in the print and PDF versions of the article.