Am Donnerstag, 17. Juli 2003 23:05 schrieb Vajdos, Felix: > Is there a way to append states to objects within pymol? > > Here's the scenario: > Now, each animation is 50 frames (states) long, and runs fine. What I > would like to do is at the end of each animation sequence to simply have > the final state rock back and forth, as in with the "rock" button on the > Tcl window. However, I do not want to have the whole thing rocking during > the animation.
Dear Felix, Though it may sound a little like advertisement, i recommend the rTools package for PyMOL. (http://www.rubor.de/bioinf). Here, you can issue some commands assigning states to frames, like mvRot 1-500:1-50,z,90 mvRot 501-1000:50-1,z,-90 Which will let states 1 to 50 be shown across the first 500 frames (however, state 50 is shown only in the last frame). In the second 500 frames, the order is reversed, i.e. the sequence plays backwards. You can also simply assign commands to frames, leaving the state untouched: mvSinmove 1001-1100,x,10 mvSinset 1001,1100,transparency,0.0,1.0 To play the animation, just type: movie And yes, you can get the structure rocking with these commands. I apologize it does not run perfectly yet, as a bugfix release of rTools is about to appear within a week. I hope that was not too confusing, Kristian