How to measure and visualize the distance between two benzene rings in ChimeraX?

Dear ChimeraX Developers, I want to create a video using ChimeraX. I plan to use the Morph command to make the structure change. At the same time, I also want this conformational change to occur while the structure moves to another position. Can this be achieved in ChimeraX? Looking forward to your answer, thank you! Best regards, Nan Nan Zhang zhangnan@nankai.edu.cn

Hi Nan, Normally to make a fancier video you would make a session that has all the stuff in it (e.g. models, labels, etc... some may be hidden) and previously saved views. Then you would create a ChimeraX command script that, after you open that session, you would execute to do the stuff that you want in your movie. When I looks the way you want, then you would add movie record commands to the beginning and end of the script, e.g. start recording and then stop recording and assemble movie file. See "making movies" <https://rbvi.ucsf.edu/chimerax/docs/user/movies.html> However, this will typically require you to use trial and error and an iterative process of editing your command script -- even the experts don't figure the commands exactly right the first time. Depending on how fancy the movie is, with titles, arrows, multiple positions, etc. it could take several days. Short answer to your question: Yes, you can usethe "coordset" command to play back the morph at the same time you use some other command to move it from one position to another, e.g. "view" if you had already saved different views with names, or "move" to translate, "turn" to rotate, etc. It will overlap doing the two commands if there isn't "wait" between. In this example I have a morph trajectory #3 already made and views (positions) previously saved with the "view name" command and names "one" and "two". I first move back to position one: view one Then I play the morph trajectory (51 frames) at the same time as moving to position two: coordset #3 1,51; view two frames 51 See the help pages for the individual commands for more details on syntax and options, there are links in the making movies page as well as the User Guide index. I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco
On Aug 6, 2025, at 6:15 AM, Nan Zhang via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Dear ChimeraX Developers, I want to create a video using ChimeraX. I plan to use the Morph command to make the structure change. At the same time, I also want this conformational change to occur while the structure moves to another position. Can this be achieved in ChimeraX? Looking forward to your answer, thank you! Best regards, Nan
participants (2)
-
Elaine Meng
-
Nan Zhang