CD103+CD8+ T cells have superior prognostic ability in patients with gastric cancer. Here, CD8A is linked to gastric cancer.