From: Robert C. <rob...@qu...> - 2011-03-01 16:37:21
|
Hi Martin, On Tue, 01 Mar 2011 13:44:36 +0100 Martin Hediger <ma...@bl...> 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 <rob...@qu...> http://pldserver1.biochem.queensu.ca/~rlc |