In this study, through bioinformatics and experimental analyses, we found that six SNP-containing genes (TP53, AKT1, HRAS, PTEN, PIK3CA, SMARCA4 and BRCA1) may be key factors in the occurrence and prognosis of gastric cancer and participate in many pathways related to cancer development. Here, PTEN is linked to gastric cancer.