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=975
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1000", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=950", "results": [ { "id": 973, "identifier": "C0302809", "identifier_type": "str", "name": "Hepatitis fulminant", "properties": { "url": "http://identifiers.org/umls/C0302809", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 974, "identifier": "GO:0072135", "identifier_type": "str", "name": "kidney mesenchymal cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072135", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 975, "identifier": "2160", "identifier_type": "int", "name": "F11", "properties": { "url": "http://identifiers.org/ncbigene/2160", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "coagulation factor XI" }, "metanode": "Gene" }, { "id": 976, "identifier": "10667", "identifier_type": "int", "name": "FARS2", "properties": { "url": "http://identifiers.org/ncbigene/10667", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "phenylalanyl-tRNA synthetase 2, mitochondrial" }, "metanode": "Gene" }, { "id": 977, "identifier": "N0000175379", "identifier_type": "str", "name": "Arteriolar Vasodilation", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175379", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Physiologic Effect" }, "metanode": "Pharmacologic Class" }, { "id": 978, "identifier": "135941", "identifier_type": "int", "name": "OR2A14", "properties": { "url": "http://identifiers.org/ncbigene/135941", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "olfactory receptor, family 2, subfamily A, member 14" }, "metanode": "Gene" }, { "id": 979, "identifier": "C0238621", "identifier_type": "str", "name": "Aminoaciduria", "properties": { "url": "http://identifiers.org/umls/C0238621", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 980, "identifier": "C0153392", "identifier_type": "str", "name": "Nasopharyngeal cancer", "properties": { "url": "http://identifiers.org/umls/C0153392", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 981, "identifier": "105377623", "identifier_type": "int", "name": "LOC105377623", "properties": { "url": "http://identifiers.org/ncbigene/105377623", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "uncharacterized LOC105377623" }, "metanode": "Gene" }, { "id": 982, "identifier": "PC7_1883", "identifier_type": "str", "name": "BARD1 signaling events", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 983, "identifier": "C0043145", "identifier_type": "str", "name": "Whiplash injury", "properties": { "url": "http://identifiers.org/umls/C0043145", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 984, "identifier": "GO:0060028", "identifier_type": "str", "name": "convergent extension involved in axis elongation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060028", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 985, "identifier": "UBERON:0001971", "identifier_type": "str", "name": "gastric juice", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001971", "bto_id": "BTO:0000501", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D005750" }, "metanode": "Anatomy" }, { "id": 986, "identifier": "6954", "identifier_type": "int", "name": "TCP11", "properties": { "url": "http://identifiers.org/ncbigene/6954", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "t-complex 11, testis-specific" }, "metanode": "Gene" }, { "id": 987, "identifier": "1786", "identifier_type": "int", "name": "DNMT1", "properties": { "url": "http://identifiers.org/ncbigene/1786", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "DNA (cytosine-5-)-methyltransferase 1" }, "metanode": "Gene" }, { "id": 988, "identifier": "55349", "identifier_type": "int", "name": "CHDH", "properties": { "url": "http://identifiers.org/ncbigene/55349", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "choline dehydrogenase" }, "metanode": "Gene" }, { "id": 989, "identifier": "64096", "identifier_type": "int", "name": "GFRA4", "properties": { "url": "http://identifiers.org/ncbigene/64096", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "GDNF family receptor alpha 4" }, "metanode": "Gene" }, { "id": 990, "identifier": "55561", "identifier_type": "int", "name": "CDC42BPG", "properties": { "url": "http://identifiers.org/ncbigene/55561", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "CDC42 binding protein kinase gamma (DMPK-like)" }, "metanode": "Gene" }, { "id": 991, "identifier": "220929", "identifier_type": "int", "name": "ZNF438", "properties": { "url": "http://identifiers.org/ncbigene/220929", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "zinc finger protein 438" }, "metanode": "Gene" }, { "id": 992, "identifier": "C0936250", "identifier_type": "str", "name": "Eczema herpeticum", "properties": { "url": "http://identifiers.org/umls/C0936250", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 993, "identifier": "64324", "identifier_type": "int", "name": "NSD1", "properties": { "url": "http://identifiers.org/ncbigene/64324", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "nuclear receptor binding SET domain protein 1" }, "metanode": "Gene" }, { "id": 994, "identifier": "653192", "identifier_type": "int", "name": "TRIM43B", "properties": { "url": "http://identifiers.org/ncbigene/653192", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "tripartite motif containing 43B" }, "metanode": "Gene" }, { "id": 995, "identifier": "PC7_2565", "identifier_type": "str", "name": "Cholesterol biosynthesis", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 996, "identifier": "D017827", "identifier_type": "str", "name": "Machado-Joseph Disease", "properties": { "url": "http://identifiers.org/mesh/D017827", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 997, "identifier": "31", "identifier_type": "int", "name": "ACACA", "properties": { "url": "http://identifiers.org/ncbigene/31", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "acetyl-CoA carboxylase alpha" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "