In summary, five prognostic genes associated with HP infection in STAD were identified, including 1 “protective” gene (CTLA4) and 4 “risk” genes (CPVL, EMB, CXCR4, and FAM241A). This evidence concerns the gene CXCR4 and gastric adenocarcinoma.