GROMACS version: 2020
GROMACS modification: No
This error has been reported on several forums and I tried to the suggestions. However, the error persists.
I have a dimer for which I need to restrain a certain portion of in both chains. Since I am using GROMACS for a long time, I know that the position restraint file should be created for each chain. I did that.
The problem is that the grompp is accepting posres files for Chain A but throws an error for chain B. I tried several ways to create the index file and the position restraint separately for each of the chains and the desired atoms, but nothing seems to work.
My topology file section looks like this
; Include chain topologies
#include “topol_Protein_chain_A.itp”
;; Include CRD Position restraint file for Chain A
#ifdef POSRES_CRD_A
#include “posre_crd_chain_A.itp”
#endif
#include “topol_Protein_chain_B.itp”
; Include CRD Position restraint file for Chain B
#ifdef POSRES_CRD_B
#include “posre_crd_chain_B.itp”
#endif
#include “topol_Ion_chain_A2.itp”
#include “topol_Ion_chain_B2.itp”
#include “topol_Protein_chain_A3.itp”
#include “topol_Protein_chain_B3.itp”
; Include water topology
#include “./charmm36-jul2022.ff/spce.itp”
#ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif
; Include topology for ions
#include “./charmm36-jul2022.ff/ions.itp”
[ system ]
; Name
2 Protein in water
[ molecules ]
; Compound #mols
Protein_chain_A 1
Protein_chain_B 1
Ion_chain_A2 1
Ion_chain_B2 1
Protein_chain_A3 1
Protein_chain_B3 1
SOL 111424
NA 48
İ would appreciate your suggestions
Thank you