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=46500
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46525", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46475", "results": [ { "id": 46497, "identifier": "GO:0021561", "identifier_type": "str", "name": "facial nerve development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021561", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46498, "identifier": "GO:0004857", "identifier_type": "str", "name": "enzyme inhibitor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004857", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46499, "identifier": "GO:0019898", "identifier_type": "str", "name": "extrinsic component of membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019898", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46500, "identifier": "84769", "identifier_type": "int", "name": "MPV17L2", "properties": { "url": "http://identifiers.org/ncbigene/84769", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "MPV17 mitochondrial membrane protein-like 2" }, "metanode": "Gene" }, { "id": 46501, "identifier": "GO:0008559", "identifier_type": "str", "name": "xenobiotic-transporting ATPase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008559", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46502, "identifier": "104326056", "identifier_type": "int", "name": "ZNF511-PRAP1", "properties": { "url": "http://identifiers.org/ncbigene/104326056", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "ZNF511-PRAP1 readthrough" }, "metanode": "Gene" }, { "id": 46503, "identifier": "UBERON:0002368", "identifier_type": "str", "name": "endocrine gland", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002368", "bto_id": "BTO:0001488", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D004702" }, "metanode": "Anatomy" }, { "id": 46504, "identifier": "GO:0045399", "identifier_type": "str", "name": "regulation of interleukin-3 biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045399", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46505, "identifier": "6788", "identifier_type": "int", "name": "STK3", "properties": { "url": "http://identifiers.org/ncbigene/6788", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "serine/threonine kinase 3" }, "metanode": "Gene" }, { "id": 46506, "identifier": "56938", "identifier_type": "int", "name": "ARNTL2", "properties": { "url": "http://identifiers.org/ncbigene/56938", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "aryl hydrocarbon receptor nuclear translocator-like 2" }, "metanode": "Gene" }, { "id": 46507, "identifier": "360200", "identifier_type": "int", "name": "TMPRSS9", "properties": { "url": "http://identifiers.org/ncbigene/360200", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "transmembrane protease, serine 9" }, "metanode": "Gene" }, { "id": 46508, "identifier": "168400", "identifier_type": "int", "name": "DDX53", "properties": { "url": "http://identifiers.org/ncbigene/168400", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "DEAD (Asp-Glu-Ala-Asp) box polypeptide 53" }, "metanode": "Gene" }, { "id": 46509, "identifier": "C3495801", "identifier_type": "str", "name": "Granulomatosis with polyangiitis", "properties": { "url": "http://identifiers.org/umls/C3495801", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46510, "identifier": "148206", "identifier_type": "int", "name": "ZNF714", "properties": { "url": "http://identifiers.org/ncbigene/148206", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 714" }, "metanode": "Gene" }, { "id": 46511, "identifier": "GO:0008269", "identifier_type": "str", "name": "JAK pathway signal transduction adaptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008269", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46512, "identifier": "GO:0048845", "identifier_type": "str", "name": "venous blood vessel morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048845", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46513, "identifier": "10127", "identifier_type": "int", "name": "ZNF263", "properties": { "url": "http://identifiers.org/ncbigene/10127", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zinc finger protein 263" }, "metanode": "Gene" }, { "id": 46514, "identifier": "DB00919", "identifier_type": "str", "name": "Spectinomycin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00919", "inchi": "InChI=1S/C14H24N2O7/c1-5-4-6(17)14(20)13(21-5)22-12-10(19)7(15-2)9(18)8(16-3)11(12)23-14/h5,7-13,15-16,18-20H,4H2,1-3H3/t5-,7-,8+,9+,10+,11-,12-,13+,14+/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=UNFWWIHTNXNPBV-WXKVUWSESA-N" }, "metanode": "Compound" }, { "id": 46515, "identifier": "GO:0060081", "identifier_type": "str", "name": "membrane hyperpolarization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060081", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46516, "identifier": "GO:0001101", "identifier_type": "str", "name": "response to acid chemical", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001101", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46517, "identifier": "C0025274", "identifier_type": "str", "name": "Menarche", "properties": { "url": "http://identifiers.org/umls/C0025274", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46518, "identifier": "128866", "identifier_type": "int", "name": "CHMP4B", "properties": { "url": "http://identifiers.org/ncbigene/128866", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "charged multivesicular body protein 4B" }, "metanode": "Gene" }, { "id": 46519, "identifier": "GO:0016884", "identifier_type": "str", "name": "carbon-nitrogen ligase activity, with glutamine as amido-N-donor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016884", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46520, "identifier": "GO:0090205", "identifier_type": "str", "name": "positive regulation of cholesterol metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090205", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46521, "identifier": "8484", "identifier_type": "int", "name": "GALR3", "properties": { "url": "http://identifiers.org/ncbigene/8484", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "galanin receptor 3" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "