PURPOSE: When building homology models with the Build Homology Models protocol, the template and model coordinate space may change from the original coordinate space of the template(s). This script will transform the molecules found in the output dsv file so that the are in the same coordinate space of the first template found in the Input folder. The updated coordinates are written to a new dsv file in the Output folder of the specified path. This can be useful if you wish to align the models with other template structures that may have not been used to build the models but are in the same coordinate space as the original template.
USAGE: From the DS Client's Files Explorer, right-click on the file TransformModelsToTemplateSpace.pl and select Open With | Script Window then launch the script using the Run command from the Scripting toolbar or the Context menu.
REQUIREMENTS: Path to homology modeling jobs folder. Specified at line #39.
DISCLAIMER: This custom script is compatible with Discovery Studio 3.1. It is provided "as is" and is NOT supported by Accelrys nor is it warranted for any purpose whatsoever. The user assumes responsibility for any malfunctions or bugs.