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=725
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=750", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=700", "results": [ { "id": 723, "identifier": "C1736167", "identifier_type": "str", "name": "Systemic allergic reaction", "properties": { "url": "http://identifiers.org/umls/C1736167", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 724, "identifier": "UBERON:0002439", "identifier_type": "str", "name": "myenteric nerve plexus", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002439", "bto_id": "BTO:0002436", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D009197" }, "metanode": "Anatomy" }, { "id": 725, "identifier": "2957", "identifier_type": "int", "name": "GTF2A1", "properties": { "url": "http://identifiers.org/ncbigene/2957", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "general transcription factor IIA, 1, 19/37kDa" }, "metanode": "Gene" }, { "id": 726, "identifier": "GO:0060077", "identifier_type": "str", "name": "inhibitory synapse", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060077", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 727, "identifier": "645984", "identifier_type": "int", "name": "LOC645984", "properties": { "url": "http://identifiers.org/ncbigene/645984", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC645984" }, "metanode": "Gene" }, { "id": 728, "identifier": "DB01115", "identifier_type": "str", "name": "Nifedipine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01115", "inchi": "InChI=1S/C17H18N2O6/c1-9-13(16(20)24-3)15(14(10(2)18-9)17(21)25-4)11-7-5-6-8-12(11)19(22)23/h5-8,15,18H,1-4H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=HYIMSNHJOBLJNT-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 729, "identifier": "23505", "identifier_type": "int", "name": "TMEM131", "properties": { "url": "http://identifiers.org/ncbigene/23505", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "transmembrane protein 131" }, "metanode": "Gene" }, { "id": 730, "identifier": "GO:0070742", "identifier_type": "str", "name": "C2H2 zinc finger domain binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070742", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 731, "identifier": "440270", "identifier_type": "int", "name": "GOLGA8B", "properties": { "url": "http://identifiers.org/ncbigene/440270", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "golgin A8 family, member B" }, "metanode": "Gene" }, { "id": 732, "identifier": "C0425449", "identifier_type": "str", "name": "Gasping", "properties": { "url": "http://identifiers.org/umls/C0425449", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 733, "identifier": "6364", "identifier_type": "int", "name": "CCL20", "properties": { "url": "http://identifiers.org/ncbigene/6364", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "chemokine (C-C motif) ligand 20" }, "metanode": "Gene" }, { "id": 734, "identifier": "GO:0042322", "identifier_type": "str", "name": "negative regulation of circadian sleep/wake cycle, REM sleep", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042322", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 735, "identifier": "DB00304", "identifier_type": "str", "name": "Desogestrel", "properties": { "url": "http://www.drugbank.ca/drugs/DB00304", "inchi": "InChI=1S/C22H30O/c1-4-21-14-15(3)20-17-9-7-6-8-16(17)10-11-18(20)19(21)12-13-22(21,23)5-2/h2,8,17-20,23H,3-4,6-7,9-14H2,1H3/t17-,18-,19-,20+,21-,22-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RPLCPCMSCLEKRS-BPIQYHPVSA-N" }, "metanode": "Compound" }, { "id": 736, "identifier": "940", "identifier_type": "int", "name": "CD28", "properties": { "url": "http://identifiers.org/ncbigene/940", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "CD28 molecule" }, "metanode": "Gene" }, { "id": 737, "identifier": "9703", "identifier_type": "int", "name": "KIAA0100", "properties": { "url": "http://identifiers.org/ncbigene/9703", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "KIAA0100" }, "metanode": "Gene" }, { "id": 738, "identifier": "UBERON:0002394", "identifier_type": "str", "name": "bile duct", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002394", "bto_id": "BTO:0000122", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D001652" }, "metanode": "Anatomy" }, { "id": 739, "identifier": "DOID:8778", "identifier_type": "str", "name": "Crohn's disease", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_8778", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 740, "identifier": "GO:0032720", "identifier_type": "str", "name": "negative regulation of tumor necrosis factor production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032720", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 741, "identifier": "GO:0005890", "identifier_type": "str", "name": "sodium:potassium-exchanging ATPase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005890", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 742, "identifier": "PC7_1561", "identifier_type": "str", "name": "Acyl chain remodelling of PI", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 743, "identifier": "80745", "identifier_type": "int", "name": "THUMPD2", "properties": { "url": "http://identifiers.org/ncbigene/80745", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "THUMP domain containing 2" }, "metanode": "Gene" }, { "id": 744, "identifier": "105372836", "identifier_type": "int", "name": "LOC105372836", "properties": { "url": "http://identifiers.org/ncbigene/105372836", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "uncharacterized LOC105372836" }, "metanode": "Gene" }, { "id": 745, "identifier": "DB00302", "identifier_type": "str", "name": "Tranexamic Acid", "properties": { "url": "http://www.drugbank.ca/drugs/DB00302", "inchi": "InChI=1S/C8H15NO2/c9-5-6-1-3-7(4-2-6)8(10)11/h6-7H,1-5,9H2,(H,10,11)/t6-,7-", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=GYDJEQRTZSCIOI-LJGSYFOKSA-N" }, "metanode": "Compound" }, { "id": 746, "identifier": "29995", "identifier_type": "int", "name": "LMCD1", "properties": { "url": "http://identifiers.org/ncbigene/29995", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "LIM and cysteine-rich domains 1" }, "metanode": "Gene" }, { "id": 747, "identifier": "5990", "identifier_type": "int", "name": "RFX2", "properties": { "url": "http://identifiers.org/ncbigene/5990", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "regulatory factor X, 2 (influences HLA class II expression)" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "