GROMACS version: 2019.2
GROMACS modification: No
Here post your question
Hello,
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”
#endif
#ifdef POSRES_B
#include “posre_Other_chain_B.itp”
#endif
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”
#endif
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:
DEFINE = -DCONF_C -DCONF_D
I was also getting same error if I use only :
DEFINE = -DCONF_C
and write in corresponding topology files:
#ifdef CONF_C
#include “C.itp”
#endif
#ifdef CONF_C
#include “D.itp”
#endif
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