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 pal
Hi Martin,
The wiki way should work. The only thing I can think of is that you're
not doing what you think you're doing :S
Did you copy paste the commands from the wiki? Did you get an error?
What version are you using?
> but, the selection kind of does not work for me (I'm assuming the operator
Hi Martin,
Try the following:
color tv_red, resn asp+glu
or
color tv_red, resn asp or resn glu
Cheers,
2011/3/1 Martin Hediger
> 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 h
Hi Martin -
** Short answer:
Use `resn asp+glu` (although your original command actually works for me).
** Not-so-short answer, with a bonus question about comment syntax:
The Asp/Glu line of your script can be condensed slightly using a plus sign,
but the original syntax of that line actually
Hi Martin,
To select all ASPs and GLUs just type,
select resn GLU+ASP
or
select resn GLU or resn ASP
or, if you need parentheses,
select ((resn GLU) or (resn ASP))
Maybe this will help:
# fetch a test protein
fetch 1rsy, async=0
# color all ASPs and GLUs red
color tv_red, (resn ASP or r
Hi Martin,
On Tue, 01 Mar 2011 13:44:36 +0100 Martin Hediger 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
>