It is important to see the behavior of protein during an MD simulation. This can be achieved by taking snapshots in the form of PDB format. In this article, we have provided a few commands that you can use to take snapshots of a complete system or protein during MD simulation.
For this purpose, we are going to use the gmx trjconv module of GROAMCS . We will use the .xtc file as input.
$ gmx trjconv -f md_0_1.xtc -s md_0_1.tpr -dump <time> -o snapshot.pdb
For example, if you want to extract a system’s image at 100 ps, then the command will go like this:
$ gmx trjconv -f md_0_1.xtc -s md_0_1.tpr -dump 100 -o snapshot.pdb
Choose ‘system’ when prompted or any other appropriate option that you want to take a snapshot of.
If you want to take a snapshot between two times of frames, then use the following command.
$ gmx trjconv -f md_0_1.xtc -s md_0_1.tpr -b <time of first frame> -e <time of last frame> -o snapshots.pdb
- Abraham, M. J., Murtola, T., Schulz, R., Páll, S., Smith, J. C., Hess, B., & Lindahl, E. (2015). GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX, 1, 19-25.
How to install GROMACS on Apple M1 (MacOS)?
GROMACS: Uses & Applications
GROMACS stands for GROningen MAchine for Chemical Simulations . It is a very popular and one of the most widely used open-source bioinformatics software. It is generally used for molecular dynamics simulation of macromolecules. In this article, we will explain its uses and applications in bioinformatics studies. (more…)
Easy installation of GROMACS on Ubuntu 18.04 & 20.04
We have provided several articles on GROMACS  installation on Ubuntu including the easy installation method for GROMACS version 5.x.x. In this article, we will provide shell scripts to install the latest (2021 series) of GROMACS on Ubuntu 18.04 and 20.04. (more…)