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=45375
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45400", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45350", "results": [ { "id": 45373, "identifier": "GO:0000811", "identifier_type": "str", "name": "GINS complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000811", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45374, "identifier": "N0000175755", "identifier_type": "str", "name": "DOPA Decarboxylase Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175755", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 45375, "identifier": "159091", "identifier_type": "int", "name": "FAM122C", "properties": { "url": "http://identifiers.org/ncbigene/159091", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "family with sequence similarity 122C" }, "metanode": "Gene" }, { "id": 45376, "identifier": "3758", "identifier_type": "int", "name": "KCNJ1", "properties": { "url": "http://identifiers.org/ncbigene/3758", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "potassium channel, inwardly rectifying subfamily J, member 1" }, "metanode": "Gene" }, { "id": 45377, "identifier": "GO:0038112", "identifier_type": "str", "name": "interleukin-8-mediated signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0038112", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45378, "identifier": "GO:1901476", "identifier_type": "str", "name": "carbohydrate transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901476", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45379, "identifier": "PC7_2035", "identifier_type": "str", "name": "Basigin interactions", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45380, "identifier": "2243", "identifier_type": "int", "name": "FGA", "properties": { "url": "http://identifiers.org/ncbigene/2243", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "fibrinogen alpha chain" }, "metanode": "Gene" }, { "id": 45381, "identifier": "10878", "identifier_type": "int", "name": "CFHR3", "properties": { "url": "http://identifiers.org/ncbigene/10878", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "complement factor H-related 3" }, "metanode": "Gene" }, { "id": 45382, "identifier": "GO:0005579", "identifier_type": "str", "name": "membrane attack complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005579", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45383, "identifier": "GO:0030205", "identifier_type": "str", "name": "dermatan sulfate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030205", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45384, "identifier": "222256", "identifier_type": "int", "name": "CDHR3", "properties": { "url": "http://identifiers.org/ncbigene/222256", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "cadherin-related family member 3" }, "metanode": "Gene" }, { "id": 45385, "identifier": "GO:0021513", "identifier_type": "str", "name": "spinal cord dorsal/ventral patterning", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021513", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45386, "identifier": "C0854135", "identifier_type": "str", "name": "Infection pseudomonas aeruginosa", "properties": { "url": "http://identifiers.org/umls/C0854135", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45387, "identifier": "GO:1902358", "identifier_type": "str", "name": "sulfate transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902358", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45388, "identifier": "4696", "identifier_type": "int", "name": "NDUFA3", "properties": { "url": "http://identifiers.org/ncbigene/4696", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "NADH dehydrogenase (ubiquinone) 1 alpha subcomplex, 3, 9kDa" }, "metanode": "Gene" }, { "id": 45389, "identifier": "54734", "identifier_type": "int", "name": "RAB39A", "properties": { "url": "http://identifiers.org/ncbigene/54734", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "RAB39A, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 45390, "identifier": "200576", "identifier_type": "int", "name": "PIKFYVE", "properties": { "url": "http://identifiers.org/ncbigene/200576", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "phosphoinositide kinase, FYVE finger containing" }, "metanode": "Gene" }, { "id": 45391, "identifier": "GO:0002151", "identifier_type": "str", "name": "G-quadruplex RNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002151", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45392, "identifier": "C0029445", "identifier_type": "str", "name": "Osteonecrosis", "properties": { "url": "http://identifiers.org/umls/C0029445", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45393, "identifier": "284695", "identifier_type": "int", "name": "ZNF326", "properties": { "url": "http://identifiers.org/ncbigene/284695", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "zinc finger protein 326" }, "metanode": "Gene" }, { "id": 45394, "identifier": "7165", "identifier_type": "int", "name": "TPD52L2", "properties": { "url": "http://identifiers.org/ncbigene/7165", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "tumor protein D52-like 2" }, "metanode": "Gene" }, { "id": 45395, "identifier": "57187", "identifier_type": "int", "name": "THOC2", "properties": { "url": "http://identifiers.org/ncbigene/57187", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "THO complex 2" }, "metanode": "Gene" }, { "id": 45396, "identifier": "192670", "identifier_type": "int", "name": "AGO4", "properties": { "url": "http://identifiers.org/ncbigene/192670", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "argonaute RISC catalytic component 4" }, "metanode": "Gene" }, { "id": 45397, "identifier": "GO:0015375", "identifier_type": "str", "name": "glycine:sodium symporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015375", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" } ] }{ "count": 47031, "next": "