Correction to: Nature Microbiology https://doi.org/10.1038/s41564-023-01425-8, published online 10 July 2023.

In the version of this article initially published, there were errors in the second column of Table 3: in the first, third and fifth rows under the “N2O reduction” heading, “N2O” appeared as “NO”. The errors have been corrected in the HTML and PDF versions of the article.