Nature 546, 370–375 (2017); doi:10.1038/nature22403

In this Article, the authors Fiona M. Watt and Richard Durbin should also have been included as ‘jointly supervising’ authors, and authors Oliver Stegle and Daniel J. Gaffney should also have been noted as ‘equally contributing’ authors. In addition, the Author Contributions section should have included the sentence: ‘H.K. and A.G. contributed equally to this work; O.S. and D.J.G. contributed equally to this work’, as further clarification. The original Article has been corrected online.