[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:38:48 PDT 2014

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
 ("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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140421/c1db7398/attachment.html>

More information about the Chimera-users mailing list