The aim of present study was to detect H. pylori in formalin-fixed paraffin-embedded (FFPE) tissues and further investigate prevalence of babA2, cagA, iceA1, iceA2, vacA s1/s2 and vacA m1/m2 genotypes in H. pylori from gastric cancer (GC) and gastric ulcer (GU) patients’ biopsy samples. The gene discussed is S100A8; the disease is gastric cancer.