Variants Coding Variants
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/variants/coding-variantsimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/variants/coding-variants"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/variants/coding-variants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"_id": "<string>",
"name": "<string>",
"ref": "<string>",
"alt": "<string>",
"protein_name": "<string>",
"protein_id": "<string>",
"gene_name": "<string>",
"transcript_id": "<string>",
"aapos": 123,
"hgvsp": "<string>",
"refcodon": "<string>",
"codonpos": 123,
"SIFT_score": 123,
"SIFT4G_score": 123,
"Polyphen2_HDIV_score": 123,
"Polyphen2_HVAR_score": 123,
"VEST4_score": 123,
"REVEL_score": 123,
"MutPred_score": 123,
"BayesDel_addAF_score": 123,
"BayesDel_noAF_score": 123,
"VARITY_R_score": 123,
"VARITY_ER_score": 123,
"VARITY_R_LOO_score": 123,
"VARITY_ER_LOO_score": 123,
"ESM1b_score": 123,
"AlphaMissense_score": 123,
"CADD_raw_score": 123,
"source": "<string>",
"source_url": "<string>",
"hgvsc": "<string>"
}
]{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}API Reference
Variants Coding Variants
Retrieve coding variants from dbSNFP associated with a variant.
Example: variant_id = NC_000001.11:65564:A:T,
spdi = NC_000001.11:65564:A:T,
hgvs = NC_000001.11:g.65565A>T,
ca_id = CA337806511,
The limit parameter controls the page size and can not exceed 500.
Variants Coding Variants
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/variants/coding-variantsimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/variants/coding-variants"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/variants/coding-variants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"_id": "<string>",
"name": "<string>",
"ref": "<string>",
"alt": "<string>",
"protein_name": "<string>",
"protein_id": "<string>",
"gene_name": "<string>",
"transcript_id": "<string>",
"aapos": 123,
"hgvsp": "<string>",
"refcodon": "<string>",
"codonpos": 123,
"SIFT_score": 123,
"SIFT4G_score": 123,
"Polyphen2_HDIV_score": 123,
"Polyphen2_HVAR_score": 123,
"VEST4_score": 123,
"REVEL_score": 123,
"MutPred_score": 123,
"BayesDel_addAF_score": 123,
"BayesDel_noAF_score": 123,
"VARITY_R_score": 123,
"VARITY_ER_score": 123,
"VARITY_R_LOO_score": 123,
"VARITY_ER_LOO_score": 123,
"ESM1b_score": 123,
"AlphaMissense_score": 123,
"CADD_raw_score": 123,
"source": "<string>",
"source_url": "<string>",
"hgvsc": "<string>"
}
]{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}Response
Successful response