Environment affects amino acid preference for secondary structure.