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=46250
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46275", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46225", "results": [ { "id": 46249, "identifier": "GO:0060020", "identifier_type": "str", "name": "Bergmann glial cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060020", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46250, "identifier": "389840", "identifier_type": "int", "name": "MAP3K15", "properties": { "url": "http://identifiers.org/ncbigene/389840", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "mitogen-activated protein kinase kinase kinase 15" }, "metanode": "Gene" }, { "id": 46251, "identifier": "GO:0032369", "identifier_type": "str", "name": "negative regulation of lipid transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032369", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46252, "identifier": "100131034", "identifier_type": "int", "name": "LOC100131034", "properties": { "url": "http://identifiers.org/ncbigene/100131034", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "uncharacterized LOC100131034" }, "metanode": "Gene" }, { "id": 46253, "identifier": "2919", "identifier_type": "int", "name": "CXCL1", "properties": { "url": "http://identifiers.org/ncbigene/2919", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "chemokine (C-X-C motif) ligand 1 (melanoma growth stimulating activity, alpha)" }, "metanode": "Gene" }, { "id": 46254, "identifier": "GO:0006415", "identifier_type": "str", "name": "translational termination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006415", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46255, "identifier": "57464", "identifier_type": "int", "name": "STRIP2", "properties": { "url": "http://identifiers.org/ncbigene/57464", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "striatin interacting protein 2" }, "metanode": "Gene" }, { "id": 46256, "identifier": "C1168134", "identifier_type": "str", "name": "Anti-thyroid antibody positive", "properties": { "url": "http://identifiers.org/umls/C1168134", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46257, "identifier": "GO:0009052", "identifier_type": "str", "name": "pentose-phosphate shunt, non-oxidative branch", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009052", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46258, "identifier": "GO:0048039", "identifier_type": "str", "name": "ubiquinone binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048039", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46259, "identifier": "392309", "identifier_type": "int", "name": "OR13J1", "properties": { "url": "http://identifiers.org/ncbigene/392309", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "olfactory receptor, family 13, subfamily J, member 1" }, "metanode": "Gene" }, { "id": 46260, "identifier": "GO:0009176", "identifier_type": "str", "name": "pyrimidine deoxyribonucleoside monophosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009176", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46261, "identifier": "5372", "identifier_type": "int", "name": "PMM1", "properties": { "url": "http://identifiers.org/ncbigene/5372", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "phosphomannomutase 1" }, "metanode": "Gene" }, { "id": 46262, "identifier": "GO:0051806", "identifier_type": "str", "name": "entry into cell of other organism involved in symbiotic interaction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051806", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46263, "identifier": "GO:0003909", "identifier_type": "str", "name": "DNA ligase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003909", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46264, "identifier": "101928638", "identifier_type": "int", "name": "PRR31", "properties": { "url": "http://identifiers.org/ncbigene/101928638", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "proline rich 31" }, "metanode": "Gene" }, { "id": 46265, "identifier": "WP400_r72084", "identifier_type": "str", "name": "p38 MAPK Signaling Pathway", "properties": { "url": "http://www.wikipathways.org/instance/WP400_r72084", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 46266, "identifier": "GO:0003183", "identifier_type": "str", "name": "mitral valve morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003183", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46267, "identifier": "UBERON:0001616", "identifier_type": "str", "name": "maxillary artery", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001616", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D008438" }, "metanode": "Anatomy" }, { "id": 46268, "identifier": "23211", "identifier_type": "int", "name": "ZC3H4", "properties": { "url": "http://identifiers.org/ncbigene/23211", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger CCCH-type containing 4" }, "metanode": "Gene" }, { "id": 46269, "identifier": "4535", "identifier_type": "int", "name": "ND1", "properties": { "url": "http://identifiers.org/ncbigene/4535", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "MT", "description": "NADH dehydrogenase, subunit 1 (complex I)" }, "metanode": "Gene" }, { "id": 46270, "identifier": "C0948089", "identifier_type": "str", "name": "Acute coronary syndrome", "properties": { "url": "http://identifiers.org/umls/C0948089", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46271, "identifier": "PC7_4007", "identifier_type": "str", "name": "G2 Phase", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46272, "identifier": "GO:0001106", "identifier_type": "str", "name": "RNA polymerase II transcription corepressor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001106", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46273, "identifier": "GO:1901606", "identifier_type": "str", "name": "alpha-amino acid catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901606", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }