Re: How to atomselect several residues

From: JC Gumbart (gumbart_at_ks.uiuc.edu)
Date: Wed Nov 02 2005 - 18:38:27 CST

try "resid 24 to 29 and name CA"

On Nov 2, 2005, at 5:28 PM, Grace Shen wrote:

> Dear All:
>
> My *.pgn script does not work:
> ------------------------
> set sel [atomselect top "resid 24-29 and name CA"]
> $sel set beta 0.5
> ------------------------
>
> What I want to do is to set harmonic constraints with a force constant
> of 0.5 to all the a-carbon of residue 24 to residue 29.
>
> Could anyone tell me what should I do?
>
> Thanks,
>
> Grace
>
>
> This email may contain confidential and privileged material for the
> sole use of the intended recipient.  Any review or distribution by
> others is strictly prohibited.  If you are not the intended recipient
> please contact the sender and delete all copies.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:40:07 CST