From: Andrew Dalke (
Date: Fri Jul 25 2003 - 18:22:25 CDT

Ioana Cozmuta wrote:
> I was wondering if there is a way when using the selection criteria
> within 5 of resid 78
> to select only full residues and not single atoms that obeys this

   same residue as within 5 of resid 78

The expression "same XXX as YYY" gets all the atoms in YYY, looks
for all the XXX property values, then searches for all atoms which
have an XXX property in that set. Eg, "same resname as resid 78"
would select all ASP residues if resid 78 is an ASP.

                                        Andrew Dalke