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=46350
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46375", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46325", "results": [ { "id": 46349, "identifier": "GO:0006573", "identifier_type": "str", "name": "valine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006573", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46350, "identifier": "GO:0016859", "identifier_type": "str", "name": "cis-trans isomerase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016859", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46351, "identifier": "GO:1904936", "identifier_type": "str", "name": "interneuron migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904936", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46352, "identifier": "105369200", "identifier_type": "int", "name": "LOC105369200", "properties": { "url": "http://identifiers.org/ncbigene/105369200", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "uncharacterized LOC105369200" }, "metanode": "Gene" }, { "id": 46353, "identifier": "3297", "identifier_type": "int", "name": "HSF1", "properties": { "url": "http://identifiers.org/ncbigene/3297", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "heat shock transcription factor 1" }, "metanode": "Gene" }, { "id": 46354, "identifier": "GO:0051462", "identifier_type": "str", "name": "regulation of cortisol secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051462", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46355, "identifier": "GO:0046514", "identifier_type": "str", "name": "ceramide catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046514", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46356, "identifier": "55917", "identifier_type": "int", "name": "CTTNBP2NL", "properties": { "url": "http://identifiers.org/ncbigene/55917", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "CTTNBP2 N-terminal like" }, "metanode": "Gene" }, { "id": 46357, "identifier": "GO:0042056", "identifier_type": "str", "name": "chemoattractant activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042056", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46358, "identifier": "GO:0042412", "identifier_type": "str", "name": "taurine biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042412", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46359, "identifier": "GO:0000185", "identifier_type": "str", "name": "activation of MAPKKK activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000185", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46360, "identifier": "599", "identifier_type": "int", "name": "BCL2L2", "properties": { "url": "http://identifiers.org/ncbigene/599", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "BCL2-like 2" }, "metanode": "Gene" }, { "id": 46361, "identifier": "219870", "identifier_type": "int", "name": "OR10G9", "properties": { "url": "http://identifiers.org/ncbigene/219870", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 10, subfamily G, member 9" }, "metanode": "Gene" }, { "id": 46362, "identifier": "GO:0071407", "identifier_type": "str", "name": "cellular response to organic cyclic compound", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071407", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46363, "identifier": "GO:0048563", "identifier_type": "str", "name": "post-embryonic organ morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048563", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46364, "identifier": "127845", "identifier_type": "int", "name": "GOLT1A", "properties": { "url": "http://identifiers.org/ncbigene/127845", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "golgi transport 1A" }, "metanode": "Gene" }, { "id": 46365, "identifier": "3052", "identifier_type": "int", "name": "HCCS", "properties": { "url": "http://identifiers.org/ncbigene/3052", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "holocytochrome c synthase" }, "metanode": "Gene" }, { "id": 46366, "identifier": "80148", "identifier_type": "int", "name": "PQLC1", "properties": { "url": "http://identifiers.org/ncbigene/80148", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "PQ loop repeat containing 1" }, "metanode": "Gene" }, { "id": 46367, "identifier": "C0041976", "identifier_type": "str", "name": "Urethritis", "properties": { "url": "http://identifiers.org/umls/C0041976", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46368, "identifier": "151963", "identifier_type": "int", "name": "MB21D2", "properties": { "url": "http://identifiers.org/ncbigene/151963", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "Mab-21 domain containing 2" }, "metanode": "Gene" }, { "id": 46369, "identifier": "51447", "identifier_type": "int", "name": "IP6K2", "properties": { "url": "http://identifiers.org/ncbigene/51447", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "inositol hexakisphosphate kinase 2" }, "metanode": "Gene" }, { "id": 46370, "identifier": "GO:0000802", "identifier_type": "str", "name": "transverse filament", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000802", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46371, "identifier": "116255", "identifier_type": "int", "name": "MOGAT1", "properties": { "url": "http://identifiers.org/ncbigene/116255", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "monoacylglycerol O-acyltransferase 1" }, "metanode": "Gene" }, { "id": 46372, "identifier": "23344", "identifier_type": "int", "name": "ESYT1", "properties": { "url": "http://identifiers.org/ncbigene/23344", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "extended synaptotagmin-like protein 1" }, "metanode": "Gene" }, { "id": 46373, "identifier": "7846", "identifier_type": "int", "name": "TUBA1A", "properties": { "url": "http://identifiers.org/ncbigene/7846", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "tubulin, alpha 1a" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "