read file by python script and color pdb file with script

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@cgl.ucsf.edu <chimera-dev@cgl.ucsf.edu>; Sorry, I didn't find this mailing list before. -- Regards Sariya

Attached files. -- Regards Sariya On Monday, April 21, 2014 11:38 PM, Sanjeev Sariya <s.sariya_work@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@cgl.ucsf.edu <chimera-dev@cgl.ucsf.edu>; Sorry, I didn't find this mailing list before. -- Regards Sariya
participants (1)
-
Sanjeev Sariya