[gmx-users] Distance restraints

zhong qiang zqiang1980 at hotmail.com
Tue Feb 6 14:04:47 CET 2007


Hi:
   I want to constuct my .top file, In my molecular system four calcium 
ions binding at four site, I use pdb2gmx  make a top file, But there is not 
topology information about calcium ions, I insert a distance restraints in 
.top file, just like below:
[ distance restraints ]
;  ai    aj  type index type’ low up1 up2 fac
 1460   207     1     2   1   0.0 0.3 0.4 1.0
 1460   208     1     2   1   0.0 0.3 0.4 1.0
 1460   210     1     2   1   0.0 0.3 0.4 1.0
 1460   229     1     2   1   0.0 0.3 0.4 1.0
.........................

then I run
grompp -f fullmd_sol.mdp -c minimized_water.gro -p 1ckk.top -o fullmd.tpr
But error message present:
ERROR 1 [file "1ckk.top", line 9029]:
  Invalid directive distance restraints

Then I delete line [ distance restraints ]
the error report:
Fatal error:
Incorrect number of parameters - found 4, expected 3 or 6.

Could somebody tell me how to add a distance restraints correctly?
Thank you very much!

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  




More information about the gromacs.org_gmx-users mailing list