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=625
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=650", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=600", "results": [ { "id": 623, "identifier": "80032", "identifier_type": "int", "name": "ZNF556", "properties": { "url": "http://identifiers.org/ncbigene/80032", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 556" }, "metanode": "Gene" }, { "id": 624, "identifier": "GO:0043503", "identifier_type": "str", "name": "skeletal muscle fiber adaptation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043503", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 625, "identifier": "5277", "identifier_type": "int", "name": "PIGA", "properties": { "url": "http://identifiers.org/ncbigene/5277", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "phosphatidylinositol glycan anchor biosynthesis, class A" }, "metanode": "Gene" }, { "id": 626, "identifier": "51203", "identifier_type": "int", "name": "NUSAP1", "properties": { "url": "http://identifiers.org/ncbigene/51203", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "nucleolar and spindle associated protein 1" }, "metanode": "Gene" }, { "id": 627, "identifier": "221322", "identifier_type": "int", "name": "TBC1D32", "properties": { "url": "http://identifiers.org/ncbigene/221322", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "TBC1 domain family, member 32" }, "metanode": "Gene" }, { "id": 628, "identifier": "375057", "identifier_type": "int", "name": "C1orf95", "properties": { "url": "http://identifiers.org/ncbigene/375057", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chromosome 1 open reading frame 95" }, "metanode": "Gene" }, { "id": 629, "identifier": "GO:0061665", "identifier_type": "str", "name": "SUMO ligase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061665", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 630, "identifier": "138802", "identifier_type": "int", "name": "OR13C8", "properties": { "url": "http://identifiers.org/ncbigene/138802", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "olfactory receptor, family 13, subfamily C, member 8" }, "metanode": "Gene" }, { "id": 631, "identifier": "GO:0070535", "identifier_type": "str", "name": "histone H2A K63-linked ubiquitination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070535", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 632, "identifier": "GO:0005332", "identifier_type": "str", "name": "gamma-aminobutyric acid:sodium symporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005332", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 633, "identifier": "643008", "identifier_type": "int", "name": "SMIM5", "properties": { "url": "http://identifiers.org/ncbigene/643008", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "small integral membrane protein 5" }, "metanode": "Gene" }, { "id": 634, "identifier": "100131195", "identifier_type": "int", "name": "LOC100131195", "properties": { "url": "http://identifiers.org/ncbigene/100131195", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC100131195" }, "metanode": "Gene" }, { "id": 635, "identifier": "6231", "identifier_type": "int", "name": "RPS26", "properties": { "url": "http://identifiers.org/ncbigene/6231", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "ribosomal protein S26" }, "metanode": "Gene" }, { "id": 636, "identifier": "GO:0044254", "identifier_type": "str", "name": "multicellular organismal protein catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044254", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 637, "identifier": "79658", "identifier_type": "int", "name": "ARHGAP10", "properties": { "url": "http://identifiers.org/ncbigene/79658", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "Rho GTPase activating protein 10" }, "metanode": "Gene" }, { "id": 638, "identifier": "GO:0000097", "identifier_type": "str", "name": "sulfur amino acid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000097", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 639, "identifier": "151473", "identifier_type": "int", "name": "SLC16A14", "properties": { "url": "http://identifiers.org/ncbigene/151473", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "solute carrier family 16, member 14" }, "metanode": "Gene" }, { "id": 640, "identifier": "9554", "identifier_type": "int", "name": "SEC22B", "properties": { "url": "http://identifiers.org/ncbigene/9554", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "SEC22 vesicle trafficking protein homolog B (S. cerevisiae) (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 641, "identifier": "DB01078", "identifier_type": "str", "name": "Deslanoside", "properties": { "url": "http://www.drugbank.ca/drugs/DB01078", "inchi": "InChI=1S/C47H74O19/c1-20-41(64-36-16-30(50)42(21(2)60-36)65-37-17-31(51)43(22(3)61-37)66-44-40(56)39(55)38(54)32(18-48)63-44)29(49)15-35(59-20)62-25-8-10-45(4)24(13-25)6-7-27-28(45)14-33(52)46(5)26(9-11-47(27,46)57)23-12-34(53)58-19-23/h12,20-22,24-33,35-44,48-52,54-57H,6-11,13-19H2,1-5H3/t20-,21-,22-,24-,25+,26-,27-,28+,29+,30+,31+,32-,33-,35+,36+,37+,38-,39+,40-,41-,42-,43-,44+,45+,46+,47+/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=OBATZBGFDSVCJD-LALPQLPRSA-N" }, "metanode": "Compound" }, { "id": 642, "identifier": "105370362", "identifier_type": "int", "name": "LOC105370362", "properties": { "url": "http://identifiers.org/ncbigene/105370362", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "uncharacterized LOC105370362" }, "metanode": "Gene" }, { "id": 643, "identifier": "390197", "identifier_type": "int", "name": "OR4D10", "properties": { "url": "http://identifiers.org/ncbigene/390197", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 4, subfamily D, member 10" }, "metanode": "Gene" }, { "id": 644, "identifier": "C0877266", "identifier_type": "str", "name": "Upper respiratory tract inflammation", "properties": { "url": "http://identifiers.org/umls/C0877266", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 645, "identifier": "GO:0043208", "identifier_type": "str", "name": "glycosphingolipid binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043208", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 646, "identifier": "GO:0009115", "identifier_type": "str", "name": "xanthine catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009115", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 647, "identifier": "GO:0043320", "identifier_type": "str", "name": "natural killer cell degranulation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043320", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "