Rerun a task
Navigation
- Set output destinations via the visual interface
- Use output destinations in API calls:
This call reruns (executes) the specified task. Once rerun, the task can either be in draft mode or immediately ran, using the action query parameter (see below).
Request
https://cavatica-api.sbgenomics.com/v2/tasks/{task_id}/actions/cloneHeader fields
Name | Description |
|---|---|
| Your CAVATICAÂ authentication token. |
Path parameters
Name | Data type | Description |
|---|---|---|
| string | The ID of the task you are rerunning. |
Query parameters
Name | Data type | Description |
|---|---|---|
action | string | Set this to |
Response
See a list of CAVATICA-specific response codes that may be contained in the body of the response.
Example response body
{
"href": "https://cavatica-api.sbgenomics.com/v2/tasks/ea078c48-12c3-5460-a43b-4a1ab89e7f15",
"id": "ea078c48-12c3-5460-a43b-4a1ab89e7f15",
"name": "VarsScan2 WF from BAM test",
"status": "DRAFT",
"project": "rfranklin/rfranklin-s-demo-project",
"app": "rfranklin/rfranklin-s-demo-project/varscan2-workflow-from-bam-v2-3-9/0",
"type": "v2",
"created_by": "rfranklin",
"start_time": "2018-07-03T14:24:10Z",
"batch": false,
"use_interruptible_instances": false,
"errors": [],
"warnings": [],
"inputs": {
"input_fasta_file": {
"path": "56789652f890e8dfeb24ab2b",
"class": "File"
},
"Normal_BAM": {
"path": "56789652f890e8dfeb24aaf7",
"class": "File"
},
"Tumor_BAM": {
"path": "56789652f890e8dfeb24aae1",
"class": "File"
}
},
"outputs": {
"High_Confidence_INDELs": {},
"High_Confidence_SNPs": {}
},
"created_time": "2018-07-03T14:24:10Z",
"main_location": "volume://rfranklin/task-outputs/mar_19",
"main_location_alias": "/outputs/<app_name>/mar_19",
"nodes_override": true,
"nodes_location": {
"High_Confidence_INDELs": {
"output_location": "/outputs/<app_name>/mar_19/html_reports"
},
"High_Confidence_SNPs": {
"output_location": "volume://rfranklin/task-outputs/mar_19",
"output_location_alias": "/outputs/<app_name>/mar_19/vcf"
}
}
}