Hi Martin,

On Tue, 01 Mar 2011 13:44:36 +0100 Martin Hediger <ma....@bluewin.ch> wrote:

> Dear all
> What is the selection syntax to select all GLU and ASP residues within 
> an object?
> 
> I'm trying it the way its written on the wiki:
> 
> remove resn hoh    # remove water
> h_add              # add hydrogens
> 
> as surface
> color grey90
> 
> color slate, resn lys       # lysines in light blue
> color paleyellow, resn cys  # cysteines in light yellow
> *color tv_red, (resn asp or(resn glu))  # aspartic and glutamic acid in light 
> red*

The easier way to write that is:

 color tv_red, resn asp+glu

You can string several sorts of selections together that way, for example:

select actsite, resi 105+262+286

select aliphatic, resn ala+val+leu+ile

Cheers,
Rob

-- 
Robert L. Campbell, Ph.D.
Senior Research Associate/Adjunct Assistant Professor 
Botterell Hall Rm 644
Department of Biochemistry, Queen's University, 
Kingston, ON K7L 3N6  Canada
Tel: 613-533-6821            Fax: 613-533-2497
<robert.campb...@queensu.ca>    http://pldserver1.biochem.queensu.ca/~rlc

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to