Antigen recognition by conformational selection