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=46450
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46475", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46425", "results": [ { "id": 46447, "identifier": "C0014848", "identifier_type": "str", "name": "Oesophageal achalasia", "properties": { "url": "http://identifiers.org/umls/C0014848", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46448, "identifier": "79973", "identifier_type": "int", "name": "ZNF442", "properties": { "url": "http://identifiers.org/ncbigene/79973", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 442" }, "metanode": "Gene" }, { "id": 46449, "identifier": "376497", "identifier_type": "int", "name": "SLC27A1", "properties": { "url": "http://identifiers.org/ncbigene/376497", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "solute carrier family 27 (fatty acid transporter), member 1" }, "metanode": "Gene" }, { "id": 46450, "identifier": "5202", "identifier_type": "int", "name": "PFDN2", "properties": { "url": "http://identifiers.org/ncbigene/5202", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "prefoldin subunit 2" }, "metanode": "Gene" }, { "id": 46451, "identifier": "55096", "identifier_type": "int", "name": "EBLN2", "properties": { "url": "http://identifiers.org/ncbigene/55096", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "endogenous Bornavirus-like nucleoprotein 2" }, "metanode": "Gene" }, { "id": 46452, "identifier": "GO:0005840", "identifier_type": "str", "name": "ribosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005840", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46453, "identifier": "101928468", "identifier_type": "int", "name": "LOC101928468", "properties": { "url": "http://identifiers.org/ncbigene/101928468", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "putative uncharacterized protein FLJ46235" }, "metanode": "Gene" }, { "id": 46454, "identifier": "GO:1901565", "identifier_type": "str", "name": "organonitrogen compound catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901565", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46455, "identifier": "116064", "identifier_type": "int", "name": "LRRC58", "properties": { "url": "http://identifiers.org/ncbigene/116064", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "leucine rich repeat containing 58" }, "metanode": "Gene" }, { "id": 46456, "identifier": "23041", "identifier_type": "int", "name": "MON2", "properties": { "url": "http://identifiers.org/ncbigene/23041", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "MON2 homolog (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 46457, "identifier": "C0522224", "identifier_type": "str", "name": "Paralysis", "properties": { "url": "http://identifiers.org/umls/C0522224", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46458, "identifier": "N0000011402", "identifier_type": "str", "name": "Estradiol Congeners", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000011402", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Chemical/Ingredient" }, "metanode": "Pharmacologic Class" }, { "id": 46459, "identifier": "102724473", "identifier_type": "int", "name": "GAGE10", "properties": { "url": "http://identifiers.org/ncbigene/102724473", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "G antigen 10" }, "metanode": "Gene" }, { "id": 46460, "identifier": "105376341", "identifier_type": "int", "name": "LOC105376341", "properties": { "url": "http://identifiers.org/ncbigene/105376341", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC105376341" }, "metanode": "Gene" }, { "id": 46461, "identifier": "732", "identifier_type": "int", "name": "C8B", "properties": { "url": "http://identifiers.org/ncbigene/732", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "complement component 8, beta polypeptide" }, "metanode": "Gene" }, { "id": 46462, "identifier": "GO:0038201", "identifier_type": "str", "name": "TOR complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0038201", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46463, "identifier": "C0018824", "identifier_type": "str", "name": "Cardiac valve disease", "properties": { "url": "http://identifiers.org/umls/C0018824", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46464, "identifier": "112464", "identifier_type": "int", "name": "PRKCDBP", "properties": { "url": "http://identifiers.org/ncbigene/112464", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "protein kinase C, delta binding protein" }, "metanode": "Gene" }, { "id": 46465, "identifier": "149643", "identifier_type": "int", "name": "SPATA45", "properties": { "url": "http://identifiers.org/ncbigene/149643", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "spermatogenesis associated 45" }, "metanode": "Gene" }, { "id": 46466, "identifier": "27334", "identifier_type": "int", "name": "P2RY10", "properties": { "url": "http://identifiers.org/ncbigene/27334", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "purinergic receptor P2Y, G-protein coupled, 10" }, "metanode": "Gene" }, { "id": 46467, "identifier": "3185", "identifier_type": "int", "name": "HNRNPF", "properties": { "url": "http://identifiers.org/ncbigene/3185", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "heterogeneous nuclear ribonucleoprotein F" }, "metanode": "Gene" }, { "id": 46468, "identifier": "GO:0071231", "identifier_type": "str", "name": "cellular response to folic acid", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071231", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46469, "identifier": "C1960509", "identifier_type": "str", "name": "Epidural lipomatosis", "properties": { "url": "http://identifiers.org/umls/C1960509", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46470, "identifier": "GO:0006102", "identifier_type": "str", "name": "isocitrate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006102", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46471, "identifier": "252884", "identifier_type": "int", "name": "ZNF396", "properties": { "url": "http://identifiers.org/ncbigene/252884", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "zinc finger protein 396" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "