Re: [PyMOL] Transformation Matrices

2012-01-03 Thread Jacob Keller
Hi Jason, thanks for calling my attention to this--this is very good to know (I looked up the camera/model space idea as well--very helpful)! Jacob On Mon, Jan 2, 2012 at 9:38 PM, Jason Vertrees jason.vertr...@schrodinger.com wrote: Jacob, The easiest will be to use matrix_copy. All objects

Re: [PyMOL] Transformation Matrices

2012-01-03 Thread Jason Vertrees
Jacob, Thomas Holder apprised me of a detail that effected the cealign code (I used transform_selection instead of transform_object). This code has been updated in the open-source repository; matrix_copy should now work after aligning with cealign. Cheers, -- Jason On Tue, Jan 3, 2012 at 1:11

Re: [PyMOL] Transformation Matrices

2012-01-02 Thread Jason Vertrees
Jacob, The easiest will be to use matrix_copy. All objects start out with their object matrix set to the identity. One you drag them around or move them through an alignment, their matrices change. You can then easily copy one object's matrix onto another object. Cheers, -- Jason On Thu, Dec

[PyMOL] Transformation Matrices

2011-12-29 Thread Jacob Keller
Dear List, I want to superpose a series of 30 states on another (single-state) model in the following way: --Superpose the best (closest-fitting) state first. (I know which one this is) --Output that transformation matrix --Transform other states by same matrix to preserve states'

Re: [PyMOL] Transformation Matrices

2011-12-29 Thread Thomas Holder
Hi Jacob, regarding alignto and states' iter-relations, this has recently been fixed in open-source pymol. align and super both take arguments mobile_state and target_state and also preserve states' iter-relations. Example: align 1d7q, 2oqk, mobile_state=7, target_state=1 The matrix you get