[gmx-users] Fw: asking guidance

Mansoureh Shahbazi shahbazi.2010 at rocketmail.com
Fri Mar 9 17:13:10 CET 2018

Dear director,I am using Gromacs package to perform MD simulations and I have a 100 ns long MD simulation. For the further assays, I must split this 100 ns trajectory into 100 pdb files (to get one pdf file from each 1000 ps or 1 ns of simulation).

I have found two commands: 
gmx trjconv -s topol.tpr -f md_0_1.xtc -dt 1000 -o trj.pdb
gmx trjconv –f md.xtc –s md.tpr –b 1 –e 1000 –o md.pdb (and -b 1001 -e 2000 and so on )

I tried both of them. But for the first one, I got only one pdb file and for the second command, I have to repeat the command 100 times to get them and furthermore I am not sure it gives the correct results.  Can you please tell me is there any command to split the 100 ns trajectory with the time intervals of 1000 ps and get 100 pdb files at one time?  If no, please make me aware that is the second command gives the true result?  I am looking forward to your answer, Thanks in advance for your guidance,Sincerely yours,Mansoureh


More information about the gromacs.org_gmx-users mailing list