Here, we found that HSD17B6 was negatively correlated with lung cancer tumor purity and positively correlated with CD8+ T cells. This evidence concerns the gene CD8A and lung cancer.