Hi all, I have done this countless time and I've "googled" this a lot. Unfortunately I have a simulation that simply won't behave.
I am trying to visualise (and analyse) a trajectory in VMD after removing the periodic boundary conditions. It is a helical dimer (important, as I need to consider bonds over the box and also two separate peptides separating over the box), in a box of water. During the first frame the dimer is whole in the box.
I have tried many combinations of trjconv with little success. The most logical, as per the Gromacs web site was:
trjconv -f human_npt_0_40ns.trr -s human_npt_0_40ns.tpr -pbc whole -e 2-o firstframe.gro
I checked the first frame - it is present as t=0.000. The protein (dimer) is whole in the box.
trjconv -f human_npt_0_40ns.trr -s firstframe.gro -pbc nojump -o nojump.gro
In VMD this displays lots of very long bonds i.e., passing through the unit cell to the other side - no good. I tried this option again with -center on the protein. Still no good. I tried to centre the protein for the trajectory after -mol nojump. Still wouldn't work. I am technically not sure what has happened here. On a similar simulation of a dimer, from the above two commands I was getting a beautiful trajectory in VMD. This would suggest that my reference file to the -pbc whole is incorrect, it is not.
Short of listing every possible combination of -pbc I will leave this here and hope that someone has some insight into removing tricky periodicity from GROMACS trajectories.
Thanks