Six prognostic genes (ASF1A, CENPA, LDHA, PSMB2, SRPRB, UCK2) were included, and risk score was indicated to be an independent prognostic factor for the prognosis of HCC. In addition, ROC analyses in the five cohorts and immunohistochemistry experiments in solid tissues indicated that CENPA and UCK2 exhibited high and robust diagnostic values. The gene discussed is ASF1A; the disease is hepatocellular carcinoma.