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=600
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=625", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=575", "results": [ { "id": 598, "identifier": "84333", "identifier_type": "int", "name": "PCGF5", "properties": { "url": "http://identifiers.org/ncbigene/84333", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "polycomb group ring finger 5" }, "metanode": "Gene" }, { "id": 599, "identifier": "7422", "identifier_type": "int", "name": "VEGFA", "properties": { "url": "http://identifiers.org/ncbigene/7422", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "vascular endothelial growth factor A" }, "metanode": "Gene" }, { "id": 600, "identifier": "GO:0071599", "identifier_type": "str", "name": "otic vesicle development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071599", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 601, "identifier": "UBERON:0001003", "identifier_type": "str", "name": "skin epidermis", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001003", "bto_id": "BTO:0000404", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D004817" }, "metanode": "Anatomy" }, { "id": 602, "identifier": "WP1539_r79949", "identifier_type": "str", "name": "Angiogenesis", "properties": { "url": "http://www.wikipathways.org/instance/WP1539_r79949", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 603, "identifier": "C0027858", "identifier_type": "str", "name": "Neuroma", "properties": { "url": "http://identifiers.org/umls/C0027858", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 604, "identifier": "GO:1904327", "identifier_type": "str", "name": "protein localization to cytosolic proteasome complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904327", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 605, "identifier": "PC7_7726", "identifier_type": "str", "name": "Synthesis of (16-20)-hydroxyeicosatetraenoic acids (HETE)", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 606, "identifier": "3283", "identifier_type": "int", "name": "HSD3B1", "properties": { "url": "http://identifiers.org/ncbigene/3283", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "hydroxy-delta-5-steroid dehydrogenase, 3 beta- and steroid delta-isomerase 1" }, "metanode": "Gene" }, { "id": 607, "identifier": "PC7_4438", "identifier_type": "str", "name": "Hedgehog 'off' state", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 608, "identifier": "GO:0032352", "identifier_type": "str", "name": "positive regulation of hormone metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032352", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 609, "identifier": "C0151966", "identifier_type": "str", "name": "Duodenal ulcer haemorrhage", "properties": { "url": "http://identifiers.org/umls/C0151966", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 610, "identifier": "55801", "identifier_type": "int", "name": "IL26", "properties": { "url": "http://identifiers.org/ncbigene/55801", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "interleukin 26" }, "metanode": "Gene" }, { "id": 611, "identifier": "GO:0004332", "identifier_type": "str", "name": "fructose-bisphosphate aldolase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004332", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 612, "identifier": "100652833", "identifier_type": "int", "name": "LOC100652833", "properties": { "url": "http://identifiers.org/ncbigene/100652833", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "putative POM121-like protein 1-like" }, "metanode": "Gene" }, { "id": 613, "identifier": "GO:0052552", "identifier_type": "str", "name": "modulation by organism of immune response of other organism involved in symbiotic interaction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0052552", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 614, "identifier": "GO:0031464", "identifier_type": "str", "name": "Cul4A-RING E3 ubiquitin ligase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031464", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 615, "identifier": "GO:0045104", "identifier_type": "str", "name": "intermediate filament cytoskeleton organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045104", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 616, "identifier": "728945", "identifier_type": "int", "name": "PPIAL4F", "properties": { "url": "http://identifiers.org/ncbigene/728945", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "peptidylprolyl isomerase A (cyclophilin A)-like 4F" }, "metanode": "Gene" }, { "id": 617, "identifier": "27085", "identifier_type": "int", "name": "MTBP", "properties": { "url": "http://identifiers.org/ncbigene/27085", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "MDM2 binding protein" }, "metanode": "Gene" }, { "id": 618, "identifier": "2936", "identifier_type": "int", "name": "GSR", "properties": { "url": "http://identifiers.org/ncbigene/2936", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "glutathione reductase" }, "metanode": "Gene" }, { "id": 619, "identifier": "D012585", "identifier_type": "str", "name": "Sciatica", "properties": { "url": "http://identifiers.org/mesh/D012585", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 620, "identifier": "GO:0006836", "identifier_type": "str", "name": "neurotransmitter transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006836", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 621, "identifier": "57369", "identifier_type": "int", "name": "GJD2", "properties": { "url": "http://identifiers.org/ncbigene/57369", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "gap junction protein, delta 2, 36kDa" }, "metanode": "Gene" }, { "id": 622, "identifier": "6336", "identifier_type": "int", "name": "SCN10A", "properties": { "url": "http://identifiers.org/ncbigene/6336", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "sodium channel, voltage gated, type X alpha subunit" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "