From: Yoder, M. <Yo...@um...> - 2006-02-15 22:37:07
|
Hi all, =20 There is a beautiful ball-and-stick image on pymol-wiki that I am trying to replicate (http://www.pymolwiki.org/index.php/Ball_and_Stick). =20 The wiki image has grey bonds and light blue balls for carbon, dark blue for nitrogen, and red balls for oxygen. My problem is that all my bonds and balls are the same color, and I can't figure out how to make the bonds a grey color, distinct from the atom ball colors. And I'm trying to script this. =20 Part of my current script is below. I'm superimposing three molecules, and showing sidechain atoms for three residues (which are Args). The carbons from each molecule I want to be distinct colors, but I want the bonds in all to be grey. The ball-and-stick is displaying nicely, I just don't know how to color the thing. I suspect my problem is from earlier commands in coloring the whole molecule, and the selections below are showing these same colors. =20 --------------- what I'm currently doing ------------ =20 select ec_RR, resi 191-192+208 and eccdtb select hd_RR, resi 249-250+232 and 1sr4b select aa_RR, resi 249-250+232 and aacdtb =20 cmd.show("sticks","ec_RR+hd_RR+aa_RR") cmd.show("spheres","ec_RR+hd_RR+aa_RR") set stick_radius=3D0.2 set sphere_scale=3D0.25 ----------------end----------------- =20 Hope this is clear, Marilyn =20 Marilyn D. Yoder Division of Cell Biology and Biophysics University of Missouri-Kansas City 5007 Rockhill Rd. Kansas City, MO 64110-2499 phone: 816-235-1986 fax: 816-235-1503 =20 |