Multivariate analysis identified stromal CD4 (sCD4) (p = 0.038), intratumoral CD8 (iCD8) (p = 0.003), schistosomiasis (p = 0.045) as independent prognostic factors for overall survival (OS) in the whole cohort; and sCD4 (p = 0.006) and iCD8 (p = 0.020) were independent prognostic factors for OS in the NSCRC and SCRC set, respectively. The gene discussed is CD8A; the disease is schistosomiasis.