Crystallography‎ > ‎Molecular graphics‎ > ‎Pymol‎ > ‎

Peptide sequence (how to build one)

Keys shortcut: use the alt key (option on Mac), hold that key and type in the one-letter code for the sequence.

Scripting: to generate a peptide (for example with aa composition AEVKTVNGIRHI) use the following script: 

for aa in "AEVKTVNGIRHI": cmd._alt(string.lower(aa))

Result of the above command is something like this: