From: DeLano, W. <wa...@su...> - 2002-02-25 20:42:43
|
Due to the degeneracy of the PyMOL selection language, there are many ways. Say we want 79 to 85 and 89 to 94 in chain A... # the most concise way is=20 select name2, a/79:85+89:94/ # but alternatives include: select name2, ( a/79:85/ or a/89:94/ ) select name2, ( chain a and (resi 79:85 or resi 89:94 )) # hyphens (-) work just as well as colons (:) in the above... select name2, a/79-85+89-94/ - Warren -- mailto:wa...@su... Warren L. DeLano, Ph.D. > From: Michael S. Cosgrove, Ph.D. [mailto:co...@co...] > Hi, I am new to pymol. I was wondering if someone could help me with=20 > selecting multiple noncontinuous residues with the same name.=20 > For example,=20 > I have tried the following: > select name1, a/79/ .....# to select a single residue, > select name2, a/79:85/ ......# to select a continuous string=20 > of residues, > How do I select a collection of noncontinuous of residues=20 > that can be given=20 > the same name (i.e. name3) >=20 > Thanks, >=20 > Michael |