/v1/search
Search structural variants by gene or text
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/dbvar-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dbvar-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dbvar-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/dbvar-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"count": 20,
"query": "gene:BRCA1",
"total": 2790,
"variants": [
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7897183",
"placement": {
"end": 43094800,
"start": 43094800,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7897034",
"placement": {
"end": 43099831,
"start": 43099831,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7897014",
"placement": {
"end": 43094089,
"start": 43094089,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7896967",
"placement": {
"end": 43071123,
"start": 43071123,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"RPL21P4",
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7896545",
"placement": {
"end": 43078805,
"start": 43078805,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"ob
…