We present a method to identify tumor-specific clonotypes from surgical specimens by comparing TCRβ-chain repertoires of TILs and adjacent tissue-resident lymphocytes. Here, TRBC1 is linked to neoplasm.