Re: AMBER: distance.restraint for two groups of atoms (center of mass)

From: David A. Case <>
Date: Sat, 12 May 2007 10:18:59 -0700

On Sat, May 12, 2007, Catein Catherine wrote:
> I am interest to do the distance restraint for two groups of atoms using
> their center of mass. It is the way I set the distance.restraint file.
> However, it did not work properly.

It would be more helpful if, instead of just saying "it did not work
properly", you said exactly what sort of result to obtained.

> # distance restrainst for group 1 (atom 122-150) and group 2 (atom 151 to
> 169)
> &rst iat=1,2, r1=0.0, r2=5.0, r3=5.0, r4=50.0, rk2 =30.0, rk3 = 30.,
> igr1(122/150), igr2(151/169), ir6=0 /

This is illegal syntax in the namelist command. "igr1" and "igr2" are arrays,
that have to be filled in, probably like this:

igr2 = 151,152,153,154,155,156,157,158,159,160,161,

I don't think the "0" is required at the end, but it might be safer to put it

...good luck...dac
The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Sun May 13 2007 - 06:07:48 PDT
Custom Search