pseudoatom tmp, pos=[X, Y, Z]
show sticks, tmp expand R
delete tmp
Working example:
load $TUT/1hpv.pdb
pseudoatom tmp, pos=[10.0, 17.0, -3.0]
show sticks, tmp expand 6
delete tmp
But like Tsjerk says, you might want to do something more like:
delete all
load $TUT/1hpv.pdb
show sticks, byres (organic expand 5)
color yellow, organic and elem c
Cheers,
Warren
--
DeLano Scientific LLC
Subscriber Support Services
mailto:de...@de...
> -----Original Message-----
> From: pym...@li...
> [mailto:pym...@li...] On Behalf
> Of Horacio Emilio Pérez Sánchez
> Sent: Friday, March 28, 2008 1:42 PM
> To: pym...@li...
> Subject: [PyMOL] Show sticks till a certain radius
>
> Hi,
>
> Given a receptor in cartoon representation and a ligand
> (sticks) in its cavity, center of mass x, y, z, I wonder how
> could I get the sticks representation of the protein (in
> addition to cartoon) but only in a region limited by a sphere
> of radius "R", with center at x, y, z.
>
> Thanks in advance
>
> Horacio
>
>
>
>
> --------------------------------------------------------------
> -----------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about
> anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
et/marketplace
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
|