Right now (and for the foreseeable future) PyMOL's sequence viewer shows
actual atoms in an object (whether or not they have coordinates). There
isn't currently any way to retrieve that information other than by looking
for atom in model.atom:
print atom.name, atom.chain
PyMOL's C code isn't particularly object-oriented -- there is no class which
encapsulates the PDB parser.
Warren L. DeLano, Ph.D.
DeLano Scientific LLC
400 Oyster Pt. Blvd., Ste 213
South San Francisco, CA 94080
[mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of
Sent: Monday, October 18, 2004 6:41 AM
Subject: [PyMOL] Swissprot
I'm trying to make a plugin which will load various features
from a swissprot entry onto a model loaded in PyMol but need
to know a few things such as:
Where are the sequences of the models stored in pymol and how
do I retrieve them?
Are these taken from the ATOM or SEQRES sections of the PDB file?
Is there a PDB parser class somewhere for reading in the PDB files?
I had a browse through the pymol directory but couldn't find
anything which looked like the above. I'm still very new to
python so the chances are I have missed it.
This SF.net email is sponsored by: IT Product Guide on
ITManagersJournal Use IT products in your business? Tell us
what you think of them. Give us Your Opinions, Get Free
ThinkGeek Gift Certificates! Click to find out more
PyMOL-users mailing list