In biliary tract cancer, cytotoxic CD8+ T lymphocytes play a crucial role and are associated with cancer prognosis. This evidence concerns the gene CD8A and biliary tract neoplasm.