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