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=45725
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45750", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45700", "results": [ { "id": 45724, "identifier": "79056", "identifier_type": "int", "name": "PRRG4", "properties": { "url": "http://identifiers.org/ncbigene/79056", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "proline rich Gla (G-carboxyglutamic acid) 4 (transmembrane)" }, "metanode": "Gene" }, { "id": 45725, "identifier": "5617", "identifier_type": "int", "name": "PRL", "properties": { "url": "http://identifiers.org/ncbigene/5617", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "prolactin" }, "metanode": "Gene" }, { "id": 45726, "identifier": "205", "identifier_type": "int", "name": "AK4", "properties": { "url": "http://identifiers.org/ncbigene/205", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "adenylate kinase 4" }, "metanode": "Gene" }, { "id": 45727, "identifier": "8824", "identifier_type": "int", "name": "CES2", "properties": { "url": "http://identifiers.org/ncbigene/8824", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "carboxylesterase 2" }, "metanode": "Gene" }, { "id": 45728, "identifier": "GO:0009233", "identifier_type": "str", "name": "menaquinone metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009233", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45729, "identifier": "GO:0035608", "identifier_type": "str", "name": "protein deglutamylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035608", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45730, "identifier": "26608", "identifier_type": "int", "name": "TBL2", "properties": { "url": "http://identifiers.org/ncbigene/26608", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "transducin (beta)-like 2" }, "metanode": "Gene" }, { "id": 45731, "identifier": "2658", "identifier_type": "int", "name": "GDF2", "properties": { "url": "http://identifiers.org/ncbigene/2658", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "growth differentiation factor 2" }, "metanode": "Gene" }, { "id": 45732, "identifier": "11165", "identifier_type": "int", "name": "NUDT3", "properties": { "url": "http://identifiers.org/ncbigene/11165", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "nudix (nucleoside diphosphate linked moiety X)-type motif 3" }, "metanode": "Gene" }, { "id": 45733, "identifier": "GO:1902463", "identifier_type": "str", "name": "protein localization to cell leading edge", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902463", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45734, "identifier": "4999", "identifier_type": "int", "name": "ORC2", "properties": { "url": "http://identifiers.org/ncbigene/4999", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "origin recognition complex, subunit 2" }, "metanode": "Gene" }, { "id": 45735, "identifier": "55149", "identifier_type": "int", "name": "MTPAP", "properties": { "url": "http://identifiers.org/ncbigene/55149", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "mitochondrial poly(A) polymerase" }, "metanode": "Gene" }, { "id": 45736, "identifier": "GO:0015106", "identifier_type": "str", "name": "bicarbonate transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015106", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45737, "identifier": "GO:0060282", "identifier_type": "str", "name": "positive regulation of oocyte development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060282", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45738, "identifier": "115861", "identifier_type": "int", "name": "NXNL1", "properties": { "url": "http://identifiers.org/ncbigene/115861", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "nucleoredoxin-like 1" }, "metanode": "Gene" }, { "id": 45739, "identifier": "374907", "identifier_type": "int", "name": "B3GNT8", "properties": { "url": "http://identifiers.org/ncbigene/374907", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "UDP-GlcNAc:betaGal beta-1,3-N-acetylglucosaminyltransferase 8" }, "metanode": "Gene" }, { "id": 45740, "identifier": "400668", "identifier_type": "int", "name": "PRSS57", "properties": { "url": "http://identifiers.org/ncbigene/400668", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "protease, serine, 57" }, "metanode": "Gene" }, { "id": 45741, "identifier": "140628", "identifier_type": "int", "name": "GATA5", "properties": { "url": "http://identifiers.org/ncbigene/140628", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "GATA binding protein 5" }, "metanode": "Gene" }, { "id": 45742, "identifier": "26289", "identifier_type": "int", "name": "AK5", "properties": { "url": "http://identifiers.org/ncbigene/26289", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "adenylate kinase 5" }, "metanode": "Gene" }, { "id": 45743, "identifier": "GO:0015215", "identifier_type": "str", "name": "nucleotide transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015215", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45744, "identifier": "GO:2001267", "identifier_type": "str", "name": "regulation of cysteine-type endopeptidase activity involved in apoptotic signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2001267", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45745, "identifier": "GO:0005225", "identifier_type": "str", "name": "volume-sensitive anion channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005225", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45746, "identifier": "23456", "identifier_type": "int", "name": "ABCB10", "properties": { "url": "http://identifiers.org/ncbigene/23456", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ATP-binding cassette, sub-family B (MDR/TAP), member 10" }, "metanode": "Gene" }, { "id": 45747, "identifier": "151195", "identifier_type": "int", "name": "CCNYL1", "properties": { "url": "http://identifiers.org/ncbigene/151195", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "cyclin Y-like 1" }, "metanode": "Gene" }, { "id": 45748, "identifier": "513", "identifier_type": "int", "name": "ATP5D", "properties": { "url": "http://identifiers.org/ncbigene/513", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "ATP synthase, H+ transporting, mitochondrial F1 complex, delta subunit" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "