- Install Velvet on the server computer. The program and installation information is available from https://github.com/dzerbino/velvet/tree/master. If you have job nodes, Velvet will need to be installed on all the nodes that will be configured to run it.
- Download the scripts and configuration files from https://resources.qiagenbioinformatics.com/external-applications/velvet-example.zip. These files have been created assuming that Velvet is installed in
/usr/local/velvet. If it is installed elsewhere, please update the files with the correct path to the program on your server.
- Check to ensure execute permissions are set on the velvetg and velveth executable files in the Velvet installation directory. These must be executable by the user that owns the CLC Server process.
- Unzip the velvet-example.zip file and place the
clcbiofolder and its contents in the Velvet installation directory. This contains a script (velvet.sh) that links the two Velvet programs, velvetg and velveth, together. If the Velvet binaries are not in the folder
/usr/local/velvet, you will need to edit the line that starts with exe= to include the correct path.
- Set the permissions on the velvet.sh script in the clcbio subfolder so that it can be executed by the user that owns the CLC Server process.
- Import the
velvet.xmlconfiguration file: Log into the server via the web administrative interface and go to the External applications () tab. Expand the "External applications configuration" section and click on the Import Configuration... button.
After the configuration file has been imported, an external application named CLC bio Velvet will appear in the "Default folder" area for the external applications configurations. Click on the CLC bio Velvet name. An external application editor should open, with the External command tab open, as shown in figure 13.18.
- Update the path to the Velvet installation at the very top if necessary.
If you wish to execute this job on grid nodes, then a shared temp-dir must be specified in the Working directory section of the Execution area of the configuration. See Working directory for details.
If you see a small red exclamation point beside the external application name, then something is wrong and needs to be attended to. The specific area where there is a problem should also be identified by a red exclamation mark. This is seen, for example, when the versions of a High-throughput sequencing import or Post-processing step specified in the configuration file is different to the version on the CLC Server. This can occur when the configuration was set up on an older version of the CLC Server than the one running. Rectifying this is straight forward, and is described in Updating external application configurations.