[Chimera-users] Ribbon gradient coloring
vamsee
vamseedharr at gmail.com
Mon Sep 10 12:59:59 PDT 2012
Hi All,
Is there a way to color the ribbon with a gradient? In my case, it has to
be an increasing and then decreasing gradient. Ex: Let's say I have data
that shows that a certain region of a protein is highly dynamic. This
region consists of approx 11 residues and the most dynamic region in these
11 are the residues 5,6 and 7. Now, I need to color the ribbon in such a
way that residues 1 and 11 are the same color (green), 2 and 10 (yellow), 3
and 9 (light orange) 4 and 8 (orange) 5,6 and 7 (red). I could do this by
coding it but it becomes a step gradient and it doesn't look so good plus
if I need to do this for residues in a bunch of proteins/peptides, the task
quickly becomes tedious. I would rather write 2 lines of code for the
complete protein than write 1 line/residue/protein. Any ideas?
Thanks in advance
Vamsee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20120910/b18f880c/attachment.html>
More information about the Chimera-users
mailing list