Correction to: Nature Microbiology https://doi.org/10.1038/s41564-024-01650-9, published online 13 March 2024

In the version of the article initially published, the Data availability section included an incorrect link. This has now been amended in the HTML and PDF versions to include the correct DOI for source data, https://doi.org/10.25405/data.ncl.c.7078312.