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=46650
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46675", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46625", "results": [ { "id": 46649, "identifier": "105372022", "identifier_type": "int", "name": "LOC105372022", "properties": { "url": "http://identifiers.org/ncbigene/105372022", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "uncharacterized LOC105372022" }, "metanode": "Gene" }, { "id": 46650, "identifier": "GO:0071349", "identifier_type": "str", "name": "cellular response to interleukin-12", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071349", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46651, "identifier": "4904", "identifier_type": "int", "name": "YBX1", "properties": { "url": "http://identifiers.org/ncbigene/4904", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "Y box binding protein 1" }, "metanode": "Gene" }, { "id": 46652, "identifier": "GO:1902017", "identifier_type": "str", "name": "regulation of cilium assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902017", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46653, "identifier": "54942", "identifier_type": "int", "name": "FAM206A", "properties": { "url": "http://identifiers.org/ncbigene/54942", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "family with sequence similarity 206, member A" }, "metanode": "Gene" }, { "id": 46654, "identifier": "C0277889", "identifier_type": "str", "name": "Blood pressure diastolic increased", "properties": { "url": "http://identifiers.org/umls/C0277889", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46655, "identifier": "GO:0006015", "identifier_type": "str", "name": "5-phosphoribose 1-diphosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006015", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46656, "identifier": "GO:0048664", "identifier_type": "str", "name": "neuron fate determination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048664", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46657, "identifier": "GO:0045596", "identifier_type": "str", "name": "negative regulation of cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045596", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46658, "identifier": "GO:1902476", "identifier_type": "str", "name": "chloride transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902476", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46659, "identifier": "GO:0061156", "identifier_type": "str", "name": "pulmonary artery morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061156", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46660, "identifier": "GO:0048536", "identifier_type": "str", "name": "spleen development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048536", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46661, "identifier": "92346", "identifier_type": "int", "name": "C1orf105", "properties": { "url": "http://identifiers.org/ncbigene/92346", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chromosome 1 open reading frame 105" }, "metanode": "Gene" }, { "id": 46662, "identifier": "GO:0001938", "identifier_type": "str", "name": "positive regulation of endothelial cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001938", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46663, "identifier": "26338", "identifier_type": "int", "name": "OR5L2", "properties": { "url": "http://identifiers.org/ncbigene/26338", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 5, subfamily L, member 2" }, "metanode": "Gene" }, { "id": 46664, "identifier": "GO:0042749", "identifier_type": "str", "name": "regulation of circadian sleep/wake cycle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042749", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46665, "identifier": "283450", "identifier_type": "int", "name": "HECTD4", "properties": { "url": "http://identifiers.org/ncbigene/283450", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "HECT domain containing E3 ubiquitin protein ligase 4" }, "metanode": "Gene" }, { "id": 46666, "identifier": "C0339293", "identifier_type": "str", "name": "Corneal perforation", "properties": { "url": "http://identifiers.org/umls/C0339293", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46667, "identifier": "DB08987", "identifier_type": "str", "name": "Etidocaine", "properties": { "url": "http://www.drugbank.ca/drugs/DB08987", "inchi": "InChI=1/C17H28N2O/c1-6-12-19(8-3)15(7-2)17(20)18-16-13(4)10-9-11-14(16)5/h9-11,15H,6-8,12H2,1-5H3,(H,18,20)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=VTUSIVBDOCDNHS-UHFFFAOYNA-N" }, "metanode": "Compound" }, { "id": 46668, "identifier": "645104", "identifier_type": "int", "name": "CLRN2", "properties": { "url": "http://identifiers.org/ncbigene/645104", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "clarin 2" }, "metanode": "Gene" }, { "id": 46669, "identifier": "GO:0032469", "identifier_type": "str", "name": "endoplasmic reticulum calcium ion homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032469", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46670, "identifier": "GO:0044217", "identifier_type": "str", "name": "other organism part", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044217", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46671, "identifier": "434", "identifier_type": "int", "name": "ASIP", "properties": { "url": "http://identifiers.org/ncbigene/434", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "agouti signaling protein" }, "metanode": "Gene" }, { "id": 46672, "identifier": "9197", "identifier_type": "int", "name": "SLC33A1", "properties": { "url": "http://identifiers.org/ncbigene/9197", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "solute carrier family 33 (acetyl-CoA transporter), member 1" }, "metanode": "Gene" }, { "id": 46673, "identifier": "C0497209", "identifier_type": "str", "name": "Conjunctivitis infective", "properties": { "url": "http://identifiers.org/umls/C0497209", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "