Peptide Sequence: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
=Building a Peptide Sequence From Hand= | =Building a Peptide Sequence From Hand= | ||
There are | There are more than one method in PyMol for building a peptide sequence from hand. First, you may simply hold down the '''alt''' ('''option''' on Mac) key and type in the one-letter code for the sequence. Secondly, you can write a script like the following | ||
<source lang="python"> | <source lang="python"> | ||
for aa in "DCAHWLGELVWCT": cmd._alt(string.lower(aa)) | for aa in "DCAHWLGELVWCT": cmd._alt(string.lower(aa)) | ||
</source> | </source> | ||
which will build the amino acid sequence "DCAHWLGELVWCT". | which will build the amino acid sequence "DCAHWLGELVWCT". | ||
==Other Sources== | |||
Robert Campbell has notified us of [http://adelie.biochem.queensu.ca/~rlc/work/pymol his two scripts] to solve the problem. You can apparently specify phi/psi angles, too. Look for '''build_seq.py''' and '''build_seq_phi_psi.py'''. |
Revision as of 23:23, 11 August 2005
Building a Peptide Sequence From Hand
There are more than one method in PyMol for building a peptide sequence from hand. First, you may simply hold down the alt (option on Mac) key and type in the one-letter code for the sequence. Secondly, you can write a script like the following
for aa in "DCAHWLGELVWCT": cmd._alt(string.lower(aa))
which will build the amino acid sequence "DCAHWLGELVWCT".
Other Sources
Robert Campbell has notified us of his two scripts to solve the problem. You can apparently specify phi/psi angles, too. Look for build_seq.py and build_seq_phi_psi.py.