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=675
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=700", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=650", "results": [ { "id": 673, "identifier": "C0393760", "identifier_type": "str", "name": "Initial insomnia", "properties": { "url": "http://identifiers.org/umls/C0393760", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 674, "identifier": "C0847403", "identifier_type": "str", "name": "Infective tenosynovitis", "properties": { "url": "http://identifiers.org/umls/C0847403", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 675, "identifier": "GO:0052314", "identifier_type": "str", "name": "phytoalexin metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0052314", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 676, "identifier": "GO:0000303", "identifier_type": "str", "name": "response to superoxide", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000303", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 677, "identifier": "GO:0071208", "identifier_type": "str", "name": "histone pre-mRNA DCP binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071208", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 678, "identifier": "4522", "identifier_type": "int", "name": "MTHFD1", "properties": { "url": "http://identifiers.org/ncbigene/4522", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "methylenetetrahydrofolate dehydrogenase (NADP+ dependent) 1, methenyltetrahydrofolate cyclohydrolase, formyltetrahydrofolate synthetase" }, "metanode": "Gene" }, { "id": 679, "identifier": "54544", "identifier_type": "int", "name": "CRCT1", "properties": { "url": "http://identifiers.org/ncbigene/54544", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "cysteine-rich C-terminal 1" }, "metanode": "Gene" }, { "id": 680, "identifier": "140689", "identifier_type": "int", "name": "CBLN4", "properties": { "url": "http://identifiers.org/ncbigene/140689", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "cerebellin 4 precursor" }, "metanode": "Gene" }, { "id": 681, "identifier": "GO:0009226", "identifier_type": "str", "name": "nucleotide-sugar biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009226", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 682, "identifier": "PC7_4449", "identifier_type": "str", "name": "Hemostasis", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 683, "identifier": "C0016522", "identifier_type": "str", "name": "Foramen ovale patent", "properties": { "url": "http://identifiers.org/umls/C0016522", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 684, "identifier": "GO:1900376", "identifier_type": "str", "name": "regulation of secondary metabolite biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900376", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 685, "identifier": "PC7_12078", "identifier_type": "str", "name": "mTOR signaling pathway", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 686, "identifier": "25956", "identifier_type": "int", "name": "SEC31B", "properties": { "url": "http://identifiers.org/ncbigene/25956", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "SEC31 homolog B (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 687, "identifier": "64005", "identifier_type": "int", "name": "MYO1G", "properties": { "url": "http://identifiers.org/ncbigene/64005", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "myosin IG" }, "metanode": "Gene" }, { "id": 688, "identifier": "89894", "identifier_type": "int", "name": "TMEM116", "properties": { "url": "http://identifiers.org/ncbigene/89894", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "transmembrane protein 116" }, "metanode": "Gene" }, { "id": 689, "identifier": "79047", "identifier_type": "int", "name": "KCTD15", "properties": { "url": "http://identifiers.org/ncbigene/79047", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "potassium channel tetramerization domain containing 15" }, "metanode": "Gene" }, { "id": 690, "identifier": "52", "identifier_type": "int", "name": "ACP1", "properties": { "url": "http://identifiers.org/ncbigene/52", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "acid phosphatase 1, soluble" }, "metanode": "Gene" }, { "id": 691, "identifier": "8815", "identifier_type": "int", "name": "BANF1", "properties": { "url": "http://identifiers.org/ncbigene/8815", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "barrier to autointegration factor 1" }, "metanode": "Gene" }, { "id": 692, "identifier": "GO:1901660", "identifier_type": "str", "name": "calcium ion export", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901660", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 693, "identifier": "GO:0043633", "identifier_type": "str", "name": "polyadenylation-dependent RNA catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043633", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 694, "identifier": "GO:0015269", "identifier_type": "str", "name": "calcium-activated potassium channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015269", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 695, "identifier": "105378242", "identifier_type": "int", "name": "LOC105378242", "properties": { "url": "http://identifiers.org/ncbigene/105378242", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "zinc finger protein 705A-like" }, "metanode": "Gene" }, { "id": 696, "identifier": "2633", "identifier_type": "int", "name": "GBP1", "properties": { "url": "http://identifiers.org/ncbigene/2633", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "guanylate binding protein 1, interferon-inducible" }, "metanode": "Gene" }, { "id": 697, "identifier": "11140", "identifier_type": "int", "name": "CDC37", "properties": { "url": "http://identifiers.org/ncbigene/11140", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "cell division cycle 37" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "