Ultimately, we established a prognostic model for five genes, namely GSDME, DHX9, TREM2, SQSTM1 and GLMN. Survival analysis showed that the overall survival rate of HCC patients with high risk score was significantly lower than that of HCC patients with low risk score, and this signal could be used as an independent prognostic indicator of HCC. Here, TREM2 is linked to hepatocellular carcinoma.