We focused on the adaptation of HLAs in the Han Chinese population by analyzing their binding affinity for various pathogens, and explored the potential correlations between pathogen adaptation and autoimmune diseases. Here, HLA-S is linked to autoimmune disease.