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=1675
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1700", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1650", "results": [ { "id": 1671, "identifier": "51257", "identifier_type": "int", "name": "MARCH2", "properties": { "url": "http://identifiers.org/ncbigene/51257", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "membrane-associated ring finger (C3HC4) 2, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 1672, "identifier": "GO:2001025", "identifier_type": "str", "name": "positive regulation of response to drug", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2001025", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1673, "identifier": "221504", "identifier_type": "int", "name": "ZBTB9", "properties": { "url": "http://identifiers.org/ncbigene/221504", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "zinc finger and BTB domain containing 9" }, "metanode": "Gene" }, { "id": 1674, "identifier": "GO:0019344", "identifier_type": "str", "name": "cysteine biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019344", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1675, "identifier": "PC7_1573", "identifier_type": "str", "name": "Adherens junctions interactions", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1676, "identifier": "GO:0022857", "identifier_type": "str", "name": "transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0022857", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1677, "identifier": "GO:0006437", "identifier_type": "str", "name": "tyrosyl-tRNA aminoacylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006437", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1678, "identifier": "84138", "identifier_type": "int", "name": "SLC7A6OS", "properties": { "url": "http://identifiers.org/ncbigene/84138", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "solute carrier family 7, member 6 opposite strand" }, "metanode": "Gene" }, { "id": 1679, "identifier": "DB04942", "identifier_type": "str", "name": "Tamibarotene", "properties": { "url": "http://www.drugbank.ca/drugs/DB04942", "inchi": "InChI=1S/C22H25NO3/c1-21(2)11-12-22(3,4)18-13-16(9-10-17(18)21)23-19(24)14-5-7-15(8-6-14)20(25)26/h5-10,13H,11-12H2,1-4H3,(H,23,24)(H,25,26)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=MUTNCGKQJGXKEM-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1680, "identifier": "6157", "identifier_type": "int", "name": "RPL27A", "properties": { "url": "http://identifiers.org/ncbigene/6157", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "ribosomal protein L27a" }, "metanode": "Gene" }, { "id": 1681, "identifier": "449523", "identifier_type": "int", "name": "JST", "properties": { "url": "http://identifiers.org/ncbigene/449523", "source": "Entrez Gene", "license": "CC0 1.0", "description": "tumor suppressor gene JST" }, "metanode": "Gene" }, { "id": 1682, "identifier": "102724730", "identifier_type": "int", "name": "LOC102724730", "properties": { "url": "http://identifiers.org/ncbigene/102724730", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "uncharacterized LOC102724730" }, "metanode": "Gene" }, { "id": 1683, "identifier": "GO:0006740", "identifier_type": "str", "name": "NADPH regeneration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006740", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1684, "identifier": "79840", "identifier_type": "int", "name": "NHEJ1", "properties": { "url": "http://identifiers.org/ncbigene/79840", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "nonhomologous end-joining factor 1" }, "metanode": "Gene" }, { "id": 1685, "identifier": "989", "identifier_type": "int", "name": "SEPT7", "properties": { "url": "http://identifiers.org/ncbigene/989", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "septin 7" }, "metanode": "Gene" }, { "id": 1686, "identifier": "9480", "identifier_type": "int", "name": "ONECUT2", "properties": { "url": "http://identifiers.org/ncbigene/9480", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "one cut homeobox 2" }, "metanode": "Gene" }, { "id": 1687, "identifier": "51011", "identifier_type": "int", "name": "FAHD2A", "properties": { "url": "http://identifiers.org/ncbigene/51011", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "fumarylacetoacetate hydrolase domain containing 2A" }, "metanode": "Gene" }, { "id": 1688, "identifier": "158038", "identifier_type": "int", "name": "LINGO2", "properties": { "url": "http://identifiers.org/ncbigene/158038", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "leucine rich repeat and Ig domain containing 2" }, "metanode": "Gene" }, { "id": 1689, "identifier": "GO:0051025", "identifier_type": "str", "name": "negative regulation of immunoglobulin secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051025", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1690, "identifier": "GO:0035483", "identifier_type": "str", "name": "gastric emptying", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035483", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1691, "identifier": "105370288", "identifier_type": "int", "name": "LOC105370288", "properties": { "url": "http://identifiers.org/ncbigene/105370288", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "putative uncharacterized protein C1orf99" }, "metanode": "Gene" }, { "id": 1692, "identifier": "259307", "identifier_type": "int", "name": "IL4I1", "properties": { "url": "http://identifiers.org/ncbigene/259307", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "interleukin 4 induced 1" }, "metanode": "Gene" }, { "id": 1693, "identifier": "497190", "identifier_type": "int", "name": "CLEC18B", "properties": { "url": "http://identifiers.org/ncbigene/497190", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "C-type lectin domain family 18, member B" }, "metanode": "Gene" }, { "id": 1694, "identifier": "100288908", "identifier_type": "int", "name": "LOC100288908", "properties": { "url": "http://identifiers.org/ncbigene/100288908", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "PRO2898" }, "metanode": "Gene" }, { "id": 1695, "identifier": "3442", "identifier_type": "int", "name": "IFNA5", "properties": { "url": "http://identifiers.org/ncbigene/3442", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "interferon, alpha 5" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "