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=2100
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2125", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2075", "results": [ { "id": 2092, "identifier": "DB00335", "identifier_type": "str", "name": "Atenolol", "properties": { "url": "http://www.drugbank.ca/drugs/DB00335", "inchi": "InChI=1S/C14H22N2O3/c1-10(2)16-8-12(17)9-19-13-5-3-11(4-6-13)7-14(15)18/h3-6,10,12,16-17H,7-9H2,1-2H3,(H2,15,18)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=METKIMKYRPQLGS-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2093, "identifier": "GO:0061365", "identifier_type": "str", "name": "positive regulation of triglyceride lipase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061365", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2094, "identifier": "GO:0017156", "identifier_type": "str", "name": "calcium ion regulated exocytosis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0017156", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2095, "identifier": "26297", "identifier_type": "int", "name": "SERGEF", "properties": { "url": "http://identifiers.org/ncbigene/26297", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "secretion regulating guanine nucleotide exchange factor" }, "metanode": "Gene" }, { "id": 2096, "identifier": "GO:0002730", "identifier_type": "str", "name": "regulation of dendritic cell cytokine production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002730", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2097, "identifier": "C0026764", "identifier_type": "str", "name": "Plasma cell myeloma", "properties": { "url": "http://identifiers.org/umls/C0026764", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2098, "identifier": "GO:0021524", "identifier_type": "str", "name": "visceral motor neuron differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021524", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2099, "identifier": "4968", "identifier_type": "int", "name": "OGG1", "properties": { "url": "http://identifiers.org/ncbigene/4968", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "8-oxoguanine DNA glycosylase" }, "metanode": "Gene" }, { "id": 2100, "identifier": "521", "identifier_type": "int", "name": "ATP5I", "properties": { "url": "http://identifiers.org/ncbigene/521", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "ATP synthase, H+ transporting, mitochondrial Fo complex, subunit E" }, "metanode": "Gene" }, { "id": 2101, "identifier": "WP694_r67062", "identifier_type": "str", "name": "Arylamine metabolism", "properties": { "url": "http://www.wikipathways.org/instance/WP694_r67062", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 2102, "identifier": "C0856897", "identifier_type": "str", "name": "Hemangioma acquired", "properties": { "url": "http://identifiers.org/umls/C0856897", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2103, "identifier": "C0025222", "identifier_type": "str", "name": "Melaena", "properties": { "url": "http://identifiers.org/umls/C0025222", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2104, "identifier": "2990", "identifier_type": "int", "name": "GUSB", "properties": { "url": "http://identifiers.org/ncbigene/2990", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "glucuronidase, beta" }, "metanode": "Gene" }, { "id": 2105, "identifier": "GO:0030395", "identifier_type": "str", "name": "lactose binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030395", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2106, "identifier": "GO:0030199", "identifier_type": "str", "name": "collagen fibril organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030199", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2107, "identifier": "57679", "identifier_type": "int", "name": "ALS2", "properties": { "url": "http://identifiers.org/ncbigene/57679", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "amyotrophic lateral sclerosis 2 (juvenile)" }, "metanode": "Gene" }, { "id": 2108, "identifier": "83552", "identifier_type": "int", "name": "MFRP", "properties": { "url": "http://identifiers.org/ncbigene/83552", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "membrane frizzled-related protein" }, "metanode": "Gene" }, { "id": 2109, "identifier": "80342", "identifier_type": "int", "name": "TRAF3IP3", "properties": { "url": "http://identifiers.org/ncbigene/80342", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "TRAF3 interacting protein 3" }, "metanode": "Gene" }, { "id": 31522, "identifier": "PC7_4619", "identifier_type": "str", "name": "IL3-mediated signaling events", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 2110, "identifier": "121601", "identifier_type": "int", "name": "ANO4", "properties": { "url": "http://identifiers.org/ncbigene/121601", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "anoctamin 4" }, "metanode": "Gene" }, { "id": 2111, "identifier": "101060443", "identifier_type": "int", "name": "LOC101060443", "properties": { "url": "http://identifiers.org/ncbigene/101060443", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "uncharacterized LOC101060443" }, "metanode": "Gene" }, { "id": 2112, "identifier": "414301", "identifier_type": "int", "name": "DDI1", "properties": { "url": "http://identifiers.org/ncbigene/414301", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "DNA-damage inducible 1 homolog 1 (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 2113, "identifier": "5571", "identifier_type": "int", "name": "PRKAG1", "properties": { "url": "http://identifiers.org/ncbigene/5571", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "protein kinase, AMP-activated, gamma 1 non-catalytic subunit" }, "metanode": "Gene" }, { "id": 2114, "identifier": "90416", "identifier_type": "int", "name": "C15orf57", "properties": { "url": "http://identifiers.org/ncbigene/90416", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "chromosome 15 open reading frame 57" }, "metanode": "Gene" }, { "id": 2115, "identifier": "23538", "identifier_type": "int", "name": "OR52A1", "properties": { "url": "http://identifiers.org/ncbigene/23538", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 52, subfamily A, member 1" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "