Nature 546, 656–661 (2017); doi:10.1038/nature22815

In this Letter, owing to an error during the production process, two values in Table 1 were incorrect. The relative frequency for the DQB1*03:04 allele should have been ‘4.5’ rather than ‘0’, and the odds ratio for the DQB1*03:04 allele should have been ‘inf.’ rather than ‘11’. The original Letter has been corrected online.