BackgroundHepatocellular carcinoma (HCC) is a common abdominal cancer with poor survival outcomes. Although there is growing evidence that N7-methylguanosine (m7G) is closely associated with tumor prognosis, development, and immune response, few studies focus on this topic.MethodsThe novel m7G risk signature was constructed through the Lasso regression analysis. Its prognostic value was evaluated through a series of survival analyses and was tested in ICGC-LIRI, GSE14520, and GSE116174 cohorts. CIBERSORT, ssGSEA, and ESTIMATE methods were applied to explore the effects of the m7G risk score on tumor immune microenvironment (TIM). The GSEA method was used to evaluate the impacts of the m7G risk score on glycolysis, ferroptosis, and pyroptosis. The human protein atlas (HPA) database was used to clarify the histological expression levels of five m7G signature genes. The biofunctions of NCBP2 in hepatocellular cancer (HC) cells were confirmed through qPCR, CCK8, and transwell assays.ResultsFive m7G regulatory genes comprised the novel risk signature. The m7G risk score was identified as an independent prognostic factor of HCC and could increase the decision-making benefit of traditional prognostic models. Besides, we established a nomogram containing the clinical stage and m7G risk score to predict the survival rates of HCC patients. The prognostic value of the m7G model was successfully validated in ICGC and GSE116174 cohorts. Moreover, high m7G risk led to a decreased infiltration level of CD8+ T cells, whereas it increased the infiltration levels of Tregs and macrophages. The glycolysis and pyroptosis processes were found to be enriched in the HCC patients with high m7G risk. Finally, overexpression of NCBP2 could promote the proliferation, migration, and invasion of HC cells.ConclusionsThe m7G risk score was closely related to the prognosis, antitumor immune process, glycolysis, and malignant progression of HCC. NCBP2 has pro-oncogenic abilities, showing promise as a novel treatment target.