External applications

Command line applications on a server machine can be made available for use by CLC Workbench or CLC Server Command Line Tools users. This involves configuring an external application in the CLC Server web administrative interface.

Tools configured as external applications will be available via the graphical menu system of Workbenches logged into the CLC Server, and also as commands that can be run using the CLC Server Command Line Tools. Input data and parameter settings are specified in the same way as for standard tools provided via the client software. This is described further in Running external applications.

Key facts about external applications:

Figure 12.1 shows an overview of the actions and data flow that occur when an external application is launched on the CLC Server via a CLC Workbench.

Image commandlinedetails
Figure 12.1: An overview of the external applications integration in this example illustrated with CLC Genomics Workbench and CLC Genomics Server.

In general terms the basic work flow is:

  1. The end user selects input data, sets values for parameters and then launches the external application.
  2. The CLC Server exports the input data to a temporary file.
  3. The CLC Server starts the command line application, using the values specified by the user and the temporary file(s) as inputs.
  4. When the command line application is finished, the CLC Server imports the output into the CLC environment, saving it in the location on the CLC Server specified by the user.
  5. Results are then available for viewing and further analysis, for example using a Workbench.

All files saved during the execution of an external application are saved within the CLC environment. Temporary files are created outside the CLC environment during the execution of a third party tool and are deleted after the process completes.

Configurations must be saved by clicking on the Save button at the bottom of the editing section before they can be tested via a CLC Workbench or the CLC Server Command Line Tools.

After a configuration has been saved, the external application name will appear in a list under the External applications tab of the web administrative interface. A small checkbox appears to the left of each name. When checked it means that application is accessible to CLC Workbenches that are logged into the CLC Server with the External Applications Client Plugin installed, and also to users of the CLC Server Command Line Tools. To remove access to an external application by end-users, without deleting it, deselect the checkbox beside it.

We will describe integration of third party command lines tools through a series of examples. We start with a basic example and work towards more complex situations.



Footnotes

... Server12.1
Prior to CLC Genomics Server 11.0, users had to log out and log back into the server to discover updates to existing external application configurations.


Subsections