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=1575
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1600", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1550", "results": [ { "id": 1571, "identifier": "57127", "identifier_type": "int", "name": "RHBG", "properties": { "url": "http://identifiers.org/ncbigene/57127", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "Rh family, B glycoprotein (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 1572, "identifier": "91392", "identifier_type": "int", "name": "ZNF502", "properties": { "url": "http://identifiers.org/ncbigene/91392", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "zinc finger protein 502" }, "metanode": "Gene" }, { "id": 1573, "identifier": "79707", "identifier_type": "int", "name": "NOL9", "properties": { "url": "http://identifiers.org/ncbigene/79707", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "nucleolar protein 9" }, "metanode": "Gene" }, { "id": 1574, "identifier": "C0020550", "identifier_type": "str", "name": "Hyperthyroidism", "properties": { "url": "http://identifiers.org/umls/C0020550", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1575, "identifier": "840", "identifier_type": "int", "name": "CASP7", "properties": { "url": "http://identifiers.org/ncbigene/840", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "caspase 7, apoptosis-related cysteine peptidase" }, "metanode": "Gene" }, { "id": 1576, "identifier": "C0018520", "identifier_type": "str", "name": "Breath odour", "properties": { "url": "http://identifiers.org/umls/C0018520", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1577, "identifier": "GO:0051575", "identifier_type": "str", "name": "5'-deoxyribose-5-phosphate lyase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051575", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1578, "identifier": "GO:0045773", "identifier_type": "str", "name": "positive regulation of axon extension", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045773", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1579, "identifier": "10", "identifier_type": "int", "name": "NAT2", "properties": { "url": "http://identifiers.org/ncbigene/10", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "N-acetyltransferase 2 (arylamine N-acetyltransferase)" }, "metanode": "Gene" }, { "id": 1580, "identifier": "GO:0070203", "identifier_type": "str", "name": "regulation of establishment of protein localization to telomere", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070203", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1581, "identifier": "27314", "identifier_type": "int", "name": "RAB30", "properties": { "url": "http://identifiers.org/ncbigene/27314", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "RAB30, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 1582, "identifier": "3309", "identifier_type": "int", "name": "HSPA5", "properties": { "url": "http://identifiers.org/ncbigene/3309", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "heat shock 70kDa protein 5 (glucose-regulated protein, 78kDa)" }, "metanode": "Gene" }, { "id": 1583, "identifier": "D009127", "identifier_type": "str", "name": "Muscle Rigidity", "properties": { "url": "http://identifiers.org/mesh/D009127", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 1584, "identifier": "C0559546", "identifier_type": "str", "name": "Adverse reaction", "properties": { "url": "http://identifiers.org/umls/C0559546", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1585, "identifier": "29911", "identifier_type": "int", "name": "HOOK2", "properties": { "url": "http://identifiers.org/ncbigene/29911", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "hook microtubule-tethering protein 2" }, "metanode": "Gene" }, { "id": 1586, "identifier": "5634", "identifier_type": "int", "name": "PRPS2", "properties": { "url": "http://identifiers.org/ncbigene/5634", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "phosphoribosyl pyrophosphate synthetase 2" }, "metanode": "Gene" }, { "id": 1587, "identifier": "221823", "identifier_type": "int", "name": "PRPS1L1", "properties": { "url": "http://identifiers.org/ncbigene/221823", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "phosphoribosyl pyrophosphate synthetase 1-like 1" }, "metanode": "Gene" }, { "id": 1588, "identifier": "GO:0046271", "identifier_type": "str", "name": "phenylpropanoid catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046271", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1589, "identifier": "23601", "identifier_type": "int", "name": "CLEC5A", "properties": { "url": "http://identifiers.org/ncbigene/23601", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "C-type lectin domain family 5, member A" }, "metanode": "Gene" }, { "id": 1590, "identifier": "GO:0015918", "identifier_type": "str", "name": "sterol transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015918", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1591, "identifier": "339834", "identifier_type": "int", "name": "CCDC36", "properties": { "url": "http://identifiers.org/ncbigene/339834", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "coiled-coil domain containing 36" }, "metanode": "Gene" }, { "id": 1592, "identifier": "PC7_6510", "identifier_type": "str", "name": "Platelet Adhesion to exposed collagen", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1593, "identifier": "GO:0015740", "identifier_type": "str", "name": "C4-dicarboxylate transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015740", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1594, "identifier": "GO:0016647", "identifier_type": "str", "name": "oxidoreductase activity, acting on the CH-NH group of donors, oxygen as acceptor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016647", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1595, "identifier": "GO:0046129", "identifier_type": "str", "name": "purine ribonucleoside biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046129", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "