# MD Analysis

**URL:** <https://gromacs.bioexcel.eu/t/md-analysis/3977>\
**Category:** User discussions\
**Tags:** mdp-parameters, mdrun, analysis-tools\
**Created:** [April 7, 2022, 5:20pm UTC](https://gromacs.bioexcel.eu/t/md-analysis/3977 "2022-04-07T17:20:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santosh456](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@Santosh456](https://gromacs.bioexcel.eu/u/Santosh456)\
**Post date:** [April 7, 2022, 5:20pm UTC](https://gromacs.bioexcel.eu/t/md-analysis/3977/1 "2022-04-07T17:20:40Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question  
During the calculation of rmsd or other parameters. I used following command gmx rms -s em.tpr -f md\_0\_10\_center.xtc -n index.ndx -tu ns -o rmsd\_jz4.xvg. I have confusion on .tpr file. Is .tpr file should be from the energy minimization step (i.e. em.tpr) or should it be from MD stage (i.e. md.tpr)?

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [April 8, 2022, 2:03am UTC](https://gromacs.bioexcel.eu/t/md-analysis/3977/2 "2022-04-08T02:03:46Z")

</div>

It depends on what you want. The `em.tpr` file contains the starting structure, prior to any influence of the force field (presumably an experimentally determined structure). If you want RMSD relative to this structure, supply it as the reference. The `md.tpr` file contains the equilibrated structure, which has been energy-minimized and equilibrated after some period of dynamics. If this RMSD value is useful to you, use that as the reference.

---

<div class="post-metadata">

**Author:** ![Santosh456](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@Santosh456](https://gromacs.bioexcel.eu/u/Santosh456)\
**Post date:** [April 8, 2022, 4:10pm UTC](https://gromacs.bioexcel.eu/t/md-analysis/3977/3 "2022-04-08T16:10:59Z")

</div>

Thank You Sir
