Briefly,
1. Create an index group with "gmx make_ndx",
2. Use "gmx genrestr" and select the index group to produce the position restrain itp
3. Include the position restraint itp in the top file. 作者Author: 凉才快 时间: 2024-7-8 15:19
位置限制可以在itp文件里加:
[ position_restraints ]
; atom type fx fy fz
101(原子序号) 1 1000 1000 1000
如果完全固定坐标,可以在index文件里加
[ 组名 ]
原子序号
在mdp文件里加
freezegrps = 组名
freezedim = Y Y Y
constraints = hbonds作者Author: 低调的板凳 时间: 2024-7-8 15:20
跑MD之前的话,你可以把目标不限定位置的分子A名字改成分子B,分开引入gro和top文件,你其他21个都用的MOL, 剩下那个写个NOL啥的,其他都一样,然后位置限制的ITP就写MOL的就行。