The diagnostic model of NAFLD and the prognostic model of HCC jointly constructed by ABCC5 and TUBG1 had high predictive ability. The gene discussed is TUBG1; the disease is metabolic dysfunction-associated steatotic liver disease.