Our results indicate that TP53, HRAS, BRCA1, PIK3CA, AKT1, and SMARCA4 may be key genes for the development and prognosis of gastric cancer. Here, BRCA1 is linked to gastric cancer.