From: Warren D. <wa...@de...> - 2005-12-15 00:47:19
|
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=3D0 \ 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...=20 > [mailto:pym...@li...] On Behalf Of=20 > Vanessa Oklejas > Sent: Wednesday, December 14, 2005 4:36 PM > To: pym...@li... > Subject: [PyMOL] translating and rotating protein in space >=20 > Hi all, >=20 > I would like to translate and rotate a protein in pymol such=20 > that the pdb coordinates place the center at a specific atom=20 > in the pdb structure. For example, if the atom of interest=20 > has the coordinates > [14.911 23.457 1.534], then I would the pdb coordinates to be [0 0 0]. >=20 > I've tried to use the "translate" keyword from the command line: >=20 > >> translate [-14.911 -23.457 -1.534] >=20 > 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=3Dapply(kw[nest][0],args[nest],kw_args[nest]) > File "C:\Program Files\DeLano > Scientific\PyMOL/modules\pymol\editing.py", line 1126, in translate > vector =3D [float(vector[0]),float(vector[1]),float(vector[2])] >=20 >=20 >=20 >=20 > Any help out there? >=20 > Muchos Gracias, > Vanessa >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log files for problems? Stop! Download the new AJAX=20 > search engine that makes searching your log files as easy as=20 > surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users >=20 >=20 >=20 >=20 |