In conclusion, the present study shows that STAT3 rs744166 polymorphism and infection with H. pylori with CagA possessing higher number of EPIYA-C segments are independent risk factors for gastric cancer in the evaluated population. This evidence concerns the gene S100A8 and infection.