mailr14903 - /1.3/test_suite/shared_data/frame_order/free_rotor/animate.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 24, 2011 - 16:09:
Author: bugman
Date: Mon Oct 24 16:09:00 2011
New Revision: 14903

URL: http://svn.gna.org/viewcvs/relax?rev=14903&view=rev
Log:
Created a script for animating the CaM free rotor frame order model test data 
in PyMOL.


Added:
    1.3/test_suite/shared_data/frame_order/free_rotor/animate.py

Added: 1.3/test_suite/shared_data/frame_order/free_rotor/animate.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/shared_data/frame_order/free_rotor/animate.py?rev=14903&view=auto
==============================================================================
--- 1.3/test_suite/shared_data/frame_order/free_rotor/animate.py (added)
+++ 1.3/test_suite/shared_data/frame_order/free_rotor/animate.py Mon Oct 24 
16:09:00 2011
@@ -1,0 +1,35 @@
+# Script for creating an animation of the model and results.
+
+
+# Load the frame order results.
+state.load('frame_order')
+
+# Launch PyMOL.
+pymol.view()
+
+# The cone representation.
+pymol.cone_pdb('cone.pdb')
+
+# View all.
+pymol.command('zoom')
+
+# Load the distribution of structures.
+pymol.command('load distribution.pdb.gz')
+
+# Structure display.
+pymol.command('hide everything, 1J7O_1st_NH')
+pymol.command('hide everything, 1J7P_1st_NH_rot')
+pymol.command('hide everything, distribution')
+pymol.command('show spheres, 1J7O_1st_NH')
+pymol.command('show spheres, 1J7P_1st_NH_rot')
+pymol.command('show sticks, distribution')
+pymol.command('color firebrick, 1J7P_1st_NH_rot and n. N')
+pymol.command('color salmon, 1J7P_1st_NH_rot and n. H')
+
+# Animate.
+pymol.command('cmd.mplay()')
+
+# Load the original domain position.
+pymol.command('load ../1J7P_1st_NH.pdb')
+pymol.command('hide everything, 1J7P_1st_NH')
+pymol.command('show spheres, 1J7P_1st_NH')




Related Messages


Powered by MHonArc, Updated Mon Oct 24 16:40:02 2011