Variants Genomic Elements Cell Gene Predictions
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/variants/genomic-elements/cell-gene-predictionsimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/variants/genomic-elements/cell-gene-predictions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/variants/genomic-elements/cell-gene-predictions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"sequence variant": {
"_id": "<string>",
"chr": "<string>",
"pos": 123,
"rsid": [
"<string>"
],
"ref": "<string>",
"alt": "<string>",
"spdi": "<string>",
"hgvs": "<string>",
"ca_id": "<string>"
},
"predictions": {
"cell_types": [
"<string>"
],
"genes": [
{
"gene_name": "<string>",
"id": "<string>"
}
]
}
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}API Reference
Variants Genomic Elements Cell Gene Predictions
Retrieve predicted associated genes and cell types for a given variant.
Example: variant_id = NC_000012.12:69248967:C:T,
spdi = NC_000012.12:69248967:C:T,
hgvs = NC_000012.12:g.69248968C>T,
rsid = rs544450198,
ca_id = CA10655063,
region = chr1:1157520-1158189 (maximum length: 10kb).
Variants Genomic Elements Cell Gene Predictions
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/variants/genomic-elements/cell-gene-predictionsimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/variants/genomic-elements/cell-gene-predictions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/variants/genomic-elements/cell-gene-predictions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"sequence variant": {
"_id": "<string>",
"chr": "<string>",
"pos": 123,
"rsid": [
"<string>"
],
"ref": "<string>",
"alt": "<string>",
"spdi": "<string>",
"hgvs": "<string>",
"ca_id": "<string>"
},
"predictions": {
"cell_types": [
"<string>"
],
"genes": [
{
"gene_name": "<string>",
"id": "<string>"
}
]
}
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}