Whilst there was an inverse association between HP abundance and bacterial diversity in non-cancer gastric samples including normal, gastritis and IM, this inverse association was weak in cancer samples. This evidence concerns the gene HP and cancer.