get https://cgc-api.sbgenomics.com/v2
/tasks/{task_id}/inputs
This call returns just the inputs provided to the specified task. The task is referred to by its ID, which you can obtain by making the call to list all tasks you can access.
https://cgc-api.sbgenomics.com/v2/tasks/{task_id}/inputs
Request
Example request
GET /v2/tasks/08c5ce64-1351-1b7d-b054-63b1517ac73b/inputs HTTP/1.1
Host: cgc-api.sbgenomics.com
X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74
curl -s -H "X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74" -H "content-type: application/json" -X GET "https://cgc-api.sbgenomics.com/v2/tasks/08c5ce64-1351-1b7d-b054-63b1517ac73b/inputs"
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your Seven Bridges Platform authentication token. |
Path parameters
Name | Description |
---|---|
task_id required | The ID of the task you are querying |
Query parameters
Name | Data type | Description |
---|---|---|
fields | string | Selector specifying a subset of fields to include in the response. |
Response
Example response body
{
"Known_SNPs": [
{
"class": "File",
"path": "566b059de3b0c560b469eb7c",
"name": "dbsnp_137.b37.vcf"
}
],
"Known_Indels": [
{
"class": "File",
"path": "561b059ce4b0c560b469eb81",
"name": "1000G_phase1.indels.b37.vcf"
},
{
"class": "File",
"path": "526b059ae4b0d560b469eb86",
"name": "Mills_and_1000G_gold_standard.indels.b37.sites.vcf"
}
],
"input_file": {
"class": "File",
"path": "56796e27e4d0c560b46ab03c",
"name": "3d1b628fd554d5fefb71444511dcbb.bam"
},
"Target_BED": {
"class": "File",
"path": "566b019a34b0c560b469eb7f",
"name": "exome_targets.b37.bed"
},
"Reference": {
"class": "File",
"path": "56796e77e4b0c560b46ab043",
"name": "GRCh37-lite.fa"
},
"snpEff_databse": {
"class": "File",
"path": "566b059ad5b0c560b469eb83",
"name": "snpEff_v3_3_GRCh37.71.zip"
},
"memory_per_job": 8000
}