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=46725
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46750", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46700", "results": [ { "id": 46724, "identifier": "GO:0097449", "identifier_type": "str", "name": "astrocyte projection", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097449", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46725, "identifier": "102725207", "identifier_type": "int", "name": "LOC102725207", "properties": { "url": "http://identifiers.org/ncbigene/102725207", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "annexin A8-like" }, "metanode": "Gene" }, { "id": 46726, "identifier": "117608", "identifier_type": "int", "name": "ZNF354B", "properties": { "url": "http://identifiers.org/ncbigene/117608", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "zinc finger protein 354B" }, "metanode": "Gene" }, { "id": 46727, "identifier": "GO:0048475", "identifier_type": "str", "name": "coated membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048475", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46728, "identifier": "GO:0052205", "identifier_type": "str", "name": "modulation of molecular function in other organism involved in symbiotic interaction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0052205", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46729, "identifier": "GO:0004792", "identifier_type": "str", "name": "thiosulfate sulfurtransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004792", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46730, "identifier": "10085", "identifier_type": "int", "name": "EDIL3", "properties": { "url": "http://identifiers.org/ncbigene/10085", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "EGF-like repeats and discoidin I-like domains 3" }, "metanode": "Gene" }, { "id": 46731, "identifier": "GO:0007190", "identifier_type": "str", "name": "activation of adenylate cyclase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007190", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46732, "identifier": "285282", "identifier_type": "int", "name": "RABL3", "properties": { "url": "http://identifiers.org/ncbigene/285282", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "RAB, member of RAS oncogene family-like 3" }, "metanode": "Gene" }, { "id": 46733, "identifier": "GO:0030056", "identifier_type": "str", "name": "hemidesmosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030056", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46734, "identifier": "122402", "identifier_type": "int", "name": "TDRD9", "properties": { "url": "http://identifiers.org/ncbigene/122402", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "tudor domain containing 9" }, "metanode": "Gene" }, { "id": 46735, "identifier": "127069", "identifier_type": "int", "name": "OR2T10", "properties": { "url": "http://identifiers.org/ncbigene/127069", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "olfactory receptor, family 2, subfamily T, member 10" }, "metanode": "Gene" }, { "id": 46736, "identifier": "C0040588", "identifier_type": "str", "name": "Tracheo-oesophageal fistula", "properties": { "url": "http://identifiers.org/umls/C0040588", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46737, "identifier": "GO:0060050", "identifier_type": "str", "name": "positive regulation of protein glycosylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060050", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46738, "identifier": "10783", "identifier_type": "int", "name": "NEK6", "properties": { "url": "http://identifiers.org/ncbigene/10783", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "NIMA-related kinase 6" }, "metanode": "Gene" }, { "id": 46739, "identifier": "GO:0019935", "identifier_type": "str", "name": "cyclic-nucleotide-mediated signaling", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019935", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46740, "identifier": "DB00462", "identifier_type": "str", "name": "Methylscopolamine bromide", "properties": { "url": "http://www.drugbank.ca/drugs/DB00462", "inchi": "InChI=1S/C18H24NO4.BrH/c1-19(2)14-8-12(9-15(19)17-16(14)23-17)22-18(21)13(10-20)11-6-4-3-5-7-11;/h3-7,12-17,20H,8-10H2,1-2H3;1H/q+1;/p-1/t12?,13-,14+,15+,16?,17?;/m1./s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=CXYRUNPLKGGUJF-JIRGPDKYSA-M" }, "metanode": "Compound" }, { "id": 46741, "identifier": "C0004626", "identifier_type": "str", "name": "Pneumonia bacterial", "properties": { "url": "http://identifiers.org/umls/C0004626", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46742, "identifier": "GO:0032680", "identifier_type": "str", "name": "regulation of tumor necrosis factor production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032680", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46743, "identifier": "645191", "identifier_type": "int", "name": "LINGO3", "properties": { "url": "http://identifiers.org/ncbigene/645191", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "leucine rich repeat and Ig domain containing 3" }, "metanode": "Gene" }, { "id": 46744, "identifier": "GO:1901525", "identifier_type": "str", "name": "negative regulation of macromitophagy", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901525", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46745, "identifier": "GO:0001835", "identifier_type": "str", "name": "blastocyst hatching", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001835", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46746, "identifier": "C0025290", "identifier_type": "str", "name": "Meningitis aseptic", "properties": { "url": "http://identifiers.org/umls/C0025290", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46747, "identifier": "200609", "identifier_type": "int", "name": "LOC200609", "properties": { "url": "http://identifiers.org/ncbigene/200609", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "uncharacterized LOC200609" }, "metanode": "Gene" }, { "id": 46748, "identifier": "C0272195", "identifier_type": "str", "name": "Eosinopenia", "properties": { "url": "http://identifiers.org/umls/C0272195", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "