Here, we found that HSD17B6 was negatively correlated with lung cancer tumor purity and positively correlated with CD8+ T cells. The gene discussed is CD8A; the disease is lung carcinoma.