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=45225
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45200", "results": [ { "id": 45224, "identifier": "C1739422", "identifier_type": "str", "name": "Opioid naive", "properties": { "url": "http://identifiers.org/umls/C1739422", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45225, "identifier": "283284", "identifier_type": "int", "name": "IGSF22", "properties": { "url": "http://identifiers.org/ncbigene/283284", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "immunoglobulin superfamily, member 22" }, "metanode": "Gene" }, { "id": 45226, "identifier": "29903", "identifier_type": "int", "name": "CCDC106", "properties": { "url": "http://identifiers.org/ncbigene/29903", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "coiled-coil domain containing 106" }, "metanode": "Gene" }, { "id": 45227, "identifier": "646670", "identifier_type": "int", "name": "LOC646670", "properties": { "url": "http://identifiers.org/ncbigene/646670", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC646670" }, "metanode": "Gene" }, { "id": 45228, "identifier": "954", "identifier_type": "int", "name": "ENTPD2", "properties": { "url": "http://identifiers.org/ncbigene/954", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "ectonucleoside triphosphate diphosphohydrolase 2" }, "metanode": "Gene" }, { "id": 45229, "identifier": "GO:0000270", "identifier_type": "str", "name": "peptidoglycan metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000270", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45230, "identifier": "23593", "identifier_type": "int", "name": "HEBP2", "properties": { "url": "http://identifiers.org/ncbigene/23593", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "heme binding protein 2" }, "metanode": "Gene" }, { "id": 45231, "identifier": "84561", "identifier_type": "int", "name": "SLC12A8", "properties": { "url": "http://identifiers.org/ncbigene/84561", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "solute carrier family 12, member 8" }, "metanode": "Gene" }, { "id": 45232, "identifier": "C0919620", "identifier_type": "str", "name": "Electrocardiogram ST-T change", "properties": { "url": "http://identifiers.org/umls/C0919620", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45233, "identifier": "285989", "identifier_type": "int", "name": "ZNF789", "properties": { "url": "http://identifiers.org/ncbigene/285989", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "zinc finger protein 789" }, "metanode": "Gene" }, { "id": 45234, "identifier": "6452", "identifier_type": "int", "name": "SH3BP2", "properties": { "url": "http://identifiers.org/ncbigene/6452", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "SH3-domain binding protein 2" }, "metanode": "Gene" }, { "id": 45235, "identifier": "GO:0030838", "identifier_type": "str", "name": "positive regulation of actin filament polymerization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030838", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45236, "identifier": "56474", "identifier_type": "int", "name": "CTPS2", "properties": { "url": "http://identifiers.org/ncbigene/56474", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "CTP synthase 2" }, "metanode": "Gene" }, { "id": 45237, "identifier": "C0034359", "identifier_type": "str", "name": "Pyuria", "properties": { "url": "http://identifiers.org/umls/C0034359", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45238, "identifier": "GO:0034707", "identifier_type": "str", "name": "chloride channel complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034707", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45239, "identifier": "C0235620", "identifier_type": "str", "name": "Haemorrhage urinary tract", "properties": { "url": "http://identifiers.org/umls/C0235620", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45240, "identifier": "DB00861", "identifier_type": "str", "name": "Diflunisal", "properties": { "url": "http://www.drugbank.ca/drugs/DB00861", "inchi": "InChI=1S/C13H8F2O3/c14-8-2-3-9(11(15)6-8)7-1-4-12(16)10(5-7)13(17)18/h1-6,16H,(H,17,18)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=HUPFGZXOMWLGNK-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 45241, "identifier": "GO:2000622", "identifier_type": "str", "name": "regulation of nuclear-transcribed mRNA catabolic process, nonsense-mediated decay", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000622", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45242, "identifier": "GO:1990592", "identifier_type": "str", "name": "protein K69-linked ufmylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990592", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45243, "identifier": "132228", "identifier_type": "int", "name": "LSMEM2", "properties": { "url": "http://identifiers.org/ncbigene/132228", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "leucine-rich single-pass membrane protein 2" }, "metanode": "Gene" }, { "id": 45244, "identifier": "9791", "identifier_type": "int", "name": "PTDSS1", "properties": { "url": "http://identifiers.org/ncbigene/9791", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "phosphatidylserine synthase 1" }, "metanode": "Gene" }, { "id": 45245, "identifier": "GO:0016197", "identifier_type": "str", "name": "endosomal transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016197", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45246, "identifier": "C0332534", "identifier_type": "str", "name": "Induration", "properties": { "url": "http://identifiers.org/umls/C0332534", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45247, "identifier": "C0860967", "identifier_type": "str", "name": "Calcium low", "properties": { "url": "http://identifiers.org/umls/C0860967", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45248, "identifier": "GO:0048675", "identifier_type": "str", "name": "axon extension", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048675", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "