Dear All,
I am trying to simulate a dimer and would like to restrain a part of it on both chains. not a problem and the error is commonşy reported. so i tried all teh suggestions but none is working as grompp is accepting one of the posres files but throws the error for the other one. my toplogy file 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
--------------------
any suggestions are appreciated.
thank you
ayesha