In this current study, we analyzed the innate immunity-associated and differentially expressed genes in normal and GC (with or without Hp infection) cells and identified that protein tyrosine phosphatase non-receptor type 20 (PTPN20) is a good candidate for prognosing Hp-related GC patients. Here, HP is linked to gastric cancer.