These data suggested that hnRNPA2B1 could modulate metabolic reprogramming in response to H. pylori infection in GC. Here, HNRNPA2B1 is linked to gastric cancer.