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=900
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=925", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=875", "results": [ { "id": 899, "identifier": "GO:0060026", "identifier_type": "str", "name": "convergent extension", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060026", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 900, "identifier": "UBERON:0001702", "identifier_type": "str", "name": "eyelash", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001702", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D005140" }, "metanode": "Anatomy" }, { "id": 901, "identifier": "101929008", "identifier_type": "int", "name": "LOC101929008", "properties": { "url": "http://identifiers.org/ncbigene/101929008", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "uncharacterized LOC101929008" }, "metanode": "Gene" }, { "id": 902, "identifier": "C0023487", "identifier_type": "str", "name": "Acute promyelocytic leukaemia", "properties": { "url": "http://identifiers.org/umls/C0023487", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 903, "identifier": "1788", "identifier_type": "int", "name": "DNMT3A", "properties": { "url": "http://identifiers.org/ncbigene/1788", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "DNA (cytosine-5-)-methyltransferase 3 alpha" }, "metanode": "Gene" }, { "id": 904, "identifier": "462", "identifier_type": "int", "name": "SERPINC1", "properties": { "url": "http://identifiers.org/ncbigene/462", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "serpin peptidase inhibitor, clade C (antithrombin), member 1" }, "metanode": "Gene" }, { "id": 905, "identifier": "9081", "identifier_type": "int", "name": "PRY", "properties": { "url": "http://identifiers.org/ncbigene/9081", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "Y", "description": "PTPN13-like, Y-linked" }, "metanode": "Gene" }, { "id": 906, "identifier": "GO:0009786", "identifier_type": "str", "name": "regulation of asymmetric cell division", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009786", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 907, "identifier": "728379", "identifier_type": "int", "name": "USP17L26", "properties": { "url": "http://identifiers.org/ncbigene/728379", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "ubiquitin specific peptidase 17-like family member 26" }, "metanode": "Gene" }, { "id": 908, "identifier": "C0085650", "identifier_type": "str", "name": "Purpura fulminans", "properties": { "url": "http://identifiers.org/umls/C0085650", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 909, "identifier": "389852", "identifier_type": "int", "name": "SPACA5", "properties": { "url": "http://identifiers.org/ncbigene/389852", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "sperm acrosome associated 5" }, "metanode": "Gene" }, { "id": 910, "identifier": "284669", "identifier_type": "int", "name": "LOC284669", "properties": { "url": "http://identifiers.org/ncbigene/284669", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "uncharacterized LOC284669" }, "metanode": "Gene" }, { "id": 911, "identifier": "GO:0045666", "identifier_type": "str", "name": "positive regulation of neuron differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045666", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 912, "identifier": "2915", "identifier_type": "int", "name": "GRM5", "properties": { "url": "http://identifiers.org/ncbigene/2915", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "glutamate receptor, metabotropic 5" }, "metanode": "Gene" }, { "id": 913, "identifier": "57348", "identifier_type": "int", "name": "TTYH1", "properties": { "url": "http://identifiers.org/ncbigene/57348", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "tweety family member 1" }, "metanode": "Gene" }, { "id": 914, "identifier": "80011", "identifier_type": "int", "name": "FAM192A", "properties": { "url": "http://identifiers.org/ncbigene/80011", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "family with sequence similarity 192, member A" }, "metanode": "Gene" }, { "id": 915, "identifier": "GO:0000314", "identifier_type": "str", "name": "organellar small ribosomal subunit", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000314", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 916, "identifier": "5368", "identifier_type": "int", "name": "PNOC", "properties": { "url": "http://identifiers.org/ncbigene/5368", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "prepronociceptin" }, "metanode": "Gene" }, { "id": 917, "identifier": "11093", "identifier_type": "int", "name": "ADAMTS13", "properties": { "url": "http://identifiers.org/ncbigene/11093", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "ADAM metallopeptidase with thrombospondin type 1 motif, 13" }, "metanode": "Gene" }, { "id": 918, "identifier": "51310", "identifier_type": "int", "name": "SLC22A17", "properties": { "url": "http://identifiers.org/ncbigene/51310", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "solute carrier family 22, member 17" }, "metanode": "Gene" }, { "id": 919, "identifier": "GO:0010138", "identifier_type": "str", "name": "pyrimidine ribonucleotide salvage", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010138", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 920, "identifier": "285367", "identifier_type": "int", "name": "RPUSD3", "properties": { "url": "http://identifiers.org/ncbigene/285367", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "RNA pseudouridylate synthase domain containing 3" }, "metanode": "Gene" }, { "id": 921, "identifier": "7709", "identifier_type": "int", "name": "ZBTB17", "properties": { "url": "http://identifiers.org/ncbigene/7709", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "zinc finger and BTB domain containing 17" }, "metanode": "Gene" }, { "id": 922, "identifier": "53635", "identifier_type": "int", "name": "PTOV1", "properties": { "url": "http://identifiers.org/ncbigene/53635", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "prostate tumor overexpressed 1" }, "metanode": "Gene" }, { "id": 923, "identifier": "GO:0030362", "identifier_type": "str", "name": "protein phosphatase type 4 regulator activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030362", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" } ] }{ "count": 47031, "next": "