Node
Return nodes, sorted by similarity to the search term.
Use search=<str>
to search identifier
for prefix match, and name
for substring and trigram searches (similarity defaults to 0.3);
Use search=<str>&similarity=<value>
to set your own similarity
value in the range of (0, 1.0].
Set similarity=1.0
to exclude trigram search.
Filter for select metanodes using metanodes=<str>
, where <str>
is a comma-separated list of metanode abbreviations.
For example, metanodes=C,D
will restrict to Compound and Disease nodes.
Set other-node=<node_id>
to return non-null values for metapath_count
.
metapath_counts
measures the number of metapaths stored in the database between the result node and other node.
If search
and other-node
and both specified, results are sorted by search similarity and results with metapath_count == 0
are returned.
If other-node
is specified but not search
, results are sorted by metapath_count
(descending) and only results with metapath_count > 0
are returned.
GET /v1/nodes/?format=api&offset=1625
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1650", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1600", "results": [ { "id": 1620, "identifier": "GO:0003032", "identifier_type": "str", "name": "detection of oxygen", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003032", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1621, "identifier": "63892", "identifier_type": "int", "name": "THADA", "properties": { "url": "http://identifiers.org/ncbigene/63892", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "thyroid adenoma associated" }, "metanode": "Gene" }, { "id": 1622, "identifier": "126393", "identifier_type": "int", "name": "HSPB6", "properties": { "url": "http://identifiers.org/ncbigene/126393", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "heat shock protein, alpha-crystallin-related, B6" }, "metanode": "Gene" }, { "id": 1623, "identifier": "100533952", "identifier_type": "int", "name": "RBAK-RBAKDN", "properties": { "url": "http://identifiers.org/ncbigene/100533952", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "RBAK-RBAKDN readthrough" }, "metanode": "Gene" }, { "id": 1624, "identifier": "63926", "identifier_type": "int", "name": "ANKEF1", "properties": { "url": "http://identifiers.org/ncbigene/63926", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "ankyrin repeat and EF-hand domain containing 1" }, "metanode": "Gene" }, { "id": 1625, "identifier": "GO:0015143", "identifier_type": "str", "name": "urate transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015143", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1626, "identifier": "7775", "identifier_type": "int", "name": "ZNF232", "properties": { "url": "http://identifiers.org/ncbigene/7775", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "zinc finger protein 232" }, "metanode": "Gene" }, { "id": 1627, "identifier": "GO:0009313", "identifier_type": "str", "name": "oligosaccharide catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009313", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1628, "identifier": "120227", "identifier_type": "int", "name": "CYP2R1", "properties": { "url": "http://identifiers.org/ncbigene/120227", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "cytochrome P450, family 2, subfamily R, polypeptide 1" }, "metanode": "Gene" }, { "id": 1629, "identifier": "166", "identifier_type": "int", "name": "AES", "properties": { "url": "http://identifiers.org/ncbigene/166", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "amino-terminal enhancer of split" }, "metanode": "Gene" }, { "id": 1630, "identifier": "101", "identifier_type": "int", "name": "ADAM8", "properties": { "url": "http://identifiers.org/ncbigene/101", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "ADAM metallopeptidase domain 8" }, "metanode": "Gene" }, { "id": 1631, "identifier": "GO:0001990", "identifier_type": "str", "name": "regulation of systemic arterial blood pressure by hormone", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001990", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1632, "identifier": "C2979982", "identifier_type": "str", "name": "Vaginal haemorrhage", "properties": { "url": "http://identifiers.org/umls/C2979982", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1633, "identifier": "GO:0070035", "identifier_type": "str", "name": "purine NTP-dependent helicase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070035", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1634, "identifier": "GO:0030119", "identifier_type": "str", "name": "AP-type membrane coat adaptor complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030119", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1635, "identifier": "2554", "identifier_type": "int", "name": "GABRA1", "properties": { "url": "http://identifiers.org/ncbigene/2554", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "gamma-aminobutyric acid (GABA) A receptor, alpha 1" }, "metanode": "Gene" }, { "id": 1636, "identifier": "11061", "identifier_type": "int", "name": "LECT1", "properties": { "url": "http://identifiers.org/ncbigene/11061", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "leukocyte cell derived chemotaxin 1" }, "metanode": "Gene" }, { "id": 1637, "identifier": "GO:0010181", "identifier_type": "str", "name": "FMN binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010181", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1638, "identifier": "C0853782", "identifier_type": "str", "name": "Blood creatine phosphokinase abnormal", "properties": { "url": "http://identifiers.org/umls/C0853782", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1639, "identifier": "GO:0051674", "identifier_type": "str", "name": "localization of cell", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051674", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1640, "identifier": "GO:0008384", "identifier_type": "str", "name": "IkappaB kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008384", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1641, "identifier": "GO:0009183", "identifier_type": "str", "name": "purine deoxyribonucleoside diphosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009183", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1642, "identifier": "22990", "identifier_type": "int", "name": "PCNX", "properties": { "url": "http://identifiers.org/ncbigene/22990", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "pecanex homolog (Drosophila)" }, "metanode": "Gene" }, { "id": 1643, "identifier": "162681", "identifier_type": "int", "name": "C18orf54", "properties": { "url": "http://identifiers.org/ncbigene/162681", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "chromosome 18 open reading frame 54" }, "metanode": "Gene" }, { "id": 1644, "identifier": "7348", "identifier_type": "int", "name": "UPK1B", "properties": { "url": "http://identifiers.org/ncbigene/7348", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "uroplakin 1B" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "