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=1300
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1325", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1275", "results": [ { "id": 1298, "identifier": "2139", "identifier_type": "int", "name": "EYA2", "properties": { "url": "http://identifiers.org/ncbigene/2139", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "EYA transcriptional coactivator and phosphatase 2" }, "metanode": "Gene" }, { "id": 1299, "identifier": "C0854082", "identifier_type": "str", "name": "Blood prolactin increased", "properties": { "url": "http://identifiers.org/umls/C0854082", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1300, "identifier": "GO:0072126", "identifier_type": "str", "name": "positive regulation of glomerular mesangial cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072126", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1301, "identifier": "C0424448", "identifier_type": "str", "name": "Masked facies", "properties": { "url": "http://identifiers.org/umls/C0424448", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1302, "identifier": "GO:0016151", "identifier_type": "str", "name": "nickel cation binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016151", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1303, "identifier": "84914", "identifier_type": "int", "name": "ZNF587", "properties": { "url": "http://identifiers.org/ncbigene/84914", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 587" }, "metanode": "Gene" }, { "id": 1304, "identifier": "GO:0010954", "identifier_type": "str", "name": "positive regulation of protein processing", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010954", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1305, "identifier": "GO:0009125", "identifier_type": "str", "name": "nucleoside monophosphate catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009125", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1306, "identifier": "GO:0008469", "identifier_type": "str", "name": "histone-arginine N-methyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008469", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1307, "identifier": "GO:1901987", "identifier_type": "str", "name": "regulation of cell cycle phase transition", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901987", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1308, "identifier": "GO:1903288", "identifier_type": "str", "name": "positive regulation of potassium ion import", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903288", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1309, "identifier": "GO:0035825", "identifier_type": "str", "name": "reciprocal DNA recombination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035825", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1310, "identifier": "245908", "identifier_type": "int", "name": "DEFB105A", "properties": { "url": "http://identifiers.org/ncbigene/245908", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "defensin, beta 105A" }, "metanode": "Gene" }, { "id": 1311, "identifier": "25770", "identifier_type": "int", "name": "C22orf31", "properties": { "url": "http://identifiers.org/ncbigene/25770", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "chromosome 22 open reading frame 31" }, "metanode": "Gene" }, { "id": 1312, "identifier": "UBERON:0001088", "identifier_type": "str", "name": "urine", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001088", "bto_id": "BTO:0001419", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D014556" }, "metanode": "Anatomy" }, { "id": 1313, "identifier": "55312", "identifier_type": "int", "name": "RFK", "properties": { "url": "http://identifiers.org/ncbigene/55312", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "riboflavin kinase" }, "metanode": "Gene" }, { "id": 1314, "identifier": "101060684", "identifier_type": "int", "name": "NBPF26", "properties": { "url": "http://identifiers.org/ncbigene/101060684", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "neuroblastoma breakpoint family, member 26" }, "metanode": "Gene" }, { "id": 1315, "identifier": "100128184", "identifier_type": "int", "name": "LOC100128184", "properties": { "url": "http://identifiers.org/ncbigene/100128184", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "uncharacterized LOC100128184" }, "metanode": "Gene" }, { "id": 1316, "identifier": "GO:0036484", "identifier_type": "str", "name": "trunk neural crest cell migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036484", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1317, "identifier": "8629", "identifier_type": "int", "name": "JRK", "properties": { "url": "http://identifiers.org/ncbigene/8629", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "Jrk homolog (mouse)" }, "metanode": "Gene" }, { "id": 1318, "identifier": "C0856137", "identifier_type": "str", "name": "Uterine fibroids aggravated", "properties": { "url": "http://identifiers.org/umls/C0856137", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1319, "identifier": "GO:0006172", "identifier_type": "str", "name": "ADP biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006172", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1320, "identifier": "105378056", "identifier_type": "int", "name": "LOC105378056", "properties": { "url": "http://identifiers.org/ncbigene/105378056", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "uncharacterized LOC105378056" }, "metanode": "Gene" }, { "id": 1321, "identifier": "GO:1902271", "identifier_type": "str", "name": "D3 vitamins binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902271", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1322, "identifier": "153129", "identifier_type": "int", "name": "SLC38A9", "properties": { "url": "http://identifiers.org/ncbigene/153129", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "solute carrier family 38, member 9" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "