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=46700
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46725", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46675", "results": [ { "id": 46699, "identifier": "729059", "identifier_type": "int", "name": "C1orf234", "properties": { "url": "http://identifiers.org/ncbigene/729059", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chromosome 1 open reading frame 234" }, "metanode": "Gene" }, { "id": 46700, "identifier": "105378948", "identifier_type": "int", "name": "LOC105378948", "properties": { "url": "http://identifiers.org/ncbigene/105378948", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "skin secretory protein xP2-like" }, "metanode": "Gene" }, { "id": 46701, "identifier": "DB09017", "identifier_type": "str", "name": "Brotizolam", "properties": { "url": "http://www.drugbank.ca/drugs/DB09017", "inchi": "InChI=1S/C15H10BrClN4S/c1-8-19-20-13-7-18-14(9-4-2-3-5-11(9)17)10-6-12(16)22-15(10)21(8)13/h2-6H,7H2,1H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=UMSGKTJDUHERQW-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46702, "identifier": "PC7_4746", "identifier_type": "str", "name": "Insulin effects increased synthesis of Xylulose-5-Phosphate", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46703, "identifier": "GO:0060430", "identifier_type": "str", "name": "lung saccule development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060430", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46704, "identifier": "3339", "identifier_type": "int", "name": "HSPG2", "properties": { "url": "http://identifiers.org/ncbigene/3339", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "heparan sulfate proteoglycan 2" }, "metanode": "Gene" }, { "id": 46705, "identifier": "GO:0000309", "identifier_type": "str", "name": "nicotinamide-nucleotide adenylyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000309", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46706, "identifier": "GO:0000288", "identifier_type": "str", "name": "nuclear-transcribed mRNA catabolic process, deadenylation-dependent decay", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000288", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46707, "identifier": "GO:0042471", "identifier_type": "str", "name": "ear morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042471", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46708, "identifier": "C0033893", "identifier_type": "str", "name": "Tension headache", "properties": { "url": "http://identifiers.org/umls/C0033893", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46709, "identifier": "GO:0016015", "identifier_type": "str", "name": "morphogen activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016015", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46710, "identifier": "5792", "identifier_type": "int", "name": "PTPRF", "properties": { "url": "http://identifiers.org/ncbigene/5792", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "protein tyrosine phosphatase, receptor type, F" }, "metanode": "Gene" }, { "id": 46711, "identifier": "10459", "identifier_type": "int", "name": "MAD2L2", "properties": { "url": "http://identifiers.org/ncbigene/10459", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "MAD2 mitotic arrest deficient-like 2 (yeast)" }, "metanode": "Gene" }, { "id": 46712, "identifier": "51734", "identifier_type": "int", "name": "MSRB1", "properties": { "url": "http://identifiers.org/ncbigene/51734", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "methionine sulfoxide reductase B1" }, "metanode": "Gene" }, { "id": 46713, "identifier": "60481", "identifier_type": "int", "name": "ELOVL5", "properties": { "url": "http://identifiers.org/ncbigene/60481", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "ELOVL fatty acid elongase 5" }, "metanode": "Gene" }, { "id": 46714, "identifier": "GO:0046627", "identifier_type": "str", "name": "negative regulation of insulin receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046627", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46715, "identifier": "C0162311", "identifier_type": "str", "name": "Androgenetic alopecia", "properties": { "url": "http://identifiers.org/umls/C0162311", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46716, "identifier": "113444", "identifier_type": "int", "name": "SMIM12", "properties": { "url": "http://identifiers.org/ncbigene/113444", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "small integral membrane protein 12" }, "metanode": "Gene" }, { "id": 46717, "identifier": "GO:0046501", "identifier_type": "str", "name": "protoporphyrinogen IX metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046501", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46718, "identifier": "54187", "identifier_type": "int", "name": "NANS", "properties": { "url": "http://identifiers.org/ncbigene/54187", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "N-acetylneuraminic acid synthase" }, "metanode": "Gene" }, { "id": 46719, "identifier": "GO:0072383", "identifier_type": "str", "name": "plus-end-directed vesicle transport along microtubule", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072383", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46720, "identifier": "C0858814", "identifier_type": "str", "name": "Hepatitis symptom", "properties": { "url": "http://identifiers.org/umls/C0858814", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46721, "identifier": "C0558348", "identifier_type": "str", "name": "Gastroenteritis bacterial", "properties": { "url": "http://identifiers.org/umls/C0558348", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46722, "identifier": "6746", "identifier_type": "int", "name": "SSR2", "properties": { "url": "http://identifiers.org/ncbigene/6746", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "signal sequence receptor, beta (translocon-associated protein beta)" }, "metanode": "Gene" }, { "id": 46723, "identifier": "146325", "identifier_type": "int", "name": "PRR35", "properties": { "url": "http://identifiers.org/ncbigene/146325", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "proline rich 35" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "