Hi, Pymol-users I have my protein shown as cartoon and colored with spectrum. Now I would like to show several residues at different places with sticks representation. when I tried, I can not get the color consistent between the backbone CA and the carbons on the sidechain.
I searched the archives, and tried something like this. col=[] iterate resi 10+20+30 and name ca, col.append((chain,resi,name,cmd.get_color_tuple(color))) cmd.color(col,"all") util.cnc("all") The first two lines will get me a color_tuple of the selected residues (CA) The third line will color all atoms as the same color of CA. The fourth line will color all none carbon atoms with the default colors. However, this does not work as I thought. Would anyone point out what mistakes I made here? Or any other solution to get the consistence between CA and the sidechain? Your help is high appreciated! Thanks! Charles
_______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe