Infiltration of CD8+T cells is associated with better survival in cholangiocarcinoma. Here, CD8A is linked to cholangiocarcinoma.