Labjournal NMA-Hemochromatosis

From Bioinformatikpedia
Revision as of 21:09, 1 September 2013 by Betza (talk | contribs) (WebNM@ mode movies with pymol)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WebNM@ mode movies with pymol

In order to make a movie from the c-alpha trajectory from WebNM@, the following PyMol script was used to generate a series of png images.

<source lang="python"> reinitialize load ./1A6ZA.pdb, 1A6ZA


hide everything, all show cartoon, 1a6zA color green, 1a6zA


mset 2 -10 -2 set ray_trace_frames, 1 set cache_frames=0 mclear set cartoon_transparency, 0.4


load modes_visualization/1A6Z.mode$i.xyz, Mode$i load_traj ./modes_visualization/1A6Z.mode$i.dcd, Mode$i hide everything, Mode$i show ribbon, Mode$i color red, Mode$i mclear mpng movies/movie$i/mode$i hide everything, Mode$i </source>

The png images were then converted into a gif animation using ImageMagick.

convert -delay 10 -loop 0 mode*.png mode$i.gif