The infiltration of CD103+CD8+ T cells in gastric cancer tissue and colorectal cancer tissue is related to the survival of patients. Here, CD8A is linked to colorectal cancer.