PD-1+CD8+ TRM cells were enriched in TB tissues of HBV+ HCC patients. This evidence concerns the gene CD8A and hepatocellular carcinoma.