
Hi Othman, Thank you for the clarification! Maybe I can provide a better answer, then: ChimeraX can report (or set) model positions with the "view matrix" command. So if you can output the matrix information from Pymol (with the get_view command shown in the page you sent), then you can use it in ChimeraX with this command. However, you may need to rearrange the numbers if the matrix format has them in a different order. For how it is interpreted, see: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix> Similarly, Chimera can set model positions with matrices in a file, using Chimera command "matrixset" (as well as write matrices to a file with "matrixget"): <https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/matrixset.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jun 23, 2022, at 5:01 PM, Rechiche, Othman via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Elaine, Thank you for your reply.
I want to keep the matrix coordinates from a view (as from https://pymolwiki.org/index.php/Set_View) and use them in ChimeraX. Yes views are in a PyMol session. ChimeraX displays coordinates in a single line not as matrix.
I will look at the links you sent.
Thank you again.
Best Regards, Othman
On Jun 23, 2022, at 6:33 PM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Of course, one can change the display styles, colors, etc. directly in ChimeraX (or Chimera). But you are probably asking because you are more familiar with Pymol, or somebody else has given you Pymol sessions.
In case you would like to try setting up the view directly in ChimeraX, there are several example images and associated ChimeraX command scripts (.cxc files): <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimerax%2Fgallery.html&data=05%7C01%7Cothman.rechiche%40psu.edu%7C20be5e2463bf40a4362908da55686c79%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637916204236478254%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Mjvp8CEJ0K%2BVzowqxIkogNb%2B5pmKbpxwagnW6IXwuYo%3D&reserved=0> <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimerax%2Ffeatures.html&data=05%7C01%7Cothman.rechiche%40psu.edu%7C20be5e2463bf40a4362908da55686c79%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637916204236478254%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=88YvsbrblHnQMkQNP6Corxx%2FzhKHIR4zWzdDWWdMSMY%3D&reserved=0>
...as well as ChimeraX tutorials: <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fframetut.html&data=05%7C01%7Cothman.rechiche%40psu.edu%7C20be5e2463bf40a4362908da55686c79%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637916204236478254%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=RBgGQE%2BRtFk51wZmGwQVQPF4K4GaCy76Y0nLwjPkxn8%3D&reserved=0> <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimerax%2Ftutorials.html&data=05%7C01%7Cothman.rechiche%40psu.edu%7C20be5e2463bf40a4362908da55686c79%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637916204236478254%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2Bi7QZ6h2ps7YH0ah6A28lc5xIhesmbPN9eFQXgoN2DU%3D&reserved=0>
Best, Elaine
On Jun 23, 2022, at 1:27 PM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Othman, Sorry no, Chimera and ChimeraX cannot read Pymol session files. By "view" I'm guessing you mean colors, display styles, etc. If you meant only the orientation of the structure, maybe Pymol has an option to save a PDB file of the currently transformed coordinates, which could then be opened in Chimera or ChimeraX, but that still would not include the exact amount of zoom.
If somebody else has created a converter for Pymol session -> Chimera (or ChimeraX) session, we are not aware of it.
Best Regards, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jun 23, 2022, at 11:27 AM, Rechiche, Othman via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi everyone, Is there a way to import/open “views” set with PyMol and open them in Chimera or ChimeraX? Best Regards, Othman
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users