AMBER Archive (2006)

Subject: Re: AMBER: Zoom

From: Angelo (angelo_at_holmes.cancres.nottingham.ac.uk)
Date: Thu Mar 16 2006 - 11:04:05 CST


Thanks

This script doesnt zoom..right? just move and rotate.

Angelo Pugliese

Laurent Chiche wrote:

> humm, not exactly "easy-to-follow". You have to discover much by
> yourself... there are some scripts available that you can start from
> Regarding making the movie from a loaded molecule I used scripts
> such as the following one to rotate and move:
> NB the "cmd.mset("1 x360")" makes a movie by copying the molecule
> 360 times. this is not needed if you loaded a trajectory.
> The rotations and moves are then applied to frames via the mdo commands
> Once the movie is OK, save it with mpng and get a set of png files.
> then make a mpg or avi file from the png files
> hope this helps
> laurent
> ==================================================
> install and run pymol
> load any molecule
> modify the script and name it, e.g. script.py
> within pymol, type run script.py
> ===================================================
> from glob import glob
> from pymol import cmd
> cmd.mset("1 x360")
> for i in range (1,120):
> cmd.mdo("%d"%i, "turn z, 1.0; move z, 0.2")
> for i in range (121,240):
> cmd.mdo("%d"%i, "turn y, 1.0; move z, -0.2")
> for i in range (241,360):
> cmd.mdo("%d"%i, "turn x, 1.0")
> =====================================================
>
>
> Angelo wrote:
>
>> Thanks..do you know if there is some easy-to-follow online tutorial
>> for that?
>>
>> Laurent Chiche wrote:
>>
>>> Pymol can do this quite well
>>> laurent
>>
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu