Hi Jay,

Do you mean you want to draw a sphere at some specific point? Or is
there more to it? A sphere could be drawn in two ways. You could use
CGOs for that:

from pymol.cgo import *
cmd.load_cgo([SPHERE,x,y,z,r,R,G,B],"sphere"])

substituting x, y, and z for the coordinates of the center, r for the
radius, and R, G, and B for the color. Alternatively you can use
'pseudoatom', which gives more flexibility in changing color and
radius dynamically:

pseudoatom sphere, pos=(x,y,z), color=wheat, vdw=r

Hope it helps,

Tsjerk


2010/9/9 SongJianHui <[email protected]>:
> Hi all,
>
> I am using pymol to monitor the structure evolution of one protein which
> could be bound to some fixed points on a spherical surface. However, I have
> no idea about how to incorporate these active points in pymol. Any
> suggestion is welcome. Thanks in advance.
>
> Cheers,
> Jay
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> PyMOL-users mailing list ([email protected])
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/[email protected]
>



-- 
Tsjerk A. Wassenaar, Ph.D.

post-doctoral researcher
Molecular Dynamics Group
Groningen Institute for Biomolecular Research and Biotechnology /
University of Groningen
The Netherlands

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to