I forgot about perframe, but it's not ideal for viewing trajectories interactively. Lately I've been doing some AIMD myself, so I figured it would be worth it to expand on my previous script and eventually add it to seqcrow. The updated script is here:
https://gist.github.com/ajs99778/640ccd2c7e15a8bbb39d5f650de00111 (note: this requires AaronTools, which is included with seqcrow).
Opening the script will add a command called "monitorBonds" to ChimeraX. Run the command and give either an atom or model selection (e.g. `monitorBonds #1` or `monitorBonds sel`). As before, any time the coordinates change, it will add or delete bonds as appropriate. It will also now draw metal coordinate bonds, and draw TS bonds when atoms are a bit too far to be bonded. You can also add `guess true` to the command, and it will limit the atoms it checks to those that have a different connectivity at the first and last frames of the trajectory. Limiting the atoms reduces lag.
There's also `tolerance` and `tsTolerance` options for adjusting when different bond types are drawn. These tolerances get added to the atoms' covalent radii, and help prevent connectivity from changing too frequently. I might tweak these parameters some more later.
Tony
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/