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=45550
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45575", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45525", "results": [ { "id": 45548, "identifier": "GO:0003886", "identifier_type": "str", "name": "DNA (cytosine-5-)-methyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003886", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45549, "identifier": "GO:0043148", "identifier_type": "str", "name": "mitotic spindle stabilization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043148", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45550, "identifier": "56129", "identifier_type": "int", "name": "PCDHB7", "properties": { "url": "http://identifiers.org/ncbigene/56129", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin beta 7" }, "metanode": "Gene" }, { "id": 45551, "identifier": "64764", "identifier_type": "int", "name": "CREB3L2", "properties": { "url": "http://identifiers.org/ncbigene/64764", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "cAMP responsive element binding protein 3-like 2" }, "metanode": "Gene" }, { "id": 45552, "identifier": "101929373", "identifier_type": "int", "name": "LOC101929373", "properties": { "url": "http://identifiers.org/ncbigene/101929373", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "putative protein NHEDC1-like 2" }, "metanode": "Gene" }, { "id": 45553, "identifier": "116969", "identifier_type": "int", "name": "ART5", "properties": { "url": "http://identifiers.org/ncbigene/116969", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "ADP-ribosyltransferase 5" }, "metanode": "Gene" }, { "id": 45554, "identifier": "125476", "identifier_type": "int", "name": "INO80C", "properties": { "url": "http://identifiers.org/ncbigene/125476", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "INO80 complex subunit C" }, "metanode": "Gene" }, { "id": 45555, "identifier": "7355", "identifier_type": "int", "name": "SLC35A2", "properties": { "url": "http://identifiers.org/ncbigene/7355", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "solute carrier family 35 (UDP-galactose transporter), member A2" }, "metanode": "Gene" }, { "id": 45556, "identifier": "683", "identifier_type": "int", "name": "BST1", "properties": { "url": "http://identifiers.org/ncbigene/683", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "bone marrow stromal cell antigen 1" }, "metanode": "Gene" }, { "id": 45557, "identifier": "9446", "identifier_type": "int", "name": "GSTO1", "properties": { "url": "http://identifiers.org/ncbigene/9446", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "glutathione S-transferase omega 1" }, "metanode": "Gene" }, { "id": 45558, "identifier": "GO:0003170", "identifier_type": "str", "name": "heart valve development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003170", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45559, "identifier": "GO:0045165", "identifier_type": "str", "name": "cell fate commitment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045165", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45560, "identifier": "GO:0060398", "identifier_type": "str", "name": "regulation of growth hormone receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060398", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45561, "identifier": "C0948179", "identifier_type": "str", "name": "Postoperative constipation", "properties": { "url": "http://identifiers.org/umls/C0948179", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45562, "identifier": "C0206624", "identifier_type": "str", "name": "Hepatoblastoma", "properties": { "url": "http://identifiers.org/umls/C0206624", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45563, "identifier": "C0007131", "identifier_type": "str", "name": "Non-small cell lung cancer", "properties": { "url": "http://identifiers.org/umls/C0007131", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45564, "identifier": "GO:0015216", "identifier_type": "str", "name": "purine nucleotide transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015216", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45565, "identifier": "WP1995_r69910", "identifier_type": "str", "name": "Effects of Nitric Oxide", "properties": { "url": "http://www.wikipathways.org/instance/WP1995_r69910", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 45566, "identifier": "5733", "identifier_type": "int", "name": "PTGER3", "properties": { "url": "http://identifiers.org/ncbigene/5733", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "prostaglandin E receptor 3 (subtype EP3)" }, "metanode": "Gene" }, { "id": 45567, "identifier": "51659", "identifier_type": "int", "name": "GINS2", "properties": { "url": "http://identifiers.org/ncbigene/51659", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "GINS complex subunit 2 (Psf2 homolog)" }, "metanode": "Gene" }, { "id": 45568, "identifier": "GO:0016926", "identifier_type": "str", "name": "protein desumoylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016926", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45569, "identifier": "DB00229", "identifier_type": "str", "name": "Cefotiam", "properties": { "url": "http://www.drugbank.ca/drugs/DB00229", "inchi": "InChI=1S/C18H23N9O4S3/c1-25(2)3-4-26-18(22-23-24-26)34-7-9-6-32-15-12(14(29)27(15)13(9)16(30)31)21-11(28)5-10-8-33-17(19)20-10/h8,12,15H,3-7H2,1-2H3,(H2,19,20)(H,21,28)(H,30,31)/t12-,15-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=QYQDKDWGWDOFFU-IUODEOHRSA-N" }, "metanode": "Compound" }, { "id": 45570, "identifier": "C0151735", "identifier_type": "str", "name": "Injection site reaction", "properties": { "url": "http://identifiers.org/umls/C0151735", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45571, "identifier": "C0151685", "identifier_type": "str", "name": "Growth accelerated", "properties": { "url": "http://identifiers.org/umls/C0151685", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45572, "identifier": "GO:1900024", "identifier_type": "str", "name": "regulation of substrate adhesion-dependent cell spreading", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900024", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "