According to our regression model, it was clearly revealed that TRPM7 expression, together with TNM stage and CD8+ TIL density, can be used as an independent predictor of prognosis in patients with GC. The gene discussed is CD8A; the disease is gastric cancer.