From: M K (mahyar.karimi20_at_gmail.com)
Date: Mon Nov 02 2015 - 04:11:35 CST

Another method is using exwithin:

same residue as (exwithin 5 of resid 87)

On Mon, Nov 2, 2015 at 8:37 PM, Kshatresh Dutta Dubey <kshatresh_at_gmail.com>
wrote:

> Thanks Karteek!! It works.
>
> On Mon, Nov 2, 2015 at 11:22 AM, Karteek Kumar <karthik3327_at_gmail.com>
> wrote:
>
>> Hi,
>>
>> Try with
>>
>> same residue as within 5 of resid 87 and not resid 87
>> if not
>> not resid 87 and same residue as within 5 of resid 87
>>
>> cheers
>> Karteek
>>
>> On Mon, Nov 2, 2015 at 2:42 PM, Kshatresh Dutta Dubey <
>> kshatresh_at_gmail.com> wrote:
>>
>>> Dear Users,
>>>
>>> It may be a novice question. I want to select all residues within 5 of
>>> resid 87 but not resid 87 itself. I am using selection as
>>>
>>> (same residue as within 5 of resid 87) not resid 87
>>>
>>> but VMD is not accepting this selection keyword. Please help me to use
>>> proper keyword.
>>> Thanks in advance
>>> Regards
>>> Kshatresh
>>>
>>>
>>>
>>
>
>
> --
> With best regards
>
> ************************************************************************************************
> Kshatresh Dutta Dubey
> Post Doctoral Researcher,
> Lise Meitner Center for Computational Quantum Chemistry
> Hebrew University of Jerusalem Israel
> Jerusalem, Israel
>
>
>