|
From: Warren D. <wa...@de...> - 2005-08-15 18:48:18
|
Try something like this:
# Save as a .pml file
load $PYMOL_PATH/test/dat/pept.pdb
for st in range(2,31): \
cmd.create("pept","pept",st-1,st) \
cmd.frame(st) \
cmd.edit("4/cb","4/ca") \
cmd.torsion(5)=20
edit
movie.sweep
rewind
mplay
Cheers,
Warren
--
Warren L. DeLano, Ph.D. =20
Principal Scientist
. DeLano Scientific LLC =20
. 400 Oyster Point Blvd., Suite 213 =20
. South San Francisco, CA 94080 USA =20
. Biz:(650)-872-0942 Tech:(650)-872-0834 =20
. Fax:(650)-872-0273 Cell:(650)-346-1154
. mailto:wa...@de... =20
=20
> -----Original Message-----
> From: pym...@li...
> [mailto:pym...@li...] On Behalf Of Xavier=20
> Deupi
> Sent: Monday, August 15, 2005 11:38 AM
> To: pym...@li...
> Subject: [PyMOL] torsion + movie
>=20
> Hi,
>=20
> I'm trying to create a simple movie showing the rotation around a=20
> dihedral angle. I'm sure it's an extremely easy task, but I can't=20
> figure out the way of loading each state (i.e. conformation of the=20
> dihedral
> angle) into the movie object. I mean, the 'load' command (as in "load
> foo1.pdb,mov") expects a pdb file as an argument, but I want to load=20
> the current state as shown in PyMOL (after modifying the torsion=20
> angle, for instance).
> Any help?
>=20
> Thanks in advance,
>=20
> Xavier
>=20
> --
> Xavier Deupi, Ph.D.
> Department of Molecular and Cellular Physiology Beckman Center for=20
> Molecular and Genetic Medicine (B161)
> 279 Campus Drive, Stanford University School of Medicine Stanford, CA=20
> 94305 (USA)
>=20
> E-mail: Xav...@st...
> Phone: +1 (650) 725-6497
> Fax : +1 (650) 725-8021
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO=20
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20
> Practices Agile & Plan-Driven Development * Managing Projects & Teams=20
> * Testing & QA Security * Process Improvement & Measurement *=20
> http://www.sqe.com/bsce5sf=20
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>=20
>=20
>=20
|