Sometimes it is useful to be able to start external programs from within VivoQuant. VivoScript provides a function for this:
VQ.startTool("ProgramName");
VQ.startTool("ProgramName", baseDir, parameterList);
with ProgramName being a pre-configured name of the tool to start (see below on how to add your own tools), while the optional baseDir defines the current working directory the tool is started in. Finally, the parameterList is an array of optional parameters passed into the tool from the command line. Depending on the tool you are using such parameters could be used to for instance pass in files to the new tool.
Continue reading →