Specifying locations of inputs, outputs and exports
The location of input data for an analysis, and the locations to save outputs or export results to, are specified using URLs. CLC URL types are described at the top of the help returned when the clcserver
command is run with an incomplete set of arguments. Information about CLC URLs is also provided in a table below.
Where a CLC URL is expected as the value for a parameter, the type is specified in the help for relevant parameters. For example, running the following command:
clcserver -S <server> -U <username> -W <password or token> -A assemble_sanger_sequences
would result in help text being printed to screen that included the following:
-i, --input <ClcObjectUrl> -d, --destination <ClcServerObjectUrl>
For CLC Object URLs, there are 2 forms:
- Name form URLs where the path to the file or folder of interest is given relative to the base of a CLC Server file location.
- ID form URLs obtained via CLC software. This form benefits from not being affected by changes to the names of data elements or folders, but they are not human interpretable. How to obtain the ID form is described in Getting the ID form of a CLC URL
|
Information about providing inputs to workflows being run on the CLC Server Command Line Tools are provided in Providing input data for analyses on a CLC Server.
Using data stored on AWS S3 as input
Data on S3 specified as input for an analysis on the CLC Server is downloaded to the CLC Server at the start of the analysis. Note that AWS charges for data download.
Data can be analyzed directly on AWS, with results saved to AWS S3, using CLC Genomics Cloud setup. Please refer to the CLC Cloud Module for further information about this: https://resources.qiagenbioinformatics.com/manuals/clccloudmodule/current/index.php?manual=Overview_CLC_Genomics_Cloud.html.
Exporting results
Data can be exported to compatible formats using an export command or using workflows containing export elements. The location to save the exported file to is specified using a ClcFileURL, ClcCloudFileUrl or AWS S3 URL.
Note that when an export is run on the CLC Server Command Line Tools and exported to AWS S3, the exported file will be placed in a subfolder of the specified location with a name made up of a combination of the export file name and a unique string. This is to avoid the danger of overwriting existing files.
Further information about exporting results from workflows is in Saving workflow outputs and exporting results.
Subsections