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=175
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=200", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=150", "results": [ { "id": 174, "identifier": "317705", "identifier_type": "int", "name": "VN1R5", "properties": { "url": "http://identifiers.org/ncbigene/317705", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "vomeronasal 1 receptor 5 (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 175, "identifier": "GO:0003876", "identifier_type": "str", "name": "AMP deaminase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003876", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 176, "identifier": "GO:0042575", "identifier_type": "str", "name": "DNA polymerase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042575", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 177, "identifier": "GO:0003326", "identifier_type": "str", "name": "pancreatic A cell fate commitment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003326", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 178, "identifier": "494119", "identifier_type": "int", "name": "SPANXN2", "properties": { "url": "http://identifiers.org/ncbigene/494119", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "SPANX family, member N2" }, "metanode": "Gene" }, { "id": 179, "identifier": "PC7_6149", "identifier_type": "str", "name": "PI-3K cascade", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 180, "identifier": "8878", "identifier_type": "int", "name": "SQSTM1", "properties": { "url": "http://identifiers.org/ncbigene/8878", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "sequestosome 1" }, "metanode": "Gene" }, { "id": 181, "identifier": "D051346", "identifier_type": "str", "name": "Mobility Limitation", "properties": { "url": "http://identifiers.org/mesh/D051346", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 182, "identifier": "81563", "identifier_type": "int", "name": "C1orf21", "properties": { "url": "http://identifiers.org/ncbigene/81563", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chromosome 1 open reading frame 21" }, "metanode": "Gene" }, { "id": 183, "identifier": "N0000009371", "identifier_type": "str", "name": "Increased Large Intestinal Motility", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000009371", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Physiologic Effect" }, "metanode": "Pharmacologic Class" }, { "id": 184, "identifier": "80018", "identifier_type": "int", "name": "NAA25", "properties": { "url": "http://identifiers.org/ncbigene/80018", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "N(alpha)-acetyltransferase 25, NatB auxiliary subunit" }, "metanode": "Gene" }, { "id": 185, "identifier": "GO:0004649", "identifier_type": "str", "name": "poly(ADP-ribose) glycohydrolase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004649", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 186, "identifier": "26973", "identifier_type": "int", "name": "CHORDC1", "properties": { "url": "http://identifiers.org/ncbigene/26973", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "cysteine and histidine-rich domain (CHORD) containing 1" }, "metanode": "Gene" }, { "id": 187, "identifier": "2696", "identifier_type": "int", "name": "GIPR", "properties": { "url": "http://identifiers.org/ncbigene/2696", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "gastric inhibitory polypeptide receptor" }, "metanode": "Gene" }, { "id": 188, "identifier": "GO:2000480", "identifier_type": "str", "name": "negative regulation of cAMP-dependent protein kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000480", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 189, "identifier": "C0038362", "identifier_type": "str", "name": "Stomatitis", "properties": { "url": "http://identifiers.org/umls/C0038362", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 190, "identifier": "PC7_6053", "identifier_type": "str", "name": "Opsins", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 191, "identifier": "DB00133", "identifier_type": "str", "name": "L-Serine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00133", "inchi": "InChI=1S/C3H7NO3/c4-2(1-5)3(6)7/h2,5H,1,4H2,(H,6,7)/t2-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=MTCFGRXMJLQNBG-REOHCLBHSA-N" }, "metanode": "Compound" }, { "id": 192, "identifier": "C0009782", "identifier_type": "str", "name": "Connective tissue disorder", "properties": { "url": "http://identifiers.org/umls/C0009782", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 193, "identifier": "105372267", "identifier_type": "int", "name": "LOC105372267", "properties": { "url": "http://identifiers.org/ncbigene/105372267", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "nuclear factor interleukin-3-regulated protein-like" }, "metanode": "Gene" }, { "id": 194, "identifier": "GO:0032387", "identifier_type": "str", "name": "negative regulation of intracellular transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032387", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 195, "identifier": "GO:0003943", "identifier_type": "str", "name": "N-acetylgalactosamine-4-sulfatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003943", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 196, "identifier": "5165", "identifier_type": "int", "name": "PDK3", "properties": { "url": "http://identifiers.org/ncbigene/5165", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "pyruvate dehydrogenase kinase, isozyme 3" }, "metanode": "Gene" }, { "id": 197, "identifier": "55187", "identifier_type": "int", "name": "VPS13D", "properties": { "url": "http://identifiers.org/ncbigene/55187", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "vacuolar protein sorting 13 homolog D (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 198, "identifier": "C0151767", "identifier_type": "str", "name": "Liver tenderness", "properties": { "url": "http://identifiers.org/umls/C0151767", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "