We found that the risk score could well predict the prognosis of STAD, and the risk score was positively correlated with CD8 + T cell infiltration. The gene discussed is CD8A; the disease is gastric adenocarcinoma.