CD8+ T cells play a role in secondary immune responses, and B cells are important antigen-presenting and effector cells in Pneumocystis infection. Here, CD8A is linked to Pneumocystis infectious disease.