The goal of this study was to investigate the prevalence of cagA-positive H. pylori and the EPIYA motif types in the gastric mucosa of patients with chronic gastritis, peptic ulcers, and gastric cancer to determine whether the EPIYA-C motif number is associated with ulcers and gastric cancer. Here, S100A8 is linked to chronic gastritis.