We have shown that many of the MS- and RA-associated variants under selection confer some resistance to a range of infectious diseases and pathogens (Supplementary Note 8; for example, HLA-DRB1*15:01 is associated with protection against tuberculosis44 and increased risk for lepromatous leprosy45). This evidence concerns the gene HLA-DRB1 and rheumatoid arthritis.