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=2150
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2175", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2125", "results": [ { "id": 2141, "identifier": "283537", "identifier_type": "int", "name": "SLC46A3", "properties": { "url": "http://identifiers.org/ncbigene/283537", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "solute carrier family 46, member 3" }, "metanode": "Gene" }, { "id": 2142, "identifier": "GO:0035590", "identifier_type": "str", "name": "purinergic nucleotide receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035590", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2143, "identifier": "10418", "identifier_type": "int", "name": "SPON1", "properties": { "url": "http://identifiers.org/ncbigene/10418", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "spondin 1, extracellular matrix protein" }, "metanode": "Gene" }, { "id": 2144, "identifier": "GO:0018095", "identifier_type": "str", "name": "protein polyglutamylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018095", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2145, "identifier": "353140", "identifier_type": "int", "name": "LCE2C", "properties": { "url": "http://identifiers.org/ncbigene/353140", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "late cornified envelope 2C" }, "metanode": "Gene" }, { "id": 2147, "identifier": "653333", "identifier_type": "int", "name": "FAM86B2", "properties": { "url": "http://identifiers.org/ncbigene/653333", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "family with sequence similarity 86, member B2" }, "metanode": "Gene" }, { "id": 2148, "identifier": "286006", "identifier_type": "int", "name": "LSMEM1", "properties": { "url": "http://identifiers.org/ncbigene/286006", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "leucine-rich single-pass membrane protein 1" }, "metanode": "Gene" }, { "id": 2149, "identifier": "10795", "identifier_type": "int", "name": "ZNF268", "properties": { "url": "http://identifiers.org/ncbigene/10795", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "zinc finger protein 268" }, "metanode": "Gene" }, { "id": 2150, "identifier": "GO:0005351", "identifier_type": "str", "name": "sugar:proton symporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005351", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2151, "identifier": "GO:0016769", "identifier_type": "str", "name": "transferase activity, transferring nitrogenous groups", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016769", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2152, "identifier": "84830", "identifier_type": "int", "name": "ADTRP", "properties": { "url": "http://identifiers.org/ncbigene/84830", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "androgen-dependent TFPI-regulating protein" }, "metanode": "Gene" }, { "id": 2153, "identifier": "105374693", "identifier_type": "int", "name": "LOC105374693", "properties": { "url": "http://identifiers.org/ncbigene/105374693", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "spidroin-2-like" }, "metanode": "Gene" }, { "id": 2154, "identifier": "6705", "identifier_type": "int", "name": "SPRR2F", "properties": { "url": "http://identifiers.org/ncbigene/6705", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "small proline-rich protein 2F" }, "metanode": "Gene" }, { "id": 2155, "identifier": "146540", "identifier_type": "int", "name": "ZNF785", "properties": { "url": "http://identifiers.org/ncbigene/146540", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zinc finger protein 785" }, "metanode": "Gene" }, { "id": 2156, "identifier": "C0877331", "identifier_type": "str", "name": "Abnormal clotting factor", "properties": { "url": "http://identifiers.org/umls/C0877331", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2157, "identifier": "GO:0072048", "identifier_type": "str", "name": "renal system pattern specification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072048", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2158, "identifier": "N0000006014", "identifier_type": "str", "name": "Pyrethrins", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000006014", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Chemical/Ingredient" }, "metanode": "Pharmacologic Class" }, { "id": 2159, "identifier": "C0919980", "identifier_type": "str", "name": "VIIth nerve paralysis", "properties": { "url": "http://identifiers.org/umls/C0919980", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2160, "identifier": "338324", "identifier_type": "int", "name": "S100A7A", "properties": { "url": "http://identifiers.org/ncbigene/338324", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "S100 calcium binding protein A7A" }, "metanode": "Gene" }, { "id": 2161, "identifier": "GO:0002457", "identifier_type": "str", "name": "T cell antigen processing and presentation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002457", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2162, "identifier": "10044", "identifier_type": "int", "name": "SH2D3C", "properties": { "url": "http://identifiers.org/ncbigene/10044", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "SH2 domain containing 3C" }, "metanode": "Gene" }, { "id": 2163, "identifier": "105373316", "identifier_type": "int", "name": "LOC105373316", "properties": { "url": "http://identifiers.org/ncbigene/105373316", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "collagen alpha-4(IV) chain-like" }, "metanode": "Gene" }, { "id": 2164, "identifier": "C0264886", "identifier_type": "str", "name": "Conduction disorder", "properties": { "url": "http://identifiers.org/umls/C0264886", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2165, "identifier": "105370980", "identifier_type": "int", "name": "LOC105370980", "properties": { "url": "http://identifiers.org/ncbigene/105370980", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "putative uncharacterized protein UNQ9370/PRO34162" }, "metanode": "Gene" }, { "id": 2166, "identifier": "134145", "identifier_type": "int", "name": "FAM173B", "properties": { "url": "http://identifiers.org/ncbigene/134145", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "family with sequence similarity 173, member B" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "