After the establishment of diagnostic and prognostic models and the verification process of prediction ability, it was concluded that the expression patterns of ABCC5 and TUBG1 in NAFLD and HCC were consistent, which were common diagnostic markers and highly correlated with the prognosis of HCC. Here, TUBG1 is linked to hepatocellular carcinoma.