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=45325
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45350", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45300", "results": [ { "id": 45324, "identifier": "5451", "identifier_type": "int", "name": "POU2F1", "properties": { "url": "http://identifiers.org/ncbigene/5451", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "POU class 2 homeobox 1" }, "metanode": "Gene" }, { "id": 45325, "identifier": "GO:0042118", "identifier_type": "str", "name": "endothelial cell activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042118", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45326, "identifier": "GO:0008523", "identifier_type": "str", "name": "sodium-dependent multivitamin transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008523", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45327, "identifier": "23418", "identifier_type": "int", "name": "CRB1", "properties": { "url": "http://identifiers.org/ncbigene/23418", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "crumbs family member 1, photoreceptor morphogenesis associated" }, "metanode": "Gene" }, { "id": 45328, "identifier": "C0341117", "identifier_type": "str", "name": "Esophageal erosions", "properties": { "url": "http://identifiers.org/umls/C0341117", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45329, "identifier": "D012891", "identifier_type": "str", "name": "Sleep Apnea Syndromes", "properties": { "url": "http://identifiers.org/mesh/D012891", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 45330, "identifier": "4589", "identifier_type": "int", "name": "MUC7", "properties": { "url": "http://identifiers.org/ncbigene/4589", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "mucin 7, secreted" }, "metanode": "Gene" }, { "id": 45331, "identifier": "DB00763", "identifier_type": "str", "name": "Methimazole", "properties": { "url": "http://www.drugbank.ca/drugs/DB00763", "inchi": "InChI=1S/C4H6N2S/c1-6-3-2-5-4(6)7/h2-3H,1H3,(H,5,7)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=PMRYVIKBURPHAH-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 45332, "identifier": "64806", "identifier_type": "int", "name": "IL25", "properties": { "url": "http://identifiers.org/ncbigene/64806", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "interleukin 25" }, "metanode": "Gene" }, { "id": 45863, "identifier": "PC7_6191", "identifier_type": "str", "name": "PLK3 signaling events", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 45333, "identifier": "UBERON:0002925", "identifier_type": "str", "name": "trigeminal nucleus", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002925", "bto_id": "BTO:0001074", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D014278" }, "metanode": "Anatomy" }, { "id": 45334, "identifier": "C0853347", "identifier_type": "str", "name": "Venous thrombosis limb", "properties": { "url": "http://identifiers.org/umls/C0853347", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45335, "identifier": "GO:0002295", "identifier_type": "str", "name": "T-helper cell lineage commitment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002295", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45336, "identifier": "79832", "identifier_type": "int", "name": "QSER1", "properties": { "url": "http://identifiers.org/ncbigene/79832", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "glutamine and serine rich 1" }, "metanode": "Gene" }, { "id": 45337, "identifier": "C0006267", "identifier_type": "str", "name": "Bronchiectasis", "properties": { "url": "http://identifiers.org/umls/C0006267", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45338, "identifier": "C3248383", "identifier_type": "str", "name": "Logorrhoea", "properties": { "url": "http://identifiers.org/umls/C3248383", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45339, "identifier": "9472", "identifier_type": "int", "name": "AKAP6", "properties": { "url": "http://identifiers.org/ncbigene/9472", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "A kinase (PRKA) anchor protein 6" }, "metanode": "Gene" }, { "id": 45340, "identifier": "DB00772", "identifier_type": "str", "name": "Malathion", "properties": { "url": "http://www.drugbank.ca/drugs/DB00772", "inchi": "InChI=1S/C10H19O6PS2/c1-5-15-9(11)7-8(10(12)16-6-2)19-17(18,13-3)14-4/h8H,5-7H2,1-4H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=JXSJBGJIGXNWCI-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 45341, "identifier": "C0853762", "identifier_type": "str", "name": "Exacerbation of hot flushes", "properties": { "url": "http://identifiers.org/umls/C0853762", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45342, "identifier": "84911", "identifier_type": "int", "name": "ZNF382", "properties": { "url": "http://identifiers.org/ncbigene/84911", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 382" }, "metanode": "Gene" }, { "id": 45343, "identifier": "3434", "identifier_type": "int", "name": "IFIT1", "properties": { "url": "http://identifiers.org/ncbigene/3434", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "interferon-induced protein with tetratricopeptide repeats 1" }, "metanode": "Gene" }, { "id": 45344, "identifier": "DB08823", "identifier_type": "str", "name": "Spinosad", "properties": { "url": "http://www.drugbank.ca/drugs/DB08823", "inchi": "InChI=1S/C42H67NO9/c1-10-27-12-11-13-35(52-38-17-16-34(43(5)6)25(4)49-38)24(3)39(45)33-21-31-29(32(33)22-37(44)51-27)15-14-26-19-28(20-30(26)31)50-36-18-23(2)40(46-7)42(48-9)41(36)47-8/h14-15,21,23-32,34-36,38,40-42H,10-13,16-20,22H2,1-9H3/t23-,24-,25-,26-,27+,28-,29-,30-,31-,32+,34+,35+,36-,38+,40+,41+,42-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=SRYYCRXKYKWXDQ-PTGKCMAJSA-N" }, "metanode": "Compound" }, { "id": 45345, "identifier": "GO:0030350", "identifier_type": "str", "name": "iron-responsive element binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030350", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45346, "identifier": "GO:0030100", "identifier_type": "str", "name": "regulation of endocytosis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030100", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45347, "identifier": "83756", "identifier_type": "int", "name": "TAS1R3", "properties": { "url": "http://identifiers.org/ncbigene/83756", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "taste receptor, type 1, member 3" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "