Trouble to apply distance restraints

GROMACS version: 2019.2
GROMACS modification: No
Here post your question


I am trying to apply distance restraint on protein in SIrah force field to prevent deformation of protein during pulling (as reducing force constant or with lower rate did not help).
In my topology I have 4 chains: ChainA, ChainB, ChainC, ChainD

Dimer1 consists of chains A,B and they are fixed during pulling by including following command in topology files:
#ifdef POSRES_A
#include “posre_Other_chain_A.itp”

#ifdef POSRES_B
#include “posre_Other_chain_B.itp”

I have created distance restraint files by following command:
gmx genrestr -f C.pdb -n C.ndx -o C.itp -disre yes -fc 1000 1000 1000 (for chain C and chain D)

and then included following command in topology of chain C:
#ifdef CONF_C
#include “C.itp”

end in mdp file: DEFINE = -DCONF_C

and then simulation works.

However, if I try to distance restrain chain D too, it does not work, I am getting some error in gromacs:

I was also getting same error if I use only :

and write in corresponding topology files:
#ifdef CONF_C
#include “C.itp”

#ifdef CONF_C
#include “D.itp”

I have tried to start simulation again by making gromacs merge chain A,B into one chain1, and merge chains C,D into another chain2, and then I have create distance restraints to chain2, and simulation started without showing any error, but I see no progress in .log file, it is on timestep 0 for hours.

I would appreciate if someone could help me with this issue. Thank you in advance.

PS. The error I get when I try to apply distance restraints to two chains simultaneously is:

getting the following error:
Program: gmx mdrun, version 2019.2
Source file: src/gromacs/listed-forces/disre.cpp (line 174)
Function: init_disres(FILE*, const gmx_mtop_t*, t_inputrec*, const t_commrec*, const gmx_multisim_t*, t_fcdata*, t_state*, gmx_bool)::<lambda()>

Assertion failed:
Condition: type_max - type_min + 1 == dd->nres
All distance restraint parameter entries in the topology should be consecutive


I would also appreciate if someone can give advice how to prevent protein being deformed during pulling, I have tried to reduce force and apply slower pulling, the slowest I tried is 0.001 and force 500 (with force 250 it was difficult to move them).
But maybe there are some another useful tips or advices?
If I would manage to get proteins not deformed during pulling, then I would not need distance restraints.

Thanx a lot.

I managed to resolve problem on another way, by inserting special bonds of type 10.

1 Like