Methods and systems are provided herein for selecting an affinity reagent which binds a desired peptide epitope in a plurality of sequence contexts. The method relies on obtaining a peptide library, each peptide having the sequence αXβ, wherein X is the desired peptide epitope, wherein each of α and β comprise an amino acid, using the peptide library to select an affinity reagent.