Among these, COL5A1, IRF7, CD74, and HLA-DRB1 were verified to have the capability to diagnose T2D, and expression levels of PSMB9 and CD74 had significantly higher in T2D patients. The gene discussed is HLA-DRB1; the disease is type 2 diabetes mellitus.