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=45150
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45175", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45125", "results": [ { "id": 45150, "identifier": "653121", "identifier_type": "int", "name": "ZBTB8A", "properties": { "url": "http://identifiers.org/ncbigene/653121", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "zinc finger and BTB domain containing 8A" }, "metanode": "Gene" }, { "id": 45151, "identifier": "GO:0033148", "identifier_type": "str", "name": "positive regulation of intracellular estrogen receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033148", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45152, "identifier": "8451", "identifier_type": "int", "name": "CUL4A", "properties": { "url": "http://identifiers.org/ncbigene/8451", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "cullin 4A" }, "metanode": "Gene" }, { "id": 45153, "identifier": "49854", "identifier_type": "int", "name": "ZBTB21", "properties": { "url": "http://identifiers.org/ncbigene/49854", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "zinc finger and BTB domain containing 21" }, "metanode": "Gene" }, { "id": 45154, "identifier": "C1276118", "identifier_type": "str", "name": "Urticaria recurrent", "properties": { "url": "http://identifiers.org/umls/C1276118", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45155, "identifier": "GO:0004708", "identifier_type": "str", "name": "MAP kinase kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004708", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45156, "identifier": "C0549400", "identifier_type": "str", "name": "Apgar score low", "properties": { "url": "http://identifiers.org/umls/C0549400", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45157, "identifier": "GO:0043550", "identifier_type": "str", "name": "regulation of lipid kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043550", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45158, "identifier": "GO:0051270", "identifier_type": "str", "name": "regulation of cellular component movement", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051270", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45159, "identifier": "10904", "identifier_type": "int", "name": "BLCAP", "properties": { "url": "http://identifiers.org/ncbigene/10904", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "bladder cancer associated protein" }, "metanode": "Gene" }, { "id": 45160, "identifier": "GO:0004661", "identifier_type": "str", "name": "protein geranylgeranyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004661", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45161, "identifier": "C0948070", "identifier_type": "str", "name": "Rhinalgia", "properties": { "url": "http://identifiers.org/umls/C0948070", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45162, "identifier": "GO:0005834", "identifier_type": "str", "name": "heterotrimeric G-protein complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005834", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45163, "identifier": "C0948733", "identifier_type": "str", "name": "Abdominal spasm", "properties": { "url": "http://identifiers.org/umls/C0948733", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45164, "identifier": "DB00189", "identifier_type": "str", "name": "Ethchlorvynol", "properties": { "url": "http://www.drugbank.ca/drugs/DB00189", "inchi": "InChI=1S/C7H9ClO/c1-3-7(9,4-2)5-6-8/h1,5-6,9H,4H2,2H3/b6-5+", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ZEHYJZXQEQOSON-AATRIKPKSA-N" }, "metanode": "Compound" }, { "id": 45165, "identifier": "29015", "identifier_type": "int", "name": "SLC43A3", "properties": { "url": "http://identifiers.org/ncbigene/29015", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "solute carrier family 43, member 3" }, "metanode": "Gene" }, { "id": 45166, "identifier": "4738", "identifier_type": "int", "name": "NEDD8", "properties": { "url": "http://identifiers.org/ncbigene/4738", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "neural precursor cell expressed, developmentally down-regulated 8" }, "metanode": "Gene" }, { "id": 45167, "identifier": "54888", "identifier_type": "int", "name": "NSUN2", "properties": { "url": "http://identifiers.org/ncbigene/54888", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "NOP2/Sun RNA methyltransferase family, member 2" }, "metanode": "Gene" }, { "id": 45168, "identifier": "85316", "identifier_type": "int", "name": "BAGE5", "properties": { "url": "http://identifiers.org/ncbigene/85316", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "B melanoma antigen family, member 5" }, "metanode": "Gene" }, { "id": 45169, "identifier": "C0039231", "identifier_type": "str", "name": "Tachycardia", "properties": { "url": "http://identifiers.org/umls/C0039231", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45170, "identifier": "GO:0005222", "identifier_type": "str", "name": "intracellular cAMP activated cation channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005222", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45171, "identifier": "162540", "identifier_type": "int", "name": "SPPL2C", "properties": { "url": "http://identifiers.org/ncbigene/162540", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "signal peptide peptidase like 2C" }, "metanode": "Gene" }, { "id": 45172, "identifier": "PC7_3671", "identifier_type": "str", "name": "Energy dependent regulation of mTOR by LKB1-AMPK", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45173, "identifier": "87769", "identifier_type": "int", "name": "GGACT", "properties": { "url": "http://identifiers.org/ncbigene/87769", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "gamma-glutamylamine cyclotransferase" }, "metanode": "Gene" }, { "id": 45174, "identifier": "442695", "identifier_type": "int", "name": "ZNF722P", "properties": { "url": "http://identifiers.org/ncbigene/442695", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "zinc finger protein 722, pseudogene" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "