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=45975
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46000", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45950", "results": [ { "id": 45975, "identifier": "GO:0018377", "identifier_type": "str", "name": "protein myristoylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018377", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45976, "identifier": "GO:0006308", "identifier_type": "str", "name": "DNA catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006308", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45977, "identifier": "GO:0097374", "identifier_type": "str", "name": "sensory neuron axon guidance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097374", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45978, "identifier": "6543", "identifier_type": "int", "name": "SLC8A2", "properties": { "url": "http://identifiers.org/ncbigene/6543", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "solute carrier family 8 (sodium/calcium exchanger), member 2" }, "metanode": "Gene" }, { "id": 45979, "identifier": "101930049", "identifier_type": "int", "name": "LOC101930049", "properties": { "url": "http://identifiers.org/ncbigene/101930049", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "uncharacterized LOC101930049" }, "metanode": "Gene" }, { "id": 45980, "identifier": "UBERON:0002378", "identifier_type": "str", "name": "muscle of abdomen", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002378", "bto_id": "BTO:0001261", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D000009" }, "metanode": "Anatomy" }, { "id": 45981, "identifier": "GO:0071706", "identifier_type": "str", "name": "tumor necrosis factor superfamily cytokine production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071706", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45982, "identifier": "GO:0010918", "identifier_type": "str", "name": "positive regulation of mitochondrial membrane potential", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010918", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45983, "identifier": "1375", "identifier_type": "int", "name": "CPT1B", "properties": { "url": "http://identifiers.org/ncbigene/1375", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "carnitine palmitoyltransferase 1B (muscle)" }, "metanode": "Gene" }, { "id": 45984, "identifier": "9866", "identifier_type": "int", "name": "TRIM66", "properties": { "url": "http://identifiers.org/ncbigene/9866", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "tripartite motif containing 66" }, "metanode": "Gene" }, { "id": 45985, "identifier": "C0037320", "identifier_type": "str", "name": "Sleep terror", "properties": { "url": "http://identifiers.org/umls/C0037320", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45986, "identifier": "GO:0016885", "identifier_type": "str", "name": "ligase activity, forming carbon-carbon bonds", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016885", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45987, "identifier": "GO:0090134", "identifier_type": "str", "name": "cell migration involved in mesendoderm migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090134", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45988, "identifier": "8239", "identifier_type": "int", "name": "USP9X", "properties": { "url": "http://identifiers.org/ncbigene/8239", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "ubiquitin specific peptidase 9, X-linked" }, "metanode": "Gene" }, { "id": 45989, "identifier": "C0302832", "identifier_type": "str", "name": "Obsessional neurosis", "properties": { "url": "http://identifiers.org/umls/C0302832", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45990, "identifier": "GO:0033570", "identifier_type": "str", "name": "transferrin transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033570", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45991, "identifier": "343068", "identifier_type": "int", "name": "PRAMEF5", "properties": { "url": "http://identifiers.org/ncbigene/343068", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "PRAME family member 5" }, "metanode": "Gene" }, { "id": 45992, "identifier": "C0521654", "identifier_type": "str", "name": "Neurological impairment", "properties": { "url": "http://identifiers.org/umls/C0521654", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45993, "identifier": "GO:0007266", "identifier_type": "str", "name": "Rho protein signal transduction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007266", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45994, "identifier": "C0262627", "identifier_type": "str", "name": "Seroma", "properties": { "url": "http://identifiers.org/umls/C0262627", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45995, "identifier": "161502", "identifier_type": "int", "name": "C15orf26", "properties": { "url": "http://identifiers.org/ncbigene/161502", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "chromosome 15 open reading frame 26" }, "metanode": "Gene" }, { "id": 45996, "identifier": "2057", "identifier_type": "int", "name": "EPOR", "properties": { "url": "http://identifiers.org/ncbigene/2057", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "erythropoietin receptor" }, "metanode": "Gene" }, { "id": 45997, "identifier": "C1386135", "identifier_type": "str", "name": "Acute depression", "properties": { "url": "http://identifiers.org/umls/C1386135", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45998, "identifier": "GO:0051783", "identifier_type": "str", "name": "regulation of nuclear division", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051783", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45999, "identifier": "GO:0001516", "identifier_type": "str", "name": "prostaglandin biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001516", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "