/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://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/tasks/{task_id}/inputs
Request
Example request
GET /v2/tasks/bd5e95d9-12b3-789c-45b6-34d8696571a9/inputs HTTP/1.1
Host: api.sb.biodatacatalyst.nhlbi.nih.gov
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "content-type: application/json" -X GET "https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/tasks/bd5e95d9-12b3-789c-45b6-34d8696571a9/inputs"
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your 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
See a list of response codes that may be contained in the body of the response.
Example response body
{
"Known_SNPs": [
{
"class": "File",
"path": "567890abc9b0307bc0414164",
"name": "dbsnp_137.b37.vcf"
}
],
"Known_Indels": [
{
"class": "File",
"path": "567890abc1e5339df0414123",
"name": "1000G_phase1.indels.b37.vcf"
},
{
"class": "File",
"path": "567890abc4f3066bc3750174",
"name": "Mills_and_1000G_gold_standard.indels.b37.sites.vcf"
}
],
"input_file": {
"class": "File",
"path": "567890abc8a5639cc6722063",
"name": "3d1b62a0d554d5fefb71444511dcbb.bam"
},
"Target_BED": {
"class": "File",
"path": "567890abc3d8130ea4047731",
"name": "exome_targets.b37.bed"
},
"Reference": {
"class": "File",
"path": "567890abc8a5136ec6127063",
"name": "GRCh37-lite.fa"
},
"snpEff_databse": {
"class": "File",
"path": "567890abc1e5339df0414129",
"name": "snpEff_v3_3_GRCh37.71.zip"
},
"memory_per_job": 8000
}