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=45900
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45925", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45875", "results": [ { "id": 45898, "identifier": "WP3_r79527", "identifier_type": "str", "name": "Transcriptional activation by NRF2", "properties": { "url": "http://www.wikipathways.org/instance/WP3_r79527", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 45899, "identifier": "GO:0009066", "identifier_type": "str", "name": "aspartate family amino acid metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009066", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45900, "identifier": "C0235266", "identifier_type": "str", "name": "Eye irritation", "properties": { "url": "http://identifiers.org/umls/C0235266", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45901, "identifier": "11123", "identifier_type": "int", "name": "RCAN3", "properties": { "url": "http://identifiers.org/ncbigene/11123", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "RCAN family member 3" }, "metanode": "Gene" }, { "id": 45902, "identifier": "DOID:219", "identifier_type": "str", "name": "colon cancer", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_219", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 45903, "identifier": "GO:0032809", "identifier_type": "str", "name": "neuronal cell body membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032809", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45904, "identifier": "GO:0032310", "identifier_type": "str", "name": "prostaglandin secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032310", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45905, "identifier": "N0000000106", "identifier_type": "str", "name": "Prostaglandin Receptor Agonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000000106", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 45906, "identifier": "28962", "identifier_type": "int", "name": "OSTM1", "properties": { "url": "http://identifiers.org/ncbigene/28962", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "osteopetrosis associated transmembrane protein 1" }, "metanode": "Gene" }, { "id": 45907, "identifier": "GO:0044801", "identifier_type": "str", "name": "single-organism membrane fusion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044801", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45908, "identifier": "C0877211", "identifier_type": "str", "name": "General physical health deterioration", "properties": { "url": "http://identifiers.org/umls/C0877211", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45909, "identifier": "UBERON:0000993", "identifier_type": "str", "name": "oviduct", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0000993", "bto_id": "BTO:0000980", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D010057" }, "metanode": "Anatomy" }, { "id": 45910, "identifier": "94026", "identifier_type": "int", "name": "POM121L2", "properties": { "url": "http://identifiers.org/ncbigene/94026", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "POM121 transmembrane nucleoporin-like 2" }, "metanode": "Gene" }, { "id": 45911, "identifier": "5111", "identifier_type": "int", "name": "PCNA", "properties": { "url": "http://identifiers.org/ncbigene/5111", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "proliferating cell nuclear antigen" }, "metanode": "Gene" }, { "id": 45912, "identifier": "729648", "identifier_type": "int", "name": "ZNF812", "properties": { "url": "http://identifiers.org/ncbigene/729648", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 812" }, "metanode": "Gene" }, { "id": 45913, "identifier": "PC7_5045", "identifier_type": "str", "name": "Lysine catabolism", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45914, "identifier": "C3536683", "identifier_type": "str", "name": "Ovulation inhibited", "properties": { "url": "http://identifiers.org/umls/C3536683", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45915, "identifier": "22796", "identifier_type": "int", "name": "COG2", "properties": { "url": "http://identifiers.org/ncbigene/22796", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "component of oligomeric golgi complex 2" }, "metanode": "Gene" }, { "id": 45916, "identifier": "GO:0009411", "identifier_type": "str", "name": "response to UV", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009411", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45917, "identifier": "7410", "identifier_type": "int", "name": "VAV2", "properties": { "url": "http://identifiers.org/ncbigene/7410", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "vav 2 guanine nucleotide exchange factor" }, "metanode": "Gene" }, { "id": 45918, "identifier": "53336", "identifier_type": "int", "name": "CPXCR1", "properties": { "url": "http://identifiers.org/ncbigene/53336", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "CPX chromosome region, candidate 1" }, "metanode": "Gene" }, { "id": 45919, "identifier": "92399", "identifier_type": "int", "name": "MRRF", "properties": { "url": "http://identifiers.org/ncbigene/92399", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "mitochondrial ribosome recycling factor" }, "metanode": "Gene" }, { "id": 45920, "identifier": "GO:0019788", "identifier_type": "str", "name": "NEDD8 transferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019788", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45921, "identifier": "C0010828", "identifier_type": "str", "name": "Cytopenia", "properties": { "url": "http://identifiers.org/umls/C0010828", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45922, "identifier": "105377595", "identifier_type": "int", "name": "LOC105377595", "properties": { "url": "http://identifiers.org/ncbigene/105377595", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "40S ribosomal protein SA-like" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "