I have mad a lot of these pictures, and the solution is to create two
objects for the substrate.

object1, displayed as sticks in the desired color, and
object2 dipslayed as spheres in the desired color(s)

and then "set sphere_scale, 0.3, object2"


Example (if the file contains a residue named "NAD")

load molecule.pdb, complex
create prot, complex and not resn NAD
create nad1, complex and resn NAD
create nad2, nad1
disable complex
show sticks, nad1
color grey70, nad1
show spheres, nad2
set sphere_scale, 0.3, nad2


Hope this helps


Esben

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Zach
> Sent: 18. maj 2004 23:36
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] Ball & Stick representation
> 
> 
> Hello to all,
> 
> I have a protein that contains a substrate and for which I 
> want to create a picture. For the substrate I would like to 
> use a ball and stick representation such that the spheres are 
> colored by atom type and the sticks are on a single color. My 
> problem is that I have not been able to give different color 
> schemes to the sticks and spheres. How do I do that? Any help 
> is greatly appreciated. Thanks,
> 
> Zach
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband 
> Sign-up now for SourceForge Broadband and get the fastest 
> 6.0/768 connection for only $19.95/mo for the first 3 months! 
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users

Reply via email to