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=46525
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46550", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46500", "results": [ { "id": 46522, "identifier": "58506", "identifier_type": "int", "name": "SCAF1", "properties": { "url": "http://identifiers.org/ncbigene/58506", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "SR-related CTD-associated factor 1" }, "metanode": "Gene" }, { "id": 46523, "identifier": "GO:0016049", "identifier_type": "str", "name": "cell growth", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016049", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46524, "identifier": "196403", "identifier_type": "int", "name": "DTX3", "properties": { "url": "http://identifiers.org/ncbigene/196403", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "deltex 3, E3 ubiquitin ligase" }, "metanode": "Gene" }, { "id": 46525, "identifier": "D015878", "identifier_type": "str", "name": "Mydriasis", "properties": { "url": "http://identifiers.org/mesh/D015878", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 46526, "identifier": "GO:0035651", "identifier_type": "str", "name": "AP-3 adaptor complex binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035651", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46527, "identifier": "GO:0051238", "identifier_type": "str", "name": "sequestering of metal ion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051238", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46528, "identifier": "C0863112", "identifier_type": "str", "name": "Pharyngo-oral irritation", "properties": { "url": "http://identifiers.org/umls/C0863112", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46529, "identifier": "C0919625", "identifier_type": "str", "name": "Blood phosphorus increased", "properties": { "url": "http://identifiers.org/umls/C0919625", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46530, "identifier": "GO:0090183", "identifier_type": "str", "name": "regulation of kidney development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090183", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46531, "identifier": "4771", "identifier_type": "int", "name": "NF2", "properties": { "url": "http://identifiers.org/ncbigene/4771", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "neurofibromin 2 (merlin)" }, "metanode": "Gene" }, { "id": 46532, "identifier": "54793", "identifier_type": "int", "name": "KCTD9", "properties": { "url": "http://identifiers.org/ncbigene/54793", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "potassium channel tetramerization domain containing 9" }, "metanode": "Gene" }, { "id": 46533, "identifier": "GO:0045916", "identifier_type": "str", "name": "negative regulation of complement activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045916", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46534, "identifier": "PC7_11357", "identifier_type": "str", "name": "deactivation of the beta-catenin transactivating complex", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46535, "identifier": "PC7_6666", "identifier_type": "str", "name": "Pyrophosphate hydrolysis", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46536, "identifier": "7224", "identifier_type": "int", "name": "TRPC5", "properties": { "url": "http://identifiers.org/ncbigene/7224", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "transient receptor potential cation channel, subfamily C, member 5" }, "metanode": "Gene" }, { "id": 46537, "identifier": "DB00753", "identifier_type": "str", "name": "Isoflurane", "properties": { "url": "http://www.drugbank.ca/drugs/DB00753", "inchi": "InChI=1S/C3H2ClF5O/c4-1(3(7,8)9)10-2(5)6/h1-2H", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=PIWKPBJCKXDKJR-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46538, "identifier": "UBERON:0000038", "identifier_type": "str", "name": "follicular fluid", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0000038", "bto_id": "BTO:0004383", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D015571" }, "metanode": "Anatomy" }, { "id": 46539, "identifier": "26205", "identifier_type": "int", "name": "GMEB2", "properties": { "url": "http://identifiers.org/ncbigene/26205", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "glucocorticoid modulatory element binding protein 2" }, "metanode": "Gene" }, { "id": 46540, "identifier": "171177", "identifier_type": "int", "name": "RHOV", "properties": { "url": "http://identifiers.org/ncbigene/171177", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "ras homolog family member V" }, "metanode": "Gene" }, { "id": 46541, "identifier": "101928991", "identifier_type": "int", "name": "LOC101928991", "properties": { "url": "http://identifiers.org/ncbigene/101928991", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "coiled-coil domain-containing protein 92-like" }, "metanode": "Gene" }, { "id": 46544, "identifier": "301", "identifier_type": "int", "name": "ANXA1", "properties": { "url": "http://identifiers.org/ncbigene/301", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "annexin A1" }, "metanode": "Gene" }, { "id": 46545, "identifier": "9048", "identifier_type": "int", "name": "ARTN", "properties": { "url": "http://identifiers.org/ncbigene/9048", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "artemin" }, "metanode": "Gene" }, { "id": 46546, "identifier": "GO:0046688", "identifier_type": "str", "name": "response to copper ion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046688", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46547, "identifier": "GO:0043982", "identifier_type": "str", "name": "histone H4-K8 acetylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043982", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46548, "identifier": "GO:0016894", "identifier_type": "str", "name": "endonuclease activity, active with either ribo- or deoxyribonucleic acids and producing 3'-phosphomonoesters", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016894", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" } ] }{ "count": 47031, "next": "