Age, tumor size, NLR, PLR, and APRI were used to construct nomogram for OS, while gender, age, TNM stage, portal hypertension, AFP, APRI were for PFS. The gene discussed is AFP; the disease is portal hypertension.