[Chimera-users] Residue Numbers vs. Residue Codes
Korbin West
khwest16 at wabash.edu
Tue Apr 21 13:46:33 PDT 2015
Hi all,
I'm trying to determine uncommon ligands in pdb files using a python code, but have run into an odd dilemma.
In my code, I open a pdb in Chimera, select the ligand, and write out the residue list. However, the formatting of this list changes depending on how I run the program.
If I run the program through xterm, it will print out only residue numbers. If I run the program though Chimera's Idle, however, I will get the residue codes and the residue numbers.
For example, I ran this with 3VKG, you can see the results in the attached files, where I show a sample code of what I'm using, the xterm results and the Chimera results.
I want to do this for a large number of pdbs, so I'd like to do this --nogui through xterm, but I need the residue codes. Has anyone else ran into this problem or know of a work-around? Thanks in advance.
Best,
Korbin West
Wabash College
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150421/62e6d4ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: residue_testing.py
Type: text/x-python-script
Size: 506 bytes
Desc: residue_testing.py
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150421/62e6d4ac/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testing_file_chimera.txt
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150421/62e6d4ac/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testing_file_xterm.txt
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150421/62e6d4ac/attachment-0001.txt>
More information about the Chimera-users
mailing list