This is a read-only mirror of pymolwiki.org

Difference between revisions of "Talk:Aa codes"

From PyMOL Wiki
Jump to navigation Jump to search
(three letter code alternative)
m (2 revisions)
 
(No difference)

Latest revision as of 00:44, 28 March 2014

Alternatives to get one_letter dictionary:

from Bio.PDB import to_one_letter_code as one_letter
from pymol.exporting import _resn_to_aa as one_letter

Alternative to get three letter code:

print cmd.get_model('myselection').atom[0].resn

--Speleo3 07:52, 13 September 2010 (UTC)