The rs744166 polymorphism (p = 0.001; OR = 1.64; 95 % CI = 1.16-2.31) and infection with H. pylori CagA-positive strains possessing higher number of EPIYA-C segments (p = 0.001; OR = 2.28; 95 % CI = 1.41-3.68) were independently associated with gastric cancer in comparison with gastritis. Here, S100A8 is linked to gastritis.