Copy the Rotation matrix and translation to the third image
Peggy, Tom graciously answers enough of my requests, so I can take some of the slack from him here, I asked this recently (Re: [Chimera-users] Volume transformation based on Phenix symmetry operators). You can use the ‘matrixset command. Save your 4x3 matrix to a text file with a header ‘Model 2.0’ then in chimera use the following: setmatrix /path/to/matrix/text/file This will translate and rotate model #2 according to the matrix in the file you saved from the reply log. This function is documented here http://www.rbvi.ucsf.edu/home/meng/docs/UsersGuide/midas/matrixset.html. Have fun! Best, Kyle Date: Tue, 8 Dec 2015 16:48:56 +0800 From: ??? <peggyschsu@gate.sinica.edu.tw<mailto:peggyschsu@gate.sinica.edu.tw>> To: <chimera-users@cgl.ucsf.edu<mailto:chimera-users@cgl.ucsf.edu>> Subject: [Chimera-users] Copy the Rotation matrix and translation to the third image Message-ID: <009701d13195$45ce4850$d16ad8f0$@gate.sinica.edu.tw<mailto:009701d13195$45ce4850$d16ad8f0$@gate.sinica.edu.tw>> Content-Type: text/plain; charset="big5" Dear All, Here I had fitted two images with the function ?Fit in Map? and gotten the rotation matrix and translation value from the reply log. Could anyone help me to apply the same matrix and rotation to the third image? Thank you for your help! Sincerely, Peggy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20151208/7d372bb4/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: application/octet-stream Size: 41241 bytes Desc: not available URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20151208/7d372bb4/attachment.obj> ------------------------------
Hi Peggy, Kyle's method works. It can be even done in a simpler way matrixcopy #1 #2 This copies the rotation and translation from map #1 to map #2. https://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/matrixcopy.ht... Kyle you still owe me one! I greatly appreciate you answering this mailing list question, and any you wish to in the future! Tom
On Dec 8, 2015, at 2:33 AM, Morris, Kyle wrote:
Peggy,
Tom graciously answers enough of my requests, so I can take some of the slack from him here, I asked this recently (Re: [Chimera-users] Volume transformation based on Phenix symmetry operators). You can use the ‘matrixset command.
Save your 4x3 matrix to a text file with a header ‘Model 2.0’ then in chimera use the following:
setmatrix /path/to/matrix/text/file
This will translate and rotate model #2 according to the matrix in the file you saved from the reply log. This function is documented here http://www.rbvi.ucsf.edu/home/meng/docs/UsersGuide/midas/matrixset.html <http://www.rbvi.ucsf.edu/home/meng/docs/UsersGuide/midas/matrixset.html>.
Have fun!
Best, Kyle
Date: Tue, 8 Dec 2015 16:48:56 +0800 From: ??? peggyschsu <mailto:peggyschsu@gate.sinica.edu.tw> To: <chimera-users@cgl.ucsf.edu <mailto:chimera-users@cgl.ucsf.edu>> Subject: [Chimera-users] Copy the Rotation matrix and translation to the third image Message-ID: <009701d13195$45ce4850$d16ad8f0$@gate.sinica.edu.tw <mailto:009701d13195$45ce4850$d16ad8f0$@gate.sinica.edu.tw>> Content-Type: text/plain; charset="big5" Dear All,
Here I had fitted two images with the function ?Fit in Map? and gotten the rotation matrix and translation value from the reply log. Could anyone help me to apply the same matrix and rotation to the third image? Thank you for your help!
Sincerely, Peggy
participants (2)
-
Morris, Kyle
-
Tom Goddard