[Chimera-users] retrieving assigned color and ribbon thickness

Elaine Meng meng at cgl.ucsf.edu
Tue Jan 4 10:22:58 PST 2011

Hi Sumitro,
You can use the Selection Inspector to get color RGB values.  For example, you could Ctrl-click to select one residue's ribbon segment, then click the green magnifying glass on the lower right corner of the Chimera window to open the Selection Inspector, and then inspect "Residue" -- there will be a square color well with the ribbon color, and if you click that color well, the Color Editor will appear with that color in it, and sliders showing the RGB values.  

When you were originally setting the ribbon dimensions in the Ribbon Style Editor, if you saved the settings with a name, the name will be shown as the "ribbon scaling" in the Residue part of the Selection Inspector.   You would have to reopen the Ribbon Style Editor and go to that name again to see what the corresponding dimensions were.  If you didn't give the settings any name, however, I don't know of any easy way to figure out the exact dimensions.  If you had a session file, it is embedded in there somewhere, but I don't know how to find it.  Maybe someone else can advise on that point.  However, clearly the better way if you are starting anew is to give the settings a name in the Ribbon Style Editor before applying them to the structure.

I hope this helps,
Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Jan 3, 2011, at 9:40 PM, Sumitro Harjanto wrote:

> Hi Elaine, 
> I’m wondering if it is possible to retrieve the numerical (RGB) values of the color & ribbon width that I have previously assigned to certain residue(s). I often try out a certain color and save it in a session, but when I come back to the session and try to apply the color to the other residues I realized I forgot what’s the RGB value I’ve assigned and have to resort to visual inspection (which is not very accurate). The same problem I have experienced with the ribbon thickness. Is there a way for me to keep a record of / retrieve these values? Thanks!
> Cheers,
> Sumitro  

More information about the Chimera-users mailing list