Fatal error: lnvalid line in complex.gro for atom 23403 during DEFINING UNIT CELL

GROMACS version:2022.1
GROMACS modification: Yes/No
Here post your question :
Protein-Ligand Complex-Define Box and Solvate:

during the command:

gmx editconf -f complex.gro -o newbox.gro -bt dodecahedron -d 1.0

the below fatal error occurs: Invalid line in complex.gro for atom 23403:

The gro file that I couldn’t protein correctly using gmx pdb2gmx -f c1.pdb -o c1.gro -ter creates the gro file correctly when I use gmx pdb2gmx -f c1.pdb -o c1.gro -ter -ignh, and also creates the complex.gro file according to the instructions.

Hi the above link can be viewed by anyone, complex.gro and protein.gro file to discover fatal error:

Invalid line in complex.gro for atom 23403 appears

Thanks:)

Hi Louis, the files still require permission to access

I changed the permissions.

thank you

Does it work if you remove the empty line you highlighted separating the 2 molecules?

As well as the empty line before the box dimensions.

thank you

After I followed the tutorial on solvation and added ions, I ran gmx grompp -f em.mdp -c solv_ions.gro -p topol.top -o em.tpr with the fatal error: the largest distance between excuded atoms is 6.113nm. Thank you.

Thank you.

If you visualize the system in VMD, does the periodic box look correct? Use the options in the Periodic tab in Graphical Representations. Are there are gaps between the periodic cells or overlaps between them?

After I did both of the following correctly
gmx editconf -f complex.gro -o newbox.gro -c -d 1.2 -bt cubic
gmx solvate -cp newbox.gro -cs spc216.gro -o solv.gro -p topol.top
, error running gmx grompp -f ions.mdp -c solv.gro -p topol.top -o ions.tpr.




Here are the related files including topol.top, newbox.gro, ions.mdp.

Thank you

Thanks. I’ll check it out.

In vmd it shows the following,Thanks.

I’d found a post where someone encountered a similar issue, apparently it’s one specific to the version of gromacs you’re using

thanks