From bioinformatic analysis, we identified three significant genes (GCG, APOA1, and IGFBP1) associated with the infection of H. pylori, and the survival nomogram based on the H. pylori-related genes exhibited good predictive power for survival outcome among GC subjects. The gene discussed is APOA1; the disease is gastric cancer.