
Dear Devs, Apologies for asking a naive question, but i was wondering if there exists a function similar to pymols' get_view and set_view in chimera/chimeraX? If yes, is there a way to do this? Cheers, Pranav -- Pranav Shah Postdoctoral Research Fellow. Hogle Lab Department of Biological Chemistry and Molecular Pharmacology, Building C2 - First Floor 240 Longwood Avenue Boston, MA 02115 (617) 432-4360 (fax) (617) 432-3839 (lab)

Hi Pranav, Since I’m not a Pymol user, it would be helpful if you'd said more about what they do. However, from a brief glance at the pymol wiki, you could take a look at these Chimera commands: matrixget, matrixset <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/matrixset.html> …and perhaps more generally useful: savepos, reset, fly, scene <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/scene.html> List of movie-related commands: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#moviecommands> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On May 1, 2019, at 6:43 PM, Pranav Shah <p.shah.lab@gmail.com> wrote:
Dear Devs, Apologies for asking a naive question, but i was wondering if there exists a function similar to pymols' get_view and set_view in chimera/chimeraX? If yes, is there a way to do this? Cheers, Pranav

Dear Elaine, Thanks for pointing that out. I will try them and get back to you. Just for my understanding, do i need to write out the matrices in separate files and then read them in separately? Also, do the transformation matrices work with volume files? Thanks for your help once again! Cheers, Pranav -- Pranav Shah Postdoctoral Research Fellow. Hogle Lab Department of Biological Chemistry and Molecular Pharmacology, Building C2 - First Floor 240 Longwood Avenue Boston, MA 02115 (617) 432-4360 (fax) (617) 432-3839 (lab) On Thu, May 2, 2019 at 1:34 PM Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Pranav, Since I’m not a Pymol user, it would be helpful if you'd said more about what they do. However, from a brief glance at the pymol wiki, you could take a look at these Chimera commands:
matrixget, matrixset <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/matrixset.html>
…and perhaps more generally useful: savepos, reset, fly, scene <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/scene.html>
List of movie-related commands: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#moviecommands>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On May 1, 2019, at 6:43 PM, Pranav Shah <p.shah.lab@gmail.com> wrote:
Dear Devs, Apologies for asking a naive question, but i was wondering if there exists a function similar to pymols' get_view and set_view in chimera/chimeraX? If yes, is there a way to do this? Cheers, Pranav

Hi Pranav, Yes, it would include all the 3D models that can be rotated and translated, including volume models. As it says in the manual page, "When multiple models are present, multiple matrices will be written to/read from the same file.” <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/matrixset.html> There’s also a matrixcopy command to make the transform of one model the same as that of another. <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/matrixcopy.html> Best, Elaine
On May 2, 2019, at 11:41 AM, Pranav Shah <p.shah.lab@gmail.com> wrote:
Dear Elaine,
Thanks for pointing that out. I will try them and get back to you. Just for my understanding, do i need to write out the matrices in separate files and then read them in separately? Also, do the transformation matrices work with volume files? Thanks for your help once again!
Cheers, Pranav -- Pranav Shah Postdoctoral Research Fellow.
Hogle Lab Department of Biological Chemistry and Molecular Pharmacology, Building C2 - First Floor 240 Longwood Avenue Boston, MA 02115 (617) 432-4360 (fax) (617) 432-3839 (lab)
On Thu, May 2, 2019 at 1:34 PM Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Pranav, Since I’m not a Pymol user, it would be helpful if you'd said more about what they do. However, from a brief glance at the pymol wiki, you could take a look at these Chimera commands:
matrixget, matrixset <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/matrixset.html>
…and perhaps more generally useful: savepos, reset, fly, scene <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/scene.html>
List of movie-related commands: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#moviecommands>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On May 1, 2019, at 6:43 PM, Pranav Shah <p.shah.lab@gmail.com> wrote:
Dear Devs, Apologies for asking a naive question, but i was wondering if there exists a function similar to pymols' get_view and set_view in chimera/chimeraX? If yes, is there a way to do this? Cheers, Pranav
participants (2)
-
Elaine Meng
-
Pranav Shah