How i can solve this issue?
I read in one discussion that we can use -maxwarn option for this issue. but when i used this, it says the command line is not correct.
it is showing the following warning:
WARNING 1 [file topol.top, line 51]:
You are using Ewald electrostatics in a system with net charge. This can
lead to severe artifacts, such as ions moving into regions with low
dielectric, due to the uniform background charge. We suggest to
neutralize your system with counter ions, possibly in combination with a
physiological salt concentration.
Fatal error:
Too many warnings (1).
If you are sure all warnings are harmless, use the -maxwarn option.
Could you send the exact command you used and error you got regarding the command line not being correct? Adding -maxwarn 1 to the command should work if the issue is just ignoring 1 warning.
Alternatively, you could use gmx genion to add ions to neutralize the charge if it’s not necessary to the simulation
WARNING 1 [file topol.top, line 51]:
You are using Ewald electrostatics in a system with net charge. This can
lead to severe artifacts, such as ions moving into regions with low
dielectric, due to the uniform background charge. We suggest to
neutralize your system with counter ions, possibly in combination with a
physiological salt concentration.
There were 2 notes
There was 1 warning
Program: gmx grompp, version 2020.1-Ubuntu-2020.1-1
Source file: src/gromacs/gmxpreprocess/grompp.cpp (line 2353)
Fatal error:
Too many warnings (1).
If you are sure all warnings are harmless, use the -maxwarn option.
Do not override the warning. The fractional charge is unphysical and it means your topology is wrong. If your system is a protein, you likely chose the wrong patches for at least one terminus. Please give us the details of how you generated the topology and what terminus types you used.
actually i am using a aromatase protein (PDB: 3eqm)
this protein has Hem group inside it in addition to ligand.
i want to do the simulation of my compound with the protein but i also wanted that hem group to be present inside the protein
When i generated the topology file for the protein having Hem group
then in addition to posre, topol and processed file i also got two other topolo itp files which named as topol_Other_chain_A2
and topol_Protein_chain_A
;
; File ‘topol.top’ was generated
; By user: unknown (1000)
; On host: DESKTOP-3FJM5T1
; At date: Thu Jul 13 00:44:12 2023
;
; This is a standalone topology file
;
; Created by:
; :-) GROMACS - gmx pdb2gmx, 2020.1-Ubuntu-2020.1-1 (-:
;
; Executable: /usr/bin/gmx
; Data prefix: /usr
; Working dir: /mnt/c/users/Qc/Desktop/Heme-MD
; Command line:
; gmx pdb2gmx -f pro.pdb -o pro_processed.gro -ter -ignh -missing
; Force field was read from the standard GROMACS share directory.
;
; Include forcefield parameters #include “charmm27.ff/forcefield.itp” #include “lig.itp”
; Include chain topologies #include “topol_Protein_chain_A.itp” #include “topol_Other_chain_A2.itp”
; Ligand position restraints #ifdef POSRES_LIG #include “posre_lig.itp” #endif
; Include water topology #include “charmm27.ff/tip3p.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 “charmm27.ff/ions.itp”
[ system ]
; Name
Protein in water
[ molecules ]
; Compound #mols
Protein_chain_A 1
Other_chain_A2 1
lig 1
SOL 17628
NA 1
while the information regarding the dihedrals and other stuff are present in the files that i mentioned in previous msg
The end of each [moleculetype] in the .itp files will list its net charge if it was produced by pdb2gmx. Check the protein topology and if it has a fractional charge, it is almost certainly because you chose incorrect terminus patching. If it is coming from the ligand (lig.itp), then you need to correctly assign charges.
i checked it…as i told you three files were generated for the protein one was topolo.top and the other two were itp files. the dihedral and bond parameters for heme group and protein were separately given in these two files.
i checked the file with HEME group, it has a charge in fractional value
can you lease check this, i think due to this file i am getting errors.
;
; File ‘topol_Other_chain_A2.itp’ was generated
; By user: unknown (1000)
; On host: DESKTOP-3FJM5T1
; At date: Thu Jul 13 00:44:56 2023
;
; This is a include topology file
;
; Created by:
; :-) GROMACS - gmx pdb2gmx, 2020.1-Ubuntu-2020.1-1 (-:
;
; Executable: /usr/bin/gmx
; Data prefix: /usr
; Working dir: /mnt/c/users/Qc/Desktop/Heme-MD
; Command line:
; gmx pdb2gmx -f pro.pdb -o pro_processed.gro -ter -ignh -missing
; Force field was read from the standard GROMACS share directory.
;
[ moleculetype ]
; Name nrexcl
Other_chain_A2 3
[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
; residue 600 HEM rtp HEME q -5.3
1 FE 600 HEM FE 1 0.24 55.847
2 NPH 600 HEM NA 2 -0.18 14.007
3 NPH 600 HEM NB 3 -0.18 14.007
4 NPH 600 HEM NC 4 -0.18 14.007
5 NPH 600 HEM ND 5 -0.18 14.007
6 CPA 600 HEM C1A 6 0.12 12.011
7 CPB 600 HEM C2A 7 -0.06 12.011
8 CPB 600 HEM C3A 8 -0.06 12.011
9 CPA 600 HEM C4A 9 0.12 12.011
10 CPA 600 HEM C1B 10 0.12 12.011
11 CPB 600 HEM C2B 11 -0.06 12.011
12 CPB 600 HEM C3B 12 -0.06 12.011
13 CPA 600 HEM C4B 13 0.12 12.011
14 CPA 600 HEM C1C 14 0.12 12.011
15 CPB 600 HEM C2C 15 -0.06 12.011
16 CPB 600 HEM C3C 16 -0.06 12.011
17 CPA 600 HEM C4C 17 0.12 12.011
18 CPA 600 HEM C1D 18 0.12 12.011
19 CPB 600 HEM C2D 19 -0.06 12.011
20 CPB 600 HEM C3D 20 -0.06 12.011
21 CPA 600 HEM C4D 21 0.12 12.011
22 CPM 600 HEM CHA 22 -0.1 12.011
23 CPM 600 HEM CHB 23 -0.1 12.011
24 CPM 600 HEM CHC 24 -0.1 12.011
25 CPM 600 HEM CHD 25 -0.1 12.011
26 CT3 600 HEM CMA 26 -0.27 12.011
27 CT2 600 HEM CAA 27 -0.18 12.011
28 CT2 600 HEM CBA 28 -0.28 12.011
29 CC 600 HEM CGA 29 0.62 12.011
30 OC 600 HEM O1A 30 -0.76 15.999
31 OC 600 HEM O2A 31 -0.76 15.999
32 CT3 600 HEM CMB 32 -0.27 12.011
33 CE1 600 HEM CAB 33 -0.15 12.011
34 CE2 600 HEM CBB 34 -0.42 12.011
35 CT3 600 HEM CMC 35 -0.27 12.011
36 CE1 600 HEM CAC 36 -0.15 12.011
37 CE2 600 HEM CBC 37 -0.42 12.011
38 CT3 600 HEM CMD 38 -0.27 12.011
39 CT2 600 HEM CAD 39 -0.18 12.011
40 CT2 600 HEM CBD 40 -0.28 12.011
41 CC 600 HEM CGD 41 0.62 12.011
42 OC 600 HEM O1D 42 -0.76 15.999
43 OC 600 HEM O2D 43 -0.76 15.999 ; qtot -5.34
When you generated the files with pdb2gmx, was there a point where you were asked to “Select start terminus type” followed by a list of options to choose? If so, which ones did you choose? As mentioned in some of the earlier replies, an incorrect choice is a likely cause of the error. Could you provide the entire output message you got when you ran pdb2gmx?
after this step i got these files topol.top (1.1 KB)
the other two files were .itp files i am unable to send that files as this system does not support them.
Polypeptides at neutral pH have NH3+ and COO- termini, so that’s generally what you should choose. As Karis said, providing the complete terminal output from pdb2gmx (including your command, everything copied and pasted) would be extremely informative for us if you’re running into problems at that point.
i used these.
i am facing problem at the point when i run em.mdp file
it says a warning with non zero charge value
i am attaching the topol.top file and other two files which were generated were .itp files… i am copy pasting the file with Heme group here.
;
; File ‘topol_Other_chain_A2.itp’ was generated
; By user: unknown (1000)
; On host: DESKTOP-3FJM5T1
; At date: Fri Jul 14 10:55:39 2023
;
; This is a include topology file
;
; Created by:
; :-) GROMACS - gmx pdb2gmx, 2020.1-Ubuntu-2020.1-1 (-:
;
; Executable: /usr/bin/gmx
; Data prefix: /usr
; Working dir: /mnt/c/Users/Qc/Desktop/Heme-MD
; Command line:
; gmx pdb2gmx -f pro.pdb -o pro_processed.gro -ignh -missing
; Force field was read from the standard GROMACS share directory.
;
[ moleculetype ]
; Name nrexcl
Other_chain_A2 3
[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
; residue 600 HEM rtp HEME q -5.3
1 FE 600 HEM FE 1 0.24 55.847
2 NPH 600 HEM NA 2 -0.18 14.007
3 NPH 600 HEM NB 3 -0.18 14.007
4 NPH 600 HEM NC 4 -0.18 14.007
5 NPH 600 HEM ND 5 -0.18 14.007
6 CPA 600 HEM C1A 6 0.12 12.011
7 CPB 600 HEM C2A 7 -0.06 12.011
8 CPB 600 HEM C3A 8 -0.06 12.011
9 CPA 600 HEM C4A 9 0.12 12.011
10 CPA 600 HEM C1B 10 0.12 12.011
11 CPB 600 HEM C2B 11 -0.06 12.011
12 CPB 600 HEM C3B 12 -0.06 12.011
13 CPA 600 HEM C4B 13 0.12 12.011
14 CPA 600 HEM C1C 14 0.12 12.011
15 CPB 600 HEM C2C 15 -0.06 12.011
16 CPB 600 HEM C3C 16 -0.06 12.011
17 CPA 600 HEM C4C 17 0.12 12.011
18 CPA 600 HEM C1D 18 0.12 12.011
19 CPB 600 HEM C2D 19 -0.06 12.011
20 CPB 600 HEM C3D 20 -0.06 12.011
21 CPA 600 HEM C4D 21 0.12 12.011
22 CPM 600 HEM CHA 22 -0.1 12.011
23 CPM 600 HEM CHB 23 -0.1 12.011
24 CPM 600 HEM CHC 24 -0.1 12.011
25 CPM 600 HEM CHD 25 -0.1 12.011
26 CT3 600 HEM CMA 26 -0.27 12.011
27 CT2 600 HEM CAA 27 -0.18 12.011
28 CT2 600 HEM CBA 28 -0.28 12.011
29 CC 600 HEM CGA 29 0.62 12.011
30 OC 600 HEM O1A 30 -0.76 15.999
31 OC 600 HEM O2A 31 -0.76 15.999
32 CT3 600 HEM CMB 32 -0.27 12.011
33 CE1 600 HEM CAB 33 -0.15 12.011
34 CE2 600 HEM CBB 34 -0.42 12.011
35 CT3 600 HEM CMC 35 -0.27 12.011
36 CE1 600 HEM CAC 36 -0.15 12.011
37 CE2 600 HEM CBC 37 -0.42 12.011
38 CT3 600 HEM CMD 38 -0.27 12.011
39 CT2 600 HEM CAD 39 -0.18 12.011
40 CT2 600 HEM CBD 40 -0.28 12.011
41 CC 600 HEM CGD 41 0.62 12.011
42 OC 600 HEM O1D 42 -0.76 15.999
43 OC 600 HEM O2D 43 -0.76 15.999 ; qtot -5.34
Terminal output as in the messages you got when you entered the commands (so the warnings, error messages, notes, etc.), just copy paste everything that shows up when you ran pdb2gmx including the exact command you used