Difference between revisions of "Cluster:Pymol"
Line 19: | Line 19: | ||
<br> | <br> | ||
<p> | <p> | ||
− | Adapted from Erik Lindahl's ''Paralellel Molecular Dynamics: Gromacs'', Cluster World | + | Adapted from Erik Lindahl's ''Paralellel Molecular Dynamics: Gromacs'', Cluster World Vol 2 No 8, 2004. |
Revision as of 13:26, 25 May 2005
Once you have run:
grompp -f file.mdp -p topol.top -o file.tpr
Which takes as parameters a run configuration mdp file and a system topology file, topol.top and outputs a tpr file.
And after running the simulation:
mdrun -deffnm run
Run the mdrun output through a lowpass filter to smooth out the transition of the atoms in the system between time steps:
g_filter -s run.tpr -f run.xtc -ol lowpass.xtc -nx 10 -all
Convert the gromacs trajectory file to a pdb file:
trjconv -s run.topr -f lowpass.xtc -o file.pdb
In order to view just the molecule being modeled select protein for the output group.
Run pymol on the created pdb file:
pymol file.pdb
Control pymol with the VCR buttons
Adapted from Erik Lindahl's Paralellel Molecular Dynamics: Gromacs, Cluster World Vol 2 No 8, 2004.