Methods for selecting immunogenic polypeptides