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=46000
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46025", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45975", "results": [ { "id": 46000, "identifier": "GO:0016929", "identifier_type": "str", "name": "SUMO-specific protease activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016929", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46001, "identifier": "GO:0004128", "identifier_type": "str", "name": "cytochrome-b5 reductase activity, acting on NAD(P)H", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004128", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46002, "identifier": "PC7_5521", "identifier_type": "str", "name": "Mitochondrial translation", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46003, "identifier": "GO:0019236", "identifier_type": "str", "name": "response to pheromone", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019236", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46004, "identifier": "WP1424_r83526", "identifier_type": "str", "name": "Globo Sphingolipid Metabolism", "properties": { "url": "http://www.wikipathways.org/instance/WP1424_r83526", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 46005, "identifier": "7107", "identifier_type": "int", "name": "GPR137B", "properties": { "url": "http://identifiers.org/ncbigene/7107", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "G protein-coupled receptor 137B" }, "metanode": "Gene" }, { "id": 46006, "identifier": "57001", "identifier_type": "int", "name": "SDHAF3", "properties": { "url": "http://identifiers.org/ncbigene/57001", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "succinate dehydrogenase complex assembly factor 3" }, "metanode": "Gene" }, { "id": 46007, "identifier": "GO:0017160", "identifier_type": "str", "name": "Ral GTPase binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0017160", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46008, "identifier": "GO:0017128", "identifier_type": "str", "name": "phospholipid scramblase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0017128", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46009, "identifier": "55502", "identifier_type": "int", "name": "HES6", "properties": { "url": "http://identifiers.org/ncbigene/55502", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "hes family bHLH transcription factor 6" }, "metanode": "Gene" }, { "id": 46010, "identifier": "64121", "identifier_type": "int", "name": "RRAGC", "properties": { "url": "http://identifiers.org/ncbigene/64121", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "Ras-related GTP binding C" }, "metanode": "Gene" }, { "id": 46011, "identifier": "89882", "identifier_type": "int", "name": "TPD52L3", "properties": { "url": "http://identifiers.org/ncbigene/89882", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "tumor protein D52-like 3" }, "metanode": "Gene" }, { "id": 46012, "identifier": "GO:0006868", "identifier_type": "str", "name": "glutamine transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006868", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46013, "identifier": "GO:0044375", "identifier_type": "str", "name": "regulation of peroxisome size", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044375", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46014, "identifier": "DB01401", "identifier_type": "str", "name": "Trisalicylate-choline", "properties": { "url": "http://www.drugbank.ca/drugs/DB01401", "inchi": "InChI=1S/3C7H6O3.C5H14NO.Mg/c3*8-6-4-2-1-3-5(6)7(9)10;1-6(2,3)4-5-7;/h3*1-4,8H,(H,9,10);7H,4-5H2,1-3H3;/q;;;+1;+2/p-3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=FQCQGOZEWWPOKI-UHFFFAOYSA-K" }, "metanode": "Compound" }, { "id": 46015, "identifier": "105375354", "identifier_type": "int", "name": "LOC105375354", "properties": { "url": "http://identifiers.org/ncbigene/105375354", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "postmeiotic segregation increased 2-like protein 5" }, "metanode": "Gene" }, { "id": 46016, "identifier": "40", "identifier_type": "int", "name": "ASIC2", "properties": { "url": "http://identifiers.org/ncbigene/40", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "acid sensing (proton gated) ion channel 2" }, "metanode": "Gene" }, { "id": 46017, "identifier": "8803", "identifier_type": "int", "name": "SUCLA2", "properties": { "url": "http://identifiers.org/ncbigene/8803", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "succinate-CoA ligase, ADP-forming, beta subunit" }, "metanode": "Gene" }, { "id": 46018, "identifier": "GO:0071633", "identifier_type": "str", "name": "dihydroceramidase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071633", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46019, "identifier": "81488", "identifier_type": "int", "name": "POLR2M", "properties": { "url": "http://identifiers.org/ncbigene/81488", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "polymerase (RNA) II (DNA directed) polypeptide M" }, "metanode": "Gene" }, { "id": 46020, "identifier": "C0030446", "identifier_type": "str", "name": "Ileus paralytic", "properties": { "url": "http://identifiers.org/umls/C0030446", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46021, "identifier": "284391", "identifier_type": "int", "name": "ZNF844", "properties": { "url": "http://identifiers.org/ncbigene/284391", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 844" }, "metanode": "Gene" }, { "id": 46022, "identifier": "GO:0042588", "identifier_type": "str", "name": "zymogen granule", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042588", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46023, "identifier": "C0263111", "identifier_type": "str", "name": "Perineal abscess", "properties": { "url": "http://identifiers.org/umls/C0263111", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46024, "identifier": "100528020", "identifier_type": "int", "name": "FAM187A", "properties": { "url": "http://identifiers.org/ncbigene/100528020", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "family with sequence similarity 187, member A" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "