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=1400
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1425", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1375", "results": [ { "id": 1398, "identifier": "161835", "identifier_type": "int", "name": "FSIP1", "properties": { "url": "http://identifiers.org/ncbigene/161835", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "fibrous sheath interacting protein 1" }, "metanode": "Gene" }, { "id": 1399, "identifier": "6758", "identifier_type": "int", "name": "SSX5", "properties": { "url": "http://identifiers.org/ncbigene/6758", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "synovial sarcoma, X breakpoint 5" }, "metanode": "Gene" }, { "id": 1400, "identifier": "GO:0006059", "identifier_type": "str", "name": "hexitol metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006059", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1401, "identifier": "10081", "identifier_type": "int", "name": "PDCD7", "properties": { "url": "http://identifiers.org/ncbigene/10081", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "programmed cell death 7" }, "metanode": "Gene" }, { "id": 1402, "identifier": "C0859253", "identifier_type": "str", "name": "Microhemorrhage", "properties": { "url": "http://identifiers.org/umls/C0859253", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1403, "identifier": "PC7_8075", "identifier_type": "str", "name": "TWIK-related alkaline pH activated K+ channel (TALK)", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1404, "identifier": "GO:0090315", "identifier_type": "str", "name": "negative regulation of protein targeting to membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090315", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1405, "identifier": "3915", "identifier_type": "int", "name": "LAMC1", "properties": { "url": "http://identifiers.org/ncbigene/3915", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "laminin, gamma 1 (formerly LAMB2)" }, "metanode": "Gene" }, { "id": 1406, "identifier": "8326", "identifier_type": "int", "name": "FZD9", "properties": { "url": "http://identifiers.org/ncbigene/8326", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "frizzled class receptor 9" }, "metanode": "Gene" }, { "id": 1407, "identifier": "58476", "identifier_type": "int", "name": "TP53INP2", "properties": { "url": "http://identifiers.org/ncbigene/58476", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "tumor protein p53 inducible nuclear protein 2" }, "metanode": "Gene" }, { "id": 1408, "identifier": "GO:0070168", "identifier_type": "str", "name": "negative regulation of biomineral tissue development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070168", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1409, "identifier": "2272", "identifier_type": "int", "name": "FHIT", "properties": { "url": "http://identifiers.org/ncbigene/2272", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "fragile histidine triad" }, "metanode": "Gene" }, { "id": 1410, "identifier": "DOID:0050742", "identifier_type": "str", "name": "nicotine dependence", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_0050742", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 1411, "identifier": "GO:0042284", "identifier_type": "str", "name": "sphingolipid delta-4 desaturase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042284", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1412, "identifier": "C0159039", "identifier_type": "str", "name": "Spontaneous bruising", "properties": { "url": "http://identifiers.org/umls/C0159039", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1413, "identifier": "GO:2000393", "identifier_type": "str", "name": "negative regulation of lamellipodium morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000393", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1414, "identifier": "4613", "identifier_type": "int", "name": "MYCN", "properties": { "url": "http://identifiers.org/ncbigene/4613", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "v-myc avian myelocytomatosis viral oncogene neuroblastoma derived homolog" }, "metanode": "Gene" }, { "id": 1415, "identifier": "GO:0042297", "identifier_type": "str", "name": "vocal learning", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042297", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1416, "identifier": "GO:0034594", "identifier_type": "str", "name": "phosphatidylinositol trisphosphate phosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034594", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1417, "identifier": "C0151699", "identifier_type": "str", "name": "Haemorrhage intracranial", "properties": { "url": "http://identifiers.org/umls/C0151699", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1418, "identifier": "GO:0032099", "identifier_type": "str", "name": "negative regulation of appetite", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032099", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1419, "identifier": "7066", "identifier_type": "int", "name": "THPO", "properties": { "url": "http://identifiers.org/ncbigene/7066", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "thrombopoietin" }, "metanode": "Gene" }, { "id": 1420, "identifier": "57088", "identifier_type": "int", "name": "PLSCR4", "properties": { "url": "http://identifiers.org/ncbigene/57088", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "phospholipid scramblase 4" }, "metanode": "Gene" }, { "id": 1421, "identifier": "C0575090", "identifier_type": "str", "name": "Balance disorder", "properties": { "url": "http://identifiers.org/umls/C0575090", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1422, "identifier": "C0241157", "identifier_type": "str", "name": "Pustule", "properties": { "url": "http://identifiers.org/umls/C0241157", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "