Correction to: Nature Medicine https://doi.org/10.1038/s41591-020-0825-4, published online 13 April 2020.

In the version of this article initially published, the label ‘ΔwcaJ’ was incorrect along the horizontal axis for Fig. 2e,f. The correct label is ‘ΔwbaP’. In Extended Data Fig. 2b, the fourth label (UCI_37wbpA:IS) along the horizontal axis was incorrect. The correct label is ‘UCI_37wbaP:IS’. In Extended Data Fig. 2m, the label ‘UCI_38ΔwcaJ’ along the horizontal axis of each plot was incorrect. The correct label is ‘UCI_38ΔwbaP’. In Extended Data Fig. 4b, the third label (UCI_37_wcaJ::IS) along the horizontal axis was incorrect. The correct label is ‘UCI_37_wbaP::IS’. The errors have been corrected in the HTML and PDF versions of the article.