This study indicates that genes involved in the ERK signal transduction pathway activated by CagA can modify risk of gastric cancer. Here, EPHB2 is linked to gastric cancer.