GROMACS version: 2023.2
GROMACS modification: Yes/No
Here post your question
I have a membrane box with around 27000 atoms, which I need to add it to a water box so I can do swelling simulation. I was able to remove pbc from the water box with the following command:
gmx_mpi trjconv -f water.gro -s water.tpr -o water.gro -pbc whole
I tried doing the same thing for the membrane box, but it gave a very distorted structure.
The strange thing is that the same structure that was produced in this step was exactly obtained before doing an EM.
To understand better,
The membrane went through about 20 cycles of NVT/NPT to create the box fully combat with boundary conditions. This gave a structure with the desired density but when visualized, the structure would appear very weird occupying only half of the box. But once I did an EM for the file, it produced a nicely structured box. Then when I removed the pbc with the above command, as a step to merge this membrane with the water box, I got the same weird structure again.
note that I am a beginner in Gromacs, so please forgive my poor explanation. And let me know if you need any further info.