[Chimera-users] read file by python script and color pdb file with script

Sanjeev Sariya s.sariya_work at ymail.com
Mon Apr 21 20:41:21 PDT 2014



Attached files. 


--
Regards

Sariya


On Monday, April 21, 2014 11:38 PM, Sanjeev Sariya <s.sariya_work at ymail.com> wrote:
 
Hello Chimera team,

I am having 2 coordinates in check file. I want to take/read them and paint my pdb file loaded in chimera.
I have chimera in my ~/bin/
System specs: ubuntu 64 bit, 13.10, 4gb ram

Below is the command I have used for script-chimera communication

$ chimera64-1.8.1 --script "y.py check" -- Q6UXT6.pdb

I am storing values in listu and want to
 use them for coloring my file loaded.

    rc("color blue :"+listu[0]+"-"+listu[1])

This works well, if hard coded
rc
 ("color red :55-86")


I do not get any error. The particular protein length is not colored.


attached 3 files.
Kindly suggest, how do I proceed.

PS: I had sent the same mail to chimera-dev at cgl.ucsf.edu <chimera-dev at cgl.ucsf.edu>; Sorry, I didn't find this mailing list before.

--
Regards

Sariya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140421/e94623d0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check
Type: application/octet-stream
Size: 6 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140421/e94623d0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Q6UXT6.pdb
Type: application/octet-stream
Size: 266255 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140421/e94623d0/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: y.py
Type: application/octet-stream
Size: 455 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140421/e94623d0/attachment-0002.obj>


More information about the Chimera-users mailing list