We identified different clusters of HBV-related HCC cells by single-cell RNA sequencing (scRNA-seq) and identified CD8+ T-cell exhaustion-related genes (TERGs) by pseudotime analysis. Here, CD8A is linked to hepatocellular carcinoma.