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=45000
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45025", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44975", "results": [ { "id": 44999, "identifier": "GO:0046878", "identifier_type": "str", "name": "positive regulation of saliva secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046878", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45000, "identifier": "GO:0035910", "identifier_type": "str", "name": "ascending aorta morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035910", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45001, "identifier": "23381", "identifier_type": "int", "name": "SMG5", "properties": { "url": "http://identifiers.org/ncbigene/23381", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "SMG5 nonsense mediated mRNA decay factor" }, "metanode": "Gene" }, { "id": 45002, "identifier": "GO:0007221", "identifier_type": "str", "name": "positive regulation of transcription of Notch receptor target", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007221", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45003, "identifier": "GO:0086062", "identifier_type": "str", "name": "voltage-gated sodium channel activity involved in Purkinje myocyte action potential", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0086062", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45004, "identifier": "C0497538", "identifier_type": "str", "name": "Benign gastrointestinal neoplasm", "properties": { "url": "http://identifiers.org/umls/C0497538", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45005, "identifier": "GO:0032970", "identifier_type": "str", "name": "regulation of actin filament-based process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032970", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45006, "identifier": "3265", "identifier_type": "int", "name": "HRAS", "properties": { "url": "http://identifiers.org/ncbigene/3265", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "Harvey rat sarcoma viral oncogene homolog" }, "metanode": "Gene" }, { "id": 45007, "identifier": "GO:0019074", "identifier_type": "str", "name": "viral RNA genome packaging", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019074", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45008, "identifier": "283454", "identifier_type": "int", "name": "LOC283454", "properties": { "url": "http://identifiers.org/ncbigene/283454", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "uncharacterized LOC283454" }, "metanode": "Gene" }, { "id": 45009, "identifier": "GO:0086013", "identifier_type": "str", "name": "membrane repolarization during cardiac muscle cell action potential", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0086013", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45010, "identifier": "5796", "identifier_type": "int", "name": "PTPRK", "properties": { "url": "http://identifiers.org/ncbigene/5796", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "protein tyrosine phosphatase, receptor type, K" }, "metanode": "Gene" }, { "id": 45011, "identifier": "10463", "identifier_type": "int", "name": "SLC30A9", "properties": { "url": "http://identifiers.org/ncbigene/10463", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "solute carrier family 30 (zinc transporter), member 9" }, "metanode": "Gene" }, { "id": 45012, "identifier": "60485", "identifier_type": "int", "name": "SAV1", "properties": { "url": "http://identifiers.org/ncbigene/60485", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "salvador family WW domain containing protein 1" }, "metanode": "Gene" }, { "id": 45013, "identifier": "GO:0005789", "identifier_type": "str", "name": "endoplasmic reticulum membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005789", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45014, "identifier": "PC7_4008", "identifier_type": "str", "name": "G2/M Checkpoints", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45015, "identifier": "4153", "identifier_type": "int", "name": "MBL2", "properties": { "url": "http://identifiers.org/ncbigene/4153", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "mannose-binding lectin (protein C) 2, soluble" }, "metanode": "Gene" }, { "id": 45016, "identifier": "646000", "identifier_type": "int", "name": "SLC35G4", "properties": { "url": "http://identifiers.org/ncbigene/646000", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "solute carrier family 35, member G4" }, "metanode": "Gene" }, { "id": 45017, "identifier": "GO:0015837", "identifier_type": "str", "name": "amine transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015837", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45018, "identifier": "C0019880", "identifier_type": "str", "name": "Homocystinuria", "properties": { "url": "http://identifiers.org/umls/C0019880", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45019, "identifier": "6750", "identifier_type": "int", "name": "SST", "properties": { "url": "http://identifiers.org/ncbigene/6750", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "somatostatin" }, "metanode": "Gene" }, { "id": 45020, "identifier": "GO:1903426", "identifier_type": "str", "name": "regulation of reactive oxygen species biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903426", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45021, "identifier": "C0150450", "identifier_type": "str", "name": "Altered state of consciousness", "properties": { "url": "http://identifiers.org/umls/C0150450", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45022, "identifier": "GO:0061051", "identifier_type": "str", "name": "positive regulation of cell growth involved in cardiac muscle cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061051", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45023, "identifier": "C0263437", "identifier_type": "str", "name": "Acne infantile", "properties": { "url": "http://identifiers.org/umls/C0263437", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "