Frank,

PyMOL's atom selection language is based on logical operators over sets of
atoms.

"and" is the intersection and "or" the union.  You're looking for 

   create forst2, (resi 1 or resi 32 or resi 356)

Using macros, this can be reduced to:

   create forst, 1+32+356/

Please see the manual:

http://pymol.sourceforge.net/newman/user/S0220commands.html#7

For more on atom selections.

Cheers,
Warren


> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Dr. S. Frank Yan
> Sent: Wednesday, February 04, 2004 7:47 PM
> To: Morri Feldman
> Cc: pymol-users@lists.sourceforge.net
> Subject: Re: [PyMOL] different stick_radius for different residues
> 
> Thanks a lot!  I have a another question.  Is there way to 
> define a group of residues which are not linked to each 
> other.  I tried 
> 
> create forst2, (resi 1 and resi 32 and resi 356)
> 
> but it doesn't work.  Thanks, Frank
> 
> 
> 
> --- Morri Feldman <mfeld...@itsa.ucsf.edu> wrote:
> > Dear Frank,
> > 
> > try:
> > 
> > create forSticks1, resi 1-2
> > show sticks, forSticks1
> > set stick_radius, .25, forSticks1
> > 
> > create forSticks2, resi 12-15
> > show sticks, forSticks2
> > set stick_radius, .1, forSticks2
> > 
> > By using create, you create a new named object with its own 
> settings 
> > database.  The new object's settings can be set 
> independently of other 
> > objects.
> > 
> > Best,
> > Morri
> > 
> > On Tue, 3 Feb 2004, Dr. S. Frank Yan wrote:
> > 
> > > Hi, I was wondering if Pymol is capable of setting 
> different stick 
> > > thickness for different residues
> > of a
> > > molecule.  I tried
> > >
> > > set stick_radius=0.25
> > > show sticks, resi 1-2
> > > set stick_radius=0.1
> > > show sticks, resi 12-15
> > >
> > > It appears that the stick_radius variable is
> > global,
> > > and it changes the thickness of all the sticks.
> > >
> > > Thanks, Frank
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free web site building tool.
> > Try it!
> > > http://webhosting.yahoo.com/ps/sb/
> > >
> > >
> > >
> >
> -------------------------------------------------------
> > > The SF.Net email is sponsored by EclipseCon 2004 Premiere 
> Conference 
> > > on Open Tools Development and
> > Integration
> > > See the breadth of Eclipse activity. February 3-5
> > in Anaheim, CA.
> > > http://www.eclipsecon.org/osdn
> > > _______________________________________________
> > > PyMOL-users mailing list
> > > PyMOL-users@lists.sourceforge.net
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> > >
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004 Premiere 
> Conference on Open Tools Development and Integration See the 
> breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 



Reply via email to