Difference between revisions of "Labjournal NMA-Hemochromatosis"

From Bioinformatikpedia
(WebNM@ mode movies with pymol)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== WebNM@ mode movies with pymol ==
 
== 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">
 
<source lang="python">
Line 29: Line 31:
 
</source>
 
</source>
   
  +
The png images were then converted into a gif animation using ImageMagick.
convert -delay 10 -loop 0 mode*.png mode$i.gif
 
  +
convert -delay 10 -loop 0 mode*.png mode$i.gif

Latest revision as of 21:09, 1 September 2013

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