How create uneven box for all-atom simulation

Gromacs version: 2024.6

Hey everyone,

I am working with a protein-membrane system that includes post-translational modifications. I built the whole model using CHARMM-GUI and ran a small minimization using GROMACS as the last step. Thereafter, I downloaded all the files, and currently I am trying to run a GMX simulation on my PC.

The problem is that I want the box/cell to be longer on the side of the protein embedded in the membrane and shorter on the other side; we have already checked that the protein is not crossing the membrane, so we don’t want any extra water molecules on the other side.
If anyone knows how to do that, please help. Currently, I used the given command, but it was not working.

Command: gmx_mpi editconf -f system_dry.gro -o box.gro -box 18.63532 18.63532 20.0 -translate 0 0 -2.5

Hi @girishparm

This is not how MD simulations for biosystems work, please take a look at Periodic Boundary Conditions.

Hey, @obZehn

I understand that Gromacs doesn’t work like that, but I just want to know if we can shift the center of mass of the model or move the center to the lower end of the box.

In visualization terms, yes you can. It is better if you do it with trjconv as this will also correct for periodicity, something like

gmx trjconv -f your_structure.gro -s your_tpr.tpr -pbc mol -trans 0 0 -2.5

should do the job!

Thank you.