GROMACS version: 5.1.4
GROMACS modification: No
Respected community members, I have a doubt regarding the concatenation of trajectories. I am performing a protein-ligand simulation using the latest Charmm36 ForceField. Initially I ran the simulation for 100 ns and then later I extended the simulation for additional 50 ns. I have used the following commands for performing this operation:
gmx convert-tpr -s md_0_100.tpr -extend 50000 -o md_0_150.tpr
gmx mdrun -deffnm md_0_150 -cpi md_0_100_prev.cpt -noappend
The extended simulation got completed successfully. After this I concatenated the 0-100 ns xtc file and 100-150 ns xtc files by using the following command:
gmx trjcat -f md_0_100.xtc md_0_150.part0002.xtc -o Final150_md.xtc
I am pasting the output printed on the terminal
Reading frame 1 time 99940.000
Summary of files and start times used:
File Start time Time step
md_0_100.xtc 0.000 ps 10.000 ps
md_0_150.part0002.xtc 99930.000 ps 10.000 ps
Reading frame 0 time 0.000
Continue writing frames from md_0_100.xtc t=0 ps, frame=0
Last frame 10000 time 100000.000 → frame 9000 time 90000.000 ps
Reading frame 0 time 99930.000
lasttime 99920
Continue writing frames from md_0_150.part0002.xtc t=99930 ps, frame=9993
Reading frame 5000 time 149930.000 → frame 15000 time 150000.000 ps
Last frame written was 15000, time 150000.000000 ps
I am saving the coordinates every 10.0 ps. My doubt is why the second file md_0_150.part0002.xtc starts from 99930.000 ps instead of 100000.00 ps. Since I am new to Gromacs I am not able to understand what this entire thing actually means. I also tried to repeat the concatenation step by using the same command as mentioned above but this time I introduced the -cat flag so that the two .xtc files get merged properly. I am pasting the terminal output for this exercise below:
gmx trjcat -f md_0_100.xtc md_0_150.part0002.xtc -o testconcatenatedtrajectory.xtc -cat
Reading frame 1 time 99940.000
Summary of files and start times used:
File Start time Time step
md_0_100.xtc 0.000 ps 10.000 ps
md_0_150.part0002.xtc 99930.000 ps 10.000 ps
Reading frame 0 time 0.000
Continue writing frames from md_0_100.xtc t=0 ps, frame=0
Last frame 10000 time 100000.000 → frame 10000 time 100000.000 ps
Reading frame 0 time 99930.000
lasttime 100000
Continue writing frames from md_0_150.part0002.xtc t=99930 ps, frame=10001
Reading frame 5000 time 149930.000 → frame 14010 time 140020.000 ps
Last frame written was 15008, time 150000.000000 ps
gcq#164: “Welcome to the Power Age” (2 Unlimited)
Once again the start time for th second .xtc file ( md_0_150.part0002.xtc) is 99930.000 ps. Can someone please help me in understanding what is going on here. How can I merge the two xtc files properly. Thank you in advance.