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=1025
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1050", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1000", "results": [ { "id": 1023, "identifier": "C1112746", "identifier_type": "str", "name": "Hepatic lymphoma", "properties": { "url": "http://identifiers.org/umls/C1112746", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1024, "identifier": "GO:0016615", "identifier_type": "str", "name": "malate dehydrogenase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016615", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1025, "identifier": "64420", "identifier_type": "int", "name": "SUSD1", "properties": { "url": "http://identifiers.org/ncbigene/64420", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "sushi domain containing 1" }, "metanode": "Gene" }, { "id": 1026, "identifier": "GO:0042765", "identifier_type": "str", "name": "GPI-anchor transamidase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042765", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1027, "identifier": "C0024530", "identifier_type": "str", "name": "Malaria", "properties": { "url": "http://identifiers.org/umls/C0024530", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1028, "identifier": "105376204", "identifier_type": "int", "name": "LOC105376204", "properties": { "url": "http://identifiers.org/ncbigene/105376204", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "uncharacterized LOC105376204" }, "metanode": "Gene" }, { "id": 1029, "identifier": "GO:0042454", "identifier_type": "str", "name": "ribonucleoside catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042454", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1030, "identifier": "595", "identifier_type": "int", "name": "CCND1", "properties": { "url": "http://identifiers.org/ncbigene/595", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "cyclin D1" }, "metanode": "Gene" }, { "id": 1031, "identifier": "GO:0043923", "identifier_type": "str", "name": "positive regulation by host of viral transcription", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043923", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1032, "identifier": "C0860493", "identifier_type": "str", "name": "Refractory hypertension", "properties": { "url": "http://identifiers.org/umls/C0860493", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1033, "identifier": "643382", "identifier_type": "int", "name": "TMEM253", "properties": { "url": "http://identifiers.org/ncbigene/643382", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "transmembrane protein 253" }, "metanode": "Gene" }, { "id": 1034, "identifier": "27069", "identifier_type": "int", "name": "GHITM", "properties": { "url": "http://identifiers.org/ncbigene/27069", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "growth hormone inducible transmembrane protein" }, "metanode": "Gene" }, { "id": 1035, "identifier": "3048", "identifier_type": "int", "name": "HBG2", "properties": { "url": "http://identifiers.org/ncbigene/3048", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "hemoglobin, gamma G" }, "metanode": "Gene" }, { "id": 1036, "identifier": "57481", "identifier_type": "int", "name": "KIAA1210", "properties": { "url": "http://identifiers.org/ncbigene/57481", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "KIAA1210" }, "metanode": "Gene" }, { "id": 1037, "identifier": "80144", "identifier_type": "int", "name": "FRAS1", "properties": { "url": "http://identifiers.org/ncbigene/80144", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "Fraser extracellular matrix complex subunit 1" }, "metanode": "Gene" }, { "id": 1038, "identifier": "GO:0098794", "identifier_type": "str", "name": "postsynapse", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098794", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1039, "identifier": "C0085617", "identifier_type": "str", "name": "Arterial spasm", "properties": { "url": "http://identifiers.org/umls/C0085617", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1040, "identifier": "23034", "identifier_type": "int", "name": "SAMD4A", "properties": { "url": "http://identifiers.org/ncbigene/23034", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "sterile alpha motif domain containing 4A" }, "metanode": "Gene" }, { "id": 1041, "identifier": "GO:0005247", "identifier_type": "str", "name": "voltage-gated chloride channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005247", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1042, "identifier": "GO:0016010", "identifier_type": "str", "name": "dystrophin-associated glycoprotein complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016010", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1043, "identifier": "GO:0030033", "identifier_type": "str", "name": "microvillus assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030033", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1044, "identifier": "7520", "identifier_type": "int", "name": "XRCC5", "properties": { "url": "http://identifiers.org/ncbigene/7520", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "X-ray repair complementing defective repair in Chinese hamster cells 5 (double-strand-break rejoining)" }, "metanode": "Gene" }, { "id": 1045, "identifier": "GO:0004839", "identifier_type": "str", "name": "ubiquitin activating enzyme activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004839", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1046, "identifier": "DB01158", "identifier_type": "str", "name": "Bretylium", "properties": { "url": "http://www.drugbank.ca/drugs/DB01158", "inchi": "InChI=1S/C11H17BrN/c1-4-13(2,3)9-10-7-5-6-8-11(10)12/h5-8H,4,9H2,1-3H3/q+1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=AAQOQKQBGPPFNS-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1047, "identifier": "285500", "identifier_type": "int", "name": "LOC285500", "properties": { "url": "http://identifiers.org/ncbigene/285500", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "uncharacterized LOC285500" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "