Correction to: Nature Chemical Biology https://doi.org/10.1038/s41589-023-01380-9, published online 3 July 2023.

In the version of the article initially published, there were errors in the sgRNA schematics in Fig. 4b and Supplementary Figs. 14a and 16d. These have now been corrected in the HTML and PDF versions of the article. The original and revised figures are shown in the Supplementary Information accompanying this amendment.

Supplementary information is available with the online version of this amendment.