Re: [PyMOL] How to move aligned objects apart

2007-10-22 Thread Tsjerk Wassenaar
Hi Dave,

Use alter_state:

alter_state 1,selection,x=x+25

or

alter_state 1,selection,(x,y,z)=(x+10,y+10,z+10)

By the way, alter_state allows all sorts of transformations of
coordinates...

Cheers,

Tsjerk

On 10/22/07, David Garboczi dgarbo...@niaid.nih.gov wrote:

 I have three molecules aligned on each other.  I would like to move
 them apart so that I can make a .png file with all three of them
 aligned, but simply translated apart.

 I have tried the translate [x, x, x] command but no success.

 Advice?

 thanks,

 Dave
 --

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 PyMOL-users mailing list
 PyMOL-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pymol-users




-- 
Tsjerk A. Wassenaar, Ph.D.
Junior UD (post-doc)
Biomolecular NMR, Bijvoet Center
Utrecht University
Padualaan 8
3584 CH Utrecht
The Netherlands
P: +31-30-2539931
F: +31-30-2537623


Re: [PyMOL] How to move aligned objects apart

2007-10-22 Thread DeLano Scientific
David,

Here's an example of using the translate command to achieve what you're
seeking.

fetch 1t46,async=0
fetch 1oky,async=0
as cartoon
align 1t46CA, 1okyCA
orient 1t46 and organic
turn z,180
translate [50,0,0], 1oky
zoom
show sph, organic
color white, organic and elem c

Cheers,
Warren


 -Original Message-
 From: pymol-users-boun...@lists.sourceforge.net 
 [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf 
 Of David Garboczi
 Sent: Sunday, October 21, 2007 3:33 PM
 To: pymol-users@lists.sourceforge.net
 Subject: [PyMOL] How to move aligned objects apart
 
 I have three molecules aligned on each other.  I would like 
 to move them apart so that I can make a .png file with all 
 three of them aligned, but simply translated apart.
 
 I have tried the translate [x, x, x] command but no success.
 
 Advice?
 
 thanks,
 
 Dave
 -- 
 
 --
 ---
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and 
 a browser.
 Download your FREE copy of Splunk now  
 http://get.splunk.com/ ___
 PyMOL-users mailing list
 PyMOL-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pymol-users