Vanessa,

You're missing commas, and you need to issue the command in the model
frame of reference (camera frame of reference is the default):

translate [-14.911, -23.457, -1.534], camera=0

\
Cheers,
Warren

--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080 USA   
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:[email protected]      
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Vanessa Oklejas
> Sent: Wednesday, December 14, 2005 4:36 PM
> To: [email protected]
> Subject: [PyMOL] translating and rotating protein in space
> 
> Hi all,
> 
> I would like to translate and rotate a protein in pymol such 
> that the pdb coordinates place the center at a specific atom 
> in the pdb structure.  For example,  if the atom of interest 
> has the coordinates
> [14.911 23.457 1.534], then I would the pdb coordinates to be [0 0 0].
> 
> I've tried to use the "translate" keyword from the command line:
> 
>  >> translate [-14.911 -23.457 -1.534]
> 
> However I get the following error message:
> Traceback (most recent call last):
>    File "C:\Program Files\DeLano
> Scientific\PyMOL/modules\pymol\parser.py", line 188, in parse
>      result=apply(kw[nest][0],args[nest],kw_args[nest])
>    File "C:\Program Files\DeLano
> Scientific\PyMOL/modules\pymol\editing.py", line 1126, in translate
>      vector = [float(vector[0]),float(vector[1]),float(vector[2])]
> 
> 
> 
> 
> Any help out there?
> 
> Muchos Gracias,
> Vanessa
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files for problems?  Stop!  Download the new AJAX 
> search engine that makes searching your log files as easy as 
> surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> PyMOL-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 
> 

Reply via email to