Difference between revisions of "Peptide Sequence"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | = | + | =Building a Peptide Sequence From Hand= |
There are two methods 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 | There are two methods 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"> |
Revision as of 20:49, 11 August 2005
Building a Peptide Sequence From Hand
There are two methods 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".