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=46850
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46875", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46825", "results": [ { "id": 46849, "identifier": "N0000180999", "identifier_type": "str", "name": "Angiotensin 2 Type 1 Receptor Antagonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000180999", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 46850, "identifier": "GO:0021801", "identifier_type": "str", "name": "cerebral cortex radial glia guided migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021801", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46851, "identifier": "UBERON:0000974", "identifier_type": "str", "name": "neck", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0000974", "bto_id": "BTO:0000420", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D009333" }, "metanode": "Anatomy" }, { "id": 46852, "identifier": "54900", "identifier_type": "int", "name": "LAX1", "properties": { "url": "http://identifiers.org/ncbigene/54900", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "lymphocyte transmembrane adaptor 1" }, "metanode": "Gene" }, { "id": 46853, "identifier": "GO:0004021", "identifier_type": "str", "name": "L-alanine:2-oxoglutarate aminotransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004021", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46854, "identifier": "GO:0002246", "identifier_type": "str", "name": "wound healing involved in inflammatory response", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002246", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46855, "identifier": "GO:0033588", "identifier_type": "str", "name": "Elongator holoenzyme complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033588", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46856, "identifier": "GO:0033034", "identifier_type": "str", "name": "positive regulation of myeloid cell apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033034", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46857, "identifier": "GO:0031507", "identifier_type": "str", "name": "heterochromatin assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031507", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46858, "identifier": "7203", "identifier_type": "int", "name": "CCT3", "properties": { "url": "http://identifiers.org/ncbigene/7203", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chaperonin containing TCP1, subunit 3 (gamma)" }, "metanode": "Gene" }, { "id": 46859, "identifier": "123169", "identifier_type": "int", "name": "LEO1", "properties": { "url": "http://identifiers.org/ncbigene/123169", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "Leo1, Paf1/RNA polymerase II complex component, homolog (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 46861, "identifier": "26040", "identifier_type": "int", "name": "SETBP1", "properties": { "url": "http://identifiers.org/ncbigene/26040", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "SET binding protein 1" }, "metanode": "Gene" }, { "id": 46862, "identifier": "2035", "identifier_type": "int", "name": "EPB41", "properties": { "url": "http://identifiers.org/ncbigene/2035", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "erythrocyte membrane protein band 4.1" }, "metanode": "Gene" }, { "id": 46863, "identifier": "GO:0051260", "identifier_type": "str", "name": "protein homooligomerization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051260", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46864, "identifier": "105371478", "identifier_type": "int", "name": "LOC105371478", "properties": { "url": "http://identifiers.org/ncbigene/105371478", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "breakpoint cluster region protein-like" }, "metanode": "Gene" }, { "id": 46865, "identifier": "150946", "identifier_type": "int", "name": "GAREML", "properties": { "url": "http://identifiers.org/ncbigene/150946", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "GRB2 associated, regulator of MAPK1-like" }, "metanode": "Gene" }, { "id": 46866, "identifier": "GO:0019076", "identifier_type": "str", "name": "viral release from host cell", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019076", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46867, "identifier": "9027", "identifier_type": "int", "name": "NAT8", "properties": { "url": "http://identifiers.org/ncbigene/9027", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "N-acetyltransferase 8 (GCN5-related, putative)" }, "metanode": "Gene" }, { "id": 46868, "identifier": "GO:0001786", "identifier_type": "str", "name": "phosphatidylserine binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001786", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46869, "identifier": "GO:0019784", "identifier_type": "str", "name": "NEDD8-specific protease activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019784", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46870, "identifier": "105369240", "identifier_type": "int", "name": "LOC105369240", "properties": { "url": "http://identifiers.org/ncbigene/105369240", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "beta-defensin 131-like" }, "metanode": "Gene" }, { "id": 46871, "identifier": "GO:0044273", "identifier_type": "str", "name": "sulfur compound catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044273", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46872, "identifier": "GO:0022841", "identifier_type": "str", "name": "potassium ion leak channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0022841", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46873, "identifier": "284615", "identifier_type": "int", "name": "ANKRD34A", "properties": { "url": "http://identifiers.org/ncbigene/284615", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ankyrin repeat domain 34A" }, "metanode": "Gene" }, { "id": 46874, "identifier": "26994", "identifier_type": "int", "name": "RNF11", "properties": { "url": "http://identifiers.org/ncbigene/26994", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ring finger protein 11" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "