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=2400
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2425", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2375", "results": [ { "id": 2390, "identifier": "105378254", "identifier_type": "int", "name": "LOC105378254", "properties": { "url": "http://identifiers.org/ncbigene/105378254", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "tenascin-N-like" }, "metanode": "Gene" }, { "id": 2391, "identifier": "GO:0042498", "identifier_type": "str", "name": "diacyl lipopeptide binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042498", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2392, "identifier": "2645", "identifier_type": "int", "name": "GCK", "properties": { "url": "http://identifiers.org/ncbigene/2645", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "glucokinase (hexokinase 4)" }, "metanode": "Gene" }, { "id": 2393, "identifier": "11136", "identifier_type": "int", "name": "SLC7A9", "properties": { "url": "http://identifiers.org/ncbigene/11136", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "solute carrier family 7 (amino acid transporter light chain, bo,+ system), member 9" }, "metanode": "Gene" }, { "id": 2394, "identifier": "GO:0018002", "identifier_type": "str", "name": "N-terminal peptidyl-glutamic acid acetylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018002", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2395, "identifier": "GO:0021966", "identifier_type": "str", "name": "corticospinal neuron axon guidance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021966", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2396, "identifier": "DB09000", "identifier_type": "str", "name": "Cyamemazine", "properties": { "url": "http://www.drugbank.ca/drugs/DB09000", "inchi": "InChI=1/C19H21N3S/c1-14(12-21(2)3)13-22-16-6-4-5-7-18(16)23-19-9-8-15(11-20)10-17(19)22/h4-10,14H,12-13H2,1-3H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=SLFGIOIONGJGRT-UHFFFAOYNA-N" }, "metanode": "Compound" }, { "id": 2397, "identifier": "PC7_2575", "identifier_type": "str", "name": "Chromosome Maintenance", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2398, "identifier": "105371944", "identifier_type": "int", "name": "LOC105371944", "properties": { "url": "http://identifiers.org/ncbigene/105371944", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "uncharacterized LOC105371944" }, "metanode": "Gene" }, { "id": 2399, "identifier": "151556", "identifier_type": "int", "name": "GPR155", "properties": { "url": "http://identifiers.org/ncbigene/151556", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "G protein-coupled receptor 155" }, "metanode": "Gene" }, { "id": 2400, "identifier": "29119", "identifier_type": "int", "name": "CTNNA3", "properties": { "url": "http://identifiers.org/ncbigene/29119", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "catenin (cadherin-associated protein), alpha 3" }, "metanode": "Gene" }, { "id": 2401, "identifier": "5098", "identifier_type": "int", "name": "PCDHGC3", "properties": { "url": "http://identifiers.org/ncbigene/5098", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin gamma subfamily C, 3" }, "metanode": "Gene" }, { "id": 2402, "identifier": "55120", "identifier_type": "int", "name": "FANCL", "properties": { "url": "http://identifiers.org/ncbigene/55120", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "Fanconi anemia, complementation group L" }, "metanode": "Gene" }, { "id": 2403, "identifier": "GO:0006620", "identifier_type": "str", "name": "posttranslational protein targeting to membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006620", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2404, "identifier": "GO:0007568", "identifier_type": "str", "name": "aging", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007568", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2405, "identifier": "100132403", "identifier_type": "int", "name": "FAM157B", "properties": { "url": "http://identifiers.org/ncbigene/100132403", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "family with sequence similarity 157, member B" }, "metanode": "Gene" }, { "id": 2406, "identifier": "22937", "identifier_type": "int", "name": "SCAP", "properties": { "url": "http://identifiers.org/ncbigene/22937", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "SREBF chaperone" }, "metanode": "Gene" }, { "id": 2407, "identifier": "7439", "identifier_type": "int", "name": "BEST1", "properties": { "url": "http://identifiers.org/ncbigene/7439", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "bestrophin 1" }, "metanode": "Gene" }, { "id": 2408, "identifier": "UBERON:0002389", "identifier_type": "str", "name": "manual digit", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002389", "bto_id": "BTO:0004669", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D005385" }, "metanode": "Anatomy" }, { "id": 2409, "identifier": "GO:1903261", "identifier_type": "str", "name": "regulation of serine phosphorylation of STAT3 protein", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903261", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2410, "identifier": "PC7_5891", "identifier_type": "str", "name": "Neurotransmitter Release Cycle", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2411, "identifier": "26276", "identifier_type": "int", "name": "VPS33B", "properties": { "url": "http://identifiers.org/ncbigene/26276", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "vacuolar protein sorting 33 homolog B (yeast)" }, "metanode": "Gene" }, { "id": 2412, "identifier": "55818", "identifier_type": "int", "name": "KDM3A", "properties": { "url": "http://identifiers.org/ncbigene/55818", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "lysine (K)-specific demethylase 3A" }, "metanode": "Gene" }, { "id": 2413, "identifier": "64581", "identifier_type": "int", "name": "CLEC7A", "properties": { "url": "http://identifiers.org/ncbigene/64581", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "C-type lectin domain family 7, member A" }, "metanode": "Gene" }, { "id": 2414, "identifier": "PC7_8350", "identifier_type": "str", "name": "Transport of fatty acids", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" } ] }{ "count": 47031, "next": "