GROMACS version: 2022.1
GROMACS modification: No
Here post your question:
I have spent a considerable amount of time on the above problem concluding that maybe the inflategro.pl needs to be adjusted to generate a proper system_inflate.gro file exhibiting a correctly generated top atom count of 36263 matching the topol.top.
After running the below command:
gmx grompp -f minim_inflategro.mdp -c system_inflated.gro -p topol.top -r system_inflated.gro -o system_inflated_em.tpr
I received the below error:
Fatal error: number of coordinates in coordinate file (system_inflated.gro, 41663) does not match topology (topol.top, 36263)
Prior to this command I performed the below command to generate the system_inflate.gro file:
Step Three: Defining the Unit Cell & Adding Solvent
- Pack the lipids around the protein
perl inflategro.pl system.gro 4 DPPC 14 system_inflated.gro 5 area.dat
this resulted in the output below:
There are 20 lipids within cut-off range… 11 will be removed from the upper leaflet… 9 will be removed from the lower leaflet… I then removed these 20 lipids from my topol.top file resulting in a topol.top DPPC 108 total.
-
My generated system_inflate.gro is defunct not exhibiting a proper visualization via Pymol nor VMD.
-
My generated system_inflate.gro exhibits a generated 41663 total atom count instead of the proper 36263.
-
My generated system_inflate.gro file exhibits 30863 residue atoms and 128 lipids (128 x 50 = 6400 lipid atoms) only totaling 37263 total atoms accordingly it can not reach the intended 41663 atom count when inputting the below command:
gmx grompp -f minim_inflategro.mdp -c system_inflated.gro -p topol.top -r system_inflated.gro -o system_inflated_em.tpr
In conclusion my system_inflate.gro file should of generated a total atom top count of 36263 allowing me to then run the command:
gmx grompp -f minim_inflategro.mdp -c system_inflated.gro -p topol.top -r system_inflated.gro -o system_inflated_em.tpr
which would of then of read all atoms of my system_inflated.gro file up until DPPC 109 i.e. 36263 atoms from the total of 37263 total atoms in this file.
I do not believe that this is a bookkeeping issue adjustment and instead believe it is maybe an oligomer inflategro.pl compatibility problem since when similarly running these two commands for the KALP Membrane Protein the system_inflate.gro generated file for KALP runs error free throughout the energy minimization via its system_inflate.gro file exhibiting a top generated total atom count of 6438 resulting in it being properly read through the 138th final residue atom into the 126th DPPC final 6300th DPPC atom; 138 + 6300 = 6438 (two DPPC were deducted, 127 and 128).
Any insight would be greatly appreciated to help fix this error, thanks:)