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=2525
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2550", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2500", "results": [ { "id": 2512, "identifier": "DB05246", "identifier_type": "str", "name": "Methsuximide", "properties": { "url": "http://www.drugbank.ca/drugs/DB05246", "inchi": "InChI=1S/C12H13NO2/c1-12(9-6-4-3-5-7-9)8-10(14)13(2)11(12)15/h3-7H,8H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=AJXPJJZHWIXJCJ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2513, "identifier": "GO:0035267", "identifier_type": "str", "name": "NuA4 histone acetyltransferase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035267", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2514, "identifier": "GO:0090023", "identifier_type": "str", "name": "positive regulation of neutrophil chemotaxis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090023", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2515, "identifier": "254173", "identifier_type": "int", "name": "TTLL10", "properties": { "url": "http://identifiers.org/ncbigene/254173", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "tubulin tyrosine ligase-like family member 10" }, "metanode": "Gene" }, { "id": 2516, "identifier": "DB01029", "identifier_type": "str", "name": "Irbesartan", "properties": { "url": "http://www.drugbank.ca/drugs/DB01029", "inchi": "InChI=1S/C25H28N6O/c1-2-3-10-22-26-25(15-6-7-16-25)24(32)31(22)17-18-11-13-19(14-12-18)20-8-4-5-9-21(20)23-27-29-30-28-23/h4-5,8-9,11-14H,2-3,6-7,10,15-17H2,1H3,(H,27,28,29,30)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=YOSHYTLCDANDAN-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2517, "identifier": "55967", "identifier_type": "int", "name": "NDUFA12", "properties": { "url": "http://identifiers.org/ncbigene/55967", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "NADH dehydrogenase (ubiquinone) 1 alpha subcomplex, 12" }, "metanode": "Gene" }, { "id": 2518, "identifier": "64714", "identifier_type": "int", "name": "PDIA2", "properties": { "url": "http://identifiers.org/ncbigene/64714", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "protein disulfide isomerase family A, member 2" }, "metanode": "Gene" }, { "id": 2519, "identifier": "C0577115", "identifier_type": "str", "name": "Soft stools", "properties": { "url": "http://identifiers.org/umls/C0577115", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2520, "identifier": "GO:0072530", "identifier_type": "str", "name": "purine-containing compound transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072530", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2521, "identifier": "285628", "identifier_type": "int", "name": "LOC285628", "properties": { "url": "http://identifiers.org/ncbigene/285628", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "uncharacterized LOC285628" }, "metanode": "Gene" }, { "id": 2522, "identifier": "761", "identifier_type": "int", "name": "CA3", "properties": { "url": "http://identifiers.org/ncbigene/761", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "carbonic anhydrase III" }, "metanode": "Gene" }, { "id": 2523, "identifier": "GO:0031645", "identifier_type": "str", "name": "negative regulation of neurological system process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031645", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2524, "identifier": "GO:1902857", "identifier_type": "str", "name": "positive regulation of nonmotile primary cilium assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902857", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2525, "identifier": "GO:0051606", "identifier_type": "str", "name": "detection of stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051606", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2526, "identifier": "GO:0050685", "identifier_type": "str", "name": "positive regulation of mRNA processing", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050685", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2527, "identifier": "57663", "identifier_type": "int", "name": "USP29", "properties": { "url": "http://identifiers.org/ncbigene/57663", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "ubiquitin specific peptidase 29" }, "metanode": "Gene" }, { "id": 2528, "identifier": "C0004604", "identifier_type": "str", "name": "Back pain", "properties": { "url": "http://identifiers.org/umls/C0004604", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2529, "identifier": "GO:0032635", "identifier_type": "str", "name": "interleukin-6 production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032635", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2530, "identifier": "5555", "identifier_type": "int", "name": "PRH2", "properties": { "url": "http://identifiers.org/ncbigene/5555", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "proline-rich protein HaeIII subfamily 2" }, "metanode": "Gene" }, { "id": 2531, "identifier": "51481", "identifier_type": "int", "name": "VCX3A", "properties": { "url": "http://identifiers.org/ncbigene/51481", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "variable charge, X-linked 3A" }, "metanode": "Gene" }, { "id": 2532, "identifier": "WP1772_r84701", "identifier_type": "str", "name": "Apoptosis Modulation and Signaling", "properties": { "url": "http://www.wikipathways.org/instance/WP1772_r84701", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 2533, "identifier": "GO:1902445", "identifier_type": "str", "name": "regulation of mitochondrial membrane permeability involved in programmed necrotic cell death", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902445", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2534, "identifier": "1019", "identifier_type": "int", "name": "CDK4", "properties": { "url": "http://identifiers.org/ncbigene/1019", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "cyclin-dependent kinase 4" }, "metanode": "Gene" }, { "id": 2535, "identifier": "C0002895", "identifier_type": "str", "name": "Sickle cell anaemia", "properties": { "url": "http://identifiers.org/umls/C0002895", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2536, "identifier": "GO:0030517", "identifier_type": "str", "name": "negative regulation of axon extension", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030517", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "