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=375
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=400", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=350", "results": [ { "id": 375, "identifier": "22901", "identifier_type": "int", "name": "ARSG", "properties": { "url": "http://identifiers.org/ncbigene/22901", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "arylsulfatase G" }, "metanode": "Gene" }, { "id": 376, "identifier": "GO:1903972", "identifier_type": "str", "name": "regulation of cellular response to macrophage colony-stimulating factor stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903972", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 377, "identifier": "GO:0032849", "identifier_type": "str", "name": "positive regulation of cellular pH reduction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032849", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 378, "identifier": "C0002891", "identifier_type": "str", "name": "Anaemia neonatal", "properties": { "url": "http://identifiers.org/umls/C0002891", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 379, "identifier": "GO:0033133", "identifier_type": "str", "name": "positive regulation of glucokinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033133", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 380, "identifier": "7140", "identifier_type": "int", "name": "TNNT3", "properties": { "url": "http://identifiers.org/ncbigene/7140", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "troponin T type 3 (skeletal, fast)" }, "metanode": "Gene" }, { "id": 381, "identifier": "57162", "identifier_type": "int", "name": "PELI1", "properties": { "url": "http://identifiers.org/ncbigene/57162", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "pellino E3 ubiquitin protein ligase 1" }, "metanode": "Gene" }, { "id": 382, "identifier": "PC7_4755", "identifier_type": "str", "name": "Integration of provirus", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 383, "identifier": "D008607", "identifier_type": "str", "name": "Intellectual Disability", "properties": { "url": "http://identifiers.org/mesh/D008607", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 384, "identifier": "DB06151", "identifier_type": "str", "name": "Acetylcysteine", "properties": { "url": "http://www.drugbank.ca/drugs/DB06151", "inchi": "InChI=1S/C5H9NO3S/c1-3(7)6-4(2-10)5(8)9/h4,10H,2H2,1H3,(H,6,7)(H,8,9)/t4-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=PWKSKIMOESPYIA-BYPYZUCNSA-N" }, "metanode": "Compound" }, { "id": 385, "identifier": "25977", "identifier_type": "int", "name": "NECAP1", "properties": { "url": "http://identifiers.org/ncbigene/25977", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "NECAP endocytosis associated 1" }, "metanode": "Gene" }, { "id": 386, "identifier": "1716", "identifier_type": "int", "name": "DGUOK", "properties": { "url": "http://identifiers.org/ncbigene/1716", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "deoxyguanosine kinase" }, "metanode": "Gene" }, { "id": 387, "identifier": "PC7_4100", "identifier_type": "str", "name": "Gamma-carboxylation, transport, and amino-terminal cleavage of proteins", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 388, "identifier": "GO:0071306", "identifier_type": "str", "name": "cellular response to vitamin E", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071306", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 389, "identifier": "105375810", "identifier_type": "int", "name": "LOC105375810", "properties": { "url": "http://identifiers.org/ncbigene/105375810", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "uncharacterized LOC105375810" }, "metanode": "Gene" }, { "id": 390, "identifier": "8708", "identifier_type": "int", "name": "B3GALT1", "properties": { "url": "http://identifiers.org/ncbigene/8708", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "UDP-Gal:betaGlcNAc beta 1,3-galactosyltransferase, polypeptide 1" }, "metanode": "Gene" }, { "id": 391, "identifier": "C0032739", "identifier_type": "str", "name": "Tuberculin test positive", "properties": { "url": "http://identifiers.org/umls/C0032739", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 392, "identifier": "C0853198", "identifier_type": "str", "name": "Gastroenteritis yersinia", "properties": { "url": "http://identifiers.org/umls/C0853198", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 393, "identifier": "728262", "identifier_type": "int", "name": "FAM157A", "properties": { "url": "http://identifiers.org/ncbigene/728262", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "family with sequence similarity 157, member A" }, "metanode": "Gene" }, { "id": 394, "identifier": "GO:0043426", "identifier_type": "str", "name": "MRF binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043426", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 395, "identifier": "2670", "identifier_type": "int", "name": "GFAP", "properties": { "url": "http://identifiers.org/ncbigene/2670", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "glial fibrillary acidic protein" }, "metanode": "Gene" }, { "id": 396, "identifier": "11161", "identifier_type": "int", "name": "C14orf1", "properties": { "url": "http://identifiers.org/ncbigene/11161", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "chromosome 14 open reading frame 1" }, "metanode": "Gene" }, { "id": 397, "identifier": "C0235490", "identifier_type": "str", "name": "Peripheral ischaemia", "properties": { "url": "http://identifiers.org/umls/C0235490", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 398, "identifier": "GO:0007339", "identifier_type": "str", "name": "binding of sperm to zona pellucida", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007339", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 399, "identifier": "GO:0071108", "identifier_type": "str", "name": "protein K48-linked deubiquitination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071108", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "