> 1. Add this to your $HOME/.pymolrc  file:
> 
> # start $HOME/.pymolrc modification
> one_letter = {'VAL':'V', 'ILE':'I', 'LEU':'L', 'GLU':'E', 'GLN':'Q', \
> 'ASP':'D', 'ASN':'N', 'HIS':'H', 'TRP':'W', 'PHE':'F', 'TYR':'Y',    \
> 'ARG':'R', 'LYS':'K', 'SER':'S', 'THR':'T', 'MET':'M', 'ALA':'A',    \
> 'GLY':'G', 'PRO':'P', 'CYS':'C'}
> # end modification
>
> 2. instead of:
> 
>        label n. ca, resn
> 
>     use:
> 
>        label n. ca, one_letter[resn]
>
> Thanks Zac. that was indeed very useful. But I have one more problem. 
> Doing thus gives me only the name of the aa, not its number. 
> How to give the label command in order to give the number as 
> well. Tried help label but.... Hence this mail.
> 

label n. ca, one_letter[resn]+resi



Reply via email to