Genes Proteins Variants
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/genes-proteins/variantsimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/genes-proteins/variants"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/genes-proteins/variants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"sequence_variant": {
"_id": "<string>",
"chr": "<string>",
"pos": 123,
"ref": "<string>",
"alt": "<string>",
"spdi": "<string>",
"hgvs": "<string>",
"rsid": [
"<string>"
],
"ca_id": "<string>"
},
"related": [
{
"sources": [
{
"label": "<string>",
"source": "<string>",
"biological_context": "<string>",
"name": "<string>",
"neg_log10_pvalue": 123,
"files_filesets": "<string>"
}
],
"gene": {
"_id": "<string>",
"chr": "<string>",
"gene_id": "<string>",
"name": "<string>",
"organism": "<string>",
"hgnc": "<string>",
"files_filesets": "<string>"
},
"protein": {
"_id": "<string>",
"name": "<string>",
"uniprot_names": [
"<string>"
],
"files_filesets": "<string>"
}
}
]
}
]{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}API Reference
Genes Proteins Variants
Retrieve variants associated with genes or proteins that match a query.
Example: query = ATF1.
The limit parameter controls the page size and can not exceed 100.
Pagination is 0-based.
Genes Proteins Variants
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/genes-proteins/variantsimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/genes-proteins/variants"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/genes-proteins/variants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"sequence_variant": {
"_id": "<string>",
"chr": "<string>",
"pos": 123,
"ref": "<string>",
"alt": "<string>",
"spdi": "<string>",
"hgvs": "<string>",
"rsid": [
"<string>"
],
"ca_id": "<string>"
},
"related": [
{
"sources": [
{
"label": "<string>",
"source": "<string>",
"biological_context": "<string>",
"name": "<string>",
"neg_log10_pvalue": 123,
"files_filesets": "<string>"
}
],
"gene": {
"_id": "<string>",
"chr": "<string>",
"gene_id": "<string>",
"name": "<string>",
"organism": "<string>",
"hgnc": "<string>",
"files_filesets": "<string>"
},
"protein": {
"_id": "<string>",
"name": "<string>",
"uniprot_names": [
"<string>"
],
"files_filesets": "<string>"
}
}
]
}
]{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}⌘I