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=45525
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45550", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45500", "results": [ { "id": 45523, "identifier": "C0343495", "identifier_type": "str", "name": "Lockjaw", "properties": { "url": "http://identifiers.org/umls/C0343495", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45524, "identifier": "GO:0009139", "identifier_type": "str", "name": "pyrimidine nucleoside diphosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009139", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45525, "identifier": "375", "identifier_type": "int", "name": "ARF1", "properties": { "url": "http://identifiers.org/ncbigene/375", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ADP-ribosylation factor 1" }, "metanode": "Gene" }, { "id": 45526, "identifier": "440387", "identifier_type": "int", "name": "CTRB2", "properties": { "url": "http://identifiers.org/ncbigene/440387", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "chymotrypsinogen B2" }, "metanode": "Gene" }, { "id": 45527, "identifier": "81567", "identifier_type": "int", "name": "TXNDC5", "properties": { "url": "http://identifiers.org/ncbigene/81567", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "thioredoxin domain containing 5 (endoplasmic reticulum)" }, "metanode": "Gene" }, { "id": 45528, "identifier": "C0085606", "identifier_type": "str", "name": "Micturition urgency", "properties": { "url": "http://identifiers.org/umls/C0085606", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45529, "identifier": "C0029221", "identifier_type": "str", "name": "Organic brain syndrome", "properties": { "url": "http://identifiers.org/umls/C0029221", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45530, "identifier": "2700", "identifier_type": "int", "name": "GJA3", "properties": { "url": "http://identifiers.org/ncbigene/2700", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "gap junction protein, alpha 3, 46kDa" }, "metanode": "Gene" }, { "id": 45531, "identifier": "GO:0045061", "identifier_type": "str", "name": "thymic T cell selection", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045061", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45532, "identifier": "C0010072", "identifier_type": "str", "name": "Coronary artery thrombosis", "properties": { "url": "http://identifiers.org/umls/C0010072", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45533, "identifier": "79924", "identifier_type": "int", "name": "ADM2", "properties": { "url": "http://identifiers.org/ncbigene/79924", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "adrenomedullin 2" }, "metanode": "Gene" }, { "id": 45534, "identifier": "105372271", "identifier_type": "int", "name": "LOC105372271", "properties": { "url": "http://identifiers.org/ncbigene/105372271", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "complement C3-like" }, "metanode": "Gene" }, { "id": 45535, "identifier": "154064", "identifier_type": "int", "name": "RAET1L", "properties": { "url": "http://identifiers.org/ncbigene/154064", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "retinoic acid early transcript 1L" }, "metanode": "Gene" }, { "id": 45536, "identifier": "C0151650", "identifier_type": "str", "name": "Kidney fibrosis", "properties": { "url": "http://identifiers.org/umls/C0151650", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45537, "identifier": "5153", "identifier_type": "int", "name": "PDE1B", "properties": { "url": "http://identifiers.org/ncbigene/5153", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "phosphodiesterase 1B, calmodulin-dependent" }, "metanode": "Gene" }, { "id": 45538, "identifier": "55191", "identifier_type": "int", "name": "NADSYN1", "properties": { "url": "http://identifiers.org/ncbigene/55191", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "NAD synthetase 1" }, "metanode": "Gene" }, { "id": 45539, "identifier": "C0454643", "identifier_type": "str", "name": "Word finding difficulty", "properties": { "url": "http://identifiers.org/umls/C0454643", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45540, "identifier": "GO:0009798", "identifier_type": "str", "name": "axis specification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009798", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45541, "identifier": "55133", "identifier_type": "int", "name": "SRBD1", "properties": { "url": "http://identifiers.org/ncbigene/55133", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "S1 RNA binding domain 1" }, "metanode": "Gene" }, { "id": 45542, "identifier": "GO:0036402", "identifier_type": "str", "name": "proteasome-activating ATPase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036402", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45543, "identifier": "GO:0019474", "identifier_type": "str", "name": "L-lysine catabolic process to acetyl-CoA", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019474", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45544, "identifier": "23248", "identifier_type": "int", "name": "RPRD2", "properties": { "url": "http://identifiers.org/ncbigene/23248", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "regulation of nuclear pre-mRNA domain containing 2" }, "metanode": "Gene" }, { "id": 45545, "identifier": "400966", "identifier_type": "int", "name": "RGPD1", "properties": { "url": "http://identifiers.org/ncbigene/400966", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "RANBP2-like and GRIP domain containing 1" }, "metanode": "Gene" }, { "id": 45546, "identifier": "C0702163", "identifier_type": "str", "name": "Trichorrhexis", "properties": { "url": "http://identifiers.org/umls/C0702163", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45547, "identifier": "92595", "identifier_type": "int", "name": "ZNF764", "properties": { "url": "http://identifiers.org/ncbigene/92595", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zinc finger protein 764" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "