[gmx-users] gmx trjconv -pbc doesn't work

Justin Lemkul jalemkul at vt.edu
Mon Jul 9 16:23:28 CEST 2018

On 7/9/18 10:20 AM, Chenlin Lu wrote:
> Hello all,
> Some of my trajectories has pbc problems. The substrate diffuses out of the pbc box. And I am trying to fix it using gromacs command gmx trjconv -f {}.xtc -s {}.tpr -o {}_nopbc.xtc  -pbc nojump. But the fixed trajectories still have same problems when I check them in VMD. I caculted the gyrations which show there are no significant changes for those fixed trajectoies. Is it because the presentation problem of VMD or gromacs pbc treatments. Any advice? (gromacs pbc treatment and VMD presentaion). Thanks in advance.

Most systems require multiple iterations of trjconv, starting with 
making molecules whole, then removing jumps, then perhaps other 
centering or re-wrapping operations. See 

Without more information about what's in your system, what you tried, 
and what the actual outcome was, it's hard to suggest additional steps 
to take, but the link above should be a starting point.



Justin A. Lemkul, Ph.D.
Assistant Professor
Virginia Tech Department of Biochemistry

303 Engel Hall
340 West Campus Dr.
Blacksburg, VA 24061

jalemkul at vt.edu | (540) 231-3129


More information about the gromacs.org_gmx-users mailing list