This is a repository of sample scripts to automate workflow using cyRest and node.js.
- Node.js
- Latest version of cyREST
- Cytoscpae 3.1.1 and later
npm install
This is a simple workflow to do the following:
- Send query to [NCBI Gene] database by bionode-ncbi module.
- From the result, extract Entrez gene ID.
- Send the list of genes to BioGIRD via BioJS PSICQUIC client.
- Convert the list of interactions into Cytoscape.js compatible JSON.
- Send it to Cytoscape via cyREST
- Apply layout, edge bundling, and Visual Style.
The following is the result by sending this query to NCBI Gene:
"Homo sapiens"[Organism] AND proteasome[Gene Ontology] AND alive[property]
You can play with some other queries. Note that if the returned list of the genes is too big, BioGRID may return empty result.
(This repo is still under construction. More coming soon...)