HLA class I polymorphism has a dual impact on ligand binding and chaperone interaction.