KLRB1 and IL18RAP were two overlapping genes not only related to both CD4+ and CD8+ T cells but also had a protective effect for HCC patients. This evidence concerns the gene CD8A and hepatocellular carcinoma.