Correlation analysis and survival analysis showed that the expression level of HLA-DRB1 was negatively correlated with the Stage of the patients while positively correlated with the survival, prognosis and TME of melanoma. The gene discussed is HLA-DRB1; the disease is melanoma.