In this study, a total of 971 DEGs and 15 hub genes were selected, and BGN, MMP2, COL1A1 and FN1 might be the core genes of gastric cancer. Here, MMP2 is linked to gastric cancer.