The results suggested that Hp-I infection significantly decreased the richness and diversity of gastric microbiota in nCAG patients, while significantly increased the richness of gastric microbiota in CAG patients. This evidence concerns the gene HP and infection.