We use this approach to extract TCR repertoires from RNA-Seq data obtained from sorted tumor-infiltrating CD4+ and CD8+ T cells in an HKP1 (KrasG12Dp53−/−) syngeneic mouse model of lung cancer after anti-PD-1 treatment. The gene discussed is CD8A; the disease is lung carcinoma.