What are some tasks you’d like to be able to script or automate - either in Avogadro (e.g., a script window) - or by Avogadro (i.e., a script that launches and then runs Avogadro)
For example:
Load a molecule, set some rendering, and rotate the molecular around while recording a GIF
Load a molecule and save a screenshot (e.g., to generate a bunch of images for different molecules)
There is a place for Avogadro, and one for Jmol; there is both some overlap of what the programs and complementary character in what the programs address. For me, one forte of Avogadro is the interface to multiple quantum mechanical computations with many different programs where Jmol provides only one GUI (Gaussian).
Thus, in terms of “automate the boring stuff with Avogadro” (the credit for the seminal line belongs to Al Sweigart) and though I’m not in the business of generating large libraries (like Louis Reymond group/GDB), or screening (like Anatole v Lilienfeld’s chemspacelab) I speculate it would be a nice addition if one could save a pattern for a typical job as a template, e.g., search for equilibrium geometry of molecule X in water with MOPAC at PM7 level of theory.
Currently, one has to click through the options each time from scratch (ab initio) when a new molecule of potential interest crosses the mind. Or to define once a bash script to use OpenBabel to write the input file for e.g., Gaussian with the special parameters set.
With the improvement for Avogadro suggested one could be to either a) load such a molecule into Avogadro, and then invoke a user-defined short-cut (like a chord of Ctrl + Alt + O) to write again such an input file for such an optimization by single click applying this template. Or, b) that one can indicate a folder with molecules of interest; then, by call of a short cut Avogadro would generate for each structure in this set the corresponding input file, ready for submission to the computer lab.
This makes me think of another possible automation. Say you have a _trj.xyz file (just multiple geometries in one file). You can currently open it with Avo2 and it’ll parse it as an animation. It’d be cool for Avo to be able to create an input for each frame of this animation (keywords are the same, only geometry differs) each in a separate folder.
It’s been a long time, but I can tell you my primary VMD workflow that was reasonably automated. I often wanted high-quality (raytraced) renders of MOs or similar on top of a structure.
define the molecule and surface styles based on my preference,
sequentially load each cube file, set the style, then render the scene with Tachyon;
it would also generate a shell script for converting each TGA file to PNG, and an HTML file acting as a contact sheet for looking over.
run VMD in text-only mode with the base XYZ file as input and the autogenerated script as the commands to execute
I think it was also possible to have a workflow where the orientation could be manually set in the GUI one-by-one if I didn’t know the optimal camera setting to put in the Tcl.