By analyzing the expression of hub genes and OS, MFAP2, BGN, and TREM1 were related to the prognosis of GC. This evidence concerns the gene BGN and gastric cancer.