Hello Ramesh,
Is it possible to do the labelling using single letter codes for the
amino acid residues rather than the three letter codes?
Yes.
1. Add this to your $HOME/.pymolrc file:
# start $HOME/.pymolrc modification
one_letter = {'VAL':'V', 'ILE':'I', 'LEU':'L', 'GLU':'E', 'GLN':'Q',
Ezequiel H Panepucci wrote:
Hello Ramesh,
use:
label n. ca, one_letter[resn]
Cheers,
Zac
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
andr...@biochem.utah.edu wrote:
Hey Ramesh,
for all sorts of labeling, image manipulation programs like photoshop or
the gimp are superior. Convince yourself how simple it is even to adjust
the z position of the label in a stereo picture by moving it (one partner
of the stereo pair)
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',\