Hi Xavier-
To show ligands coming into a protein binding site I generally use some sort of morphing approach rather than translating the ligand.  The reason is that slerpy, even if it could cope with translate, would not interpolate the ligand position from one view to the next so you'll end up with sudden jerky movements of the ligand. 
On the other hand, if you generate a multistate model using morphing (either lsqman, rigimol, or http://www.molmovdb.org/molmovdb/morph/) then you can use smorph in slerpy to incorporate the morph into your movie.  See also http://ginsberg.med.virginia.edu/~dcoop/Help/morph.html for hints on setting up a morph.
I've been working on a slerpy demo page that includes some morphing but it's not done yet.
I've never tried using the translate command in a slerpy action.  I'll have a look at that tonight.

>>> "HANOULLE Xavier" <xavier.hanoulle@univ-lille1.fr> 1/29/2007 1:11 PM >>>

Hello all !


I am trying to use Slerpy to make a movie and I get some trouble. I would like to show a ligand coming and binding to my protein.


So, following the Slerpy instructions, I stored all my orientations then I tried to apply actions to the different views. But when I typed this command:

            sgo 2

            saction "translate [0,20,0], ligand"


I got the following error:

 "Error: too many arguments for add_action_current; 1 expected, 2 found.

Usage: add_action_current cmd"


I have an object named "ligand" in Pymol and the command "translate [0,20,0], ligand" works pretty well in Pymol (without using Slerpy).

Does anyone know how to solve the problem?






Xavier HANOULLE, Ph.D.

RMN biologique
Université des Sciences et Technologies de Lille - France