[Script] to export image files from a trajectory in Discovery Studio

PURPOSE: Animate a trajectory and save each frame to a image file. Note the active molecule window for which frames are being saved

must remain in the foreground until the script completes.

INSTALLATION: Unzip the attached file and save ExportTrajectoryToImageFiles.pl to a local directory or location accessible from the DS Client Files Explorer

USAGE: From the DS Client's Files Explorer, right-click on the ExportTrajectoryToImageFiles.pl file and select Open With | Script Window then launch the script using the Run command from the Scripting toolbar.

REQUIREMENTS: A molecule window with Conformations (trajectory frames) loaded. Edit line 43 in the script to specify the output directory.

Note, there are some adjustable parameters at the lines 42-46 which allow you to specify the output folder location, image file type, width and height of image files and whether to save with a transparent background.