DEGs and metascape analysis revealed increasing antigen processing and presentation and MHC II molecular expression, including HLA-DRA, HLA-DQA1, HLA-DQB1, and HLA-DPB1, which are also MG-associated risk genes. The gene discussed is HLA-DQB1; the disease is myasthenia gravis.