Based on the HCC gene dataset, we used weighted gene coexpression network analysis for identifying MRGs linked to hepatitis B. An MRG prognostic index (MRGPI) with two genes, ATIC and KIF2C, was constructed using Cox regression analysis, an independent prognostic factor. The gene discussed is KIF2C; the disease is hepatitis B virus infection.