Re: How to atomselect several residues

From: Nara Dashdorj (dnr_at_physics.purdue.edu)
Date: Wed Nov 02 2005 - 19:12:10 CST

resid 24-29 would not work, just put

resid 24 to 29

then it should work

--nd

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