[chimera-dev] read file by python script and color pdb file with script
Eric Pettersen
pett at cgl.ucsf.edu
Tue Apr 22 11:04:17 PDT 2014
Hi Sariya,
Your "check" file contains this (one) line:
67 23
which means that the residue range you generate is ":67-23" which contains nothing. You want "check" to contain "23 67" so that your residue range becomes ":23-67".
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
http://www.cgl.ucsf.edu
On Apr 21, 2014, at 8:33 PM, Sanjeev Sariya <s.sariya_work at ymail.com> wrote:
>
> 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.
>
>
> --
> Regards
> Sariya
>
> <Q6UXT6.pdb><y.py><check>_______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20140422/ecd46d19/attachment.html>
More information about the Chimera-dev
mailing list