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=1050
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1075", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1025", "results": [ { "id": 1048, "identifier": "GO:0016529", "identifier_type": "str", "name": "sarcoplasmic reticulum", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016529", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1049, "identifier": "84324", "identifier_type": "int", "name": "SARNP", "properties": { "url": "http://identifiers.org/ncbigene/84324", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "SAP domain containing ribonucleoprotein" }, "metanode": "Gene" }, { "id": 1050, "identifier": "26175", "identifier_type": "int", "name": "TMEM251", "properties": { "url": "http://identifiers.org/ncbigene/26175", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "transmembrane protein 251" }, "metanode": "Gene" }, { "id": 1051, "identifier": "199882", "identifier_type": "int", "name": "LOC199882", "properties": { "url": "http://identifiers.org/ncbigene/199882", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "phosphodiesterase 4D interacting protein-like" }, "metanode": "Gene" }, { "id": 1052, "identifier": "GO:1902824", "identifier_type": "str", "name": "positive regulation of late endosome to lysosome transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902824", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1053, "identifier": "6343", "identifier_type": "int", "name": "SCT", "properties": { "url": "http://identifiers.org/ncbigene/6343", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "secretin" }, "metanode": "Gene" }, { "id": 1054, "identifier": "C0221271", "identifier_type": "str", "name": "Elastosis perforans", "properties": { "url": "http://identifiers.org/umls/C0221271", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1055, "identifier": "GO:0035197", "identifier_type": "str", "name": "siRNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035197", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1056, "identifier": "79770", "identifier_type": "int", "name": "TXNDC15", "properties": { "url": "http://identifiers.org/ncbigene/79770", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "thioredoxin domain containing 15" }, "metanode": "Gene" }, { "id": 1057, "identifier": "GO:0033268", "identifier_type": "str", "name": "node of Ranvier", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033268", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1058, "identifier": "503542", "identifier_type": "int", "name": "SPRN", "properties": { "url": "http://identifiers.org/ncbigene/503542", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "shadow of prion protein homolog (zebrafish)" }, "metanode": "Gene" }, { "id": 1059, "identifier": "919", "identifier_type": "int", "name": "CD247", "properties": { "url": "http://identifiers.org/ncbigene/919", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "CD247 molecule" }, "metanode": "Gene" }, { "id": 1060, "identifier": "140738", "identifier_type": "int", "name": "TMEM37", "properties": { "url": "http://identifiers.org/ncbigene/140738", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "transmembrane protein 37" }, "metanode": "Gene" }, { "id": 1061, "identifier": "51069", "identifier_type": "int", "name": "MRPL2", "properties": { "url": "http://identifiers.org/ncbigene/51069", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "mitochondrial ribosomal protein L2" }, "metanode": "Gene" }, { "id": 1062, "identifier": "C0684249", "identifier_type": "str", "name": "Carcinoma of lung", "properties": { "url": "http://identifiers.org/umls/C0684249", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1063, "identifier": "GO:0008275", "identifier_type": "str", "name": "gamma-tubulin small complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008275", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1064, "identifier": "GO:1903487", "identifier_type": "str", "name": "regulation of lactation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903487", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1065, "identifier": "105369214", "identifier_type": "int", "name": "LOC105369214", "properties": { "url": "http://identifiers.org/ncbigene/105369214", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "uncharacterized LOC105369214" }, "metanode": "Gene" }, { "id": 1066, "identifier": "GO:0032810", "identifier_type": "str", "name": "sterol response element binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032810", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1067, "identifier": "C1142117", "identifier_type": "str", "name": "Adnexa uteri pain", "properties": { "url": "http://identifiers.org/umls/C1142117", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1068, "identifier": "29974", "identifier_type": "int", "name": "A1CF", "properties": { "url": "http://identifiers.org/ncbigene/29974", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "APOBEC1 complementation factor" }, "metanode": "Gene" }, { "id": 1069, "identifier": "10492", "identifier_type": "int", "name": "SYNCRIP", "properties": { "url": "http://identifiers.org/ncbigene/10492", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "synaptotagmin binding, cytoplasmic RNA interacting protein" }, "metanode": "Gene" }, { "id": 1070, "identifier": "DB01414", "identifier_type": "str", "name": "Cefacetrile", "properties": { "url": "http://www.drugbank.ca/drugs/DB01414", "inchi": "InChI=1S/C13H13N3O6S/c1-6(17)22-4-7-5-23-12-9(15-8(18)2-3-14)11(19)16(12)10(7)13(20)21/h9,12H,2,4-5H2,1H3,(H,15,18)(H,20,21)/t9-,12-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RRYMAQUWDLIUPV-BXKDBHETSA-N" }, "metanode": "Compound" }, { "id": 1071, "identifier": "DB01611", "identifier_type": "str", "name": "Hydroxychloroquine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01611", "inchi": "InChI=1S/C18H26ClN3O/c1-3-22(11-12-23)10-4-5-14(2)21-17-8-9-20-18-13-15(19)6-7-16(17)18/h6-9,13-14,23H,3-5,10-12H2,1-2H3,(H,20,21)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=XXSMGPRMXLTPCZ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1072, "identifier": "135398", "identifier_type": "int", "name": "C6orf141", "properties": { "url": "http://identifiers.org/ncbigene/135398", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "chromosome 6 open reading frame 141" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "