Characterizing T-cell epitopes of pathogens that cause localized infections such as human papillomavirus is a challenge because of limited number of T cells in circulation. A method is described in which rare T cells were isolated and were characterized starting with a very small number of cells.