Queries DGIdb through the R/Bioconductor rDGIdb package and saves the results to text files.
rDGIdb is available on Bioconductor.
To install the rDGIdb package, type this into your R console:
source("https://bioconductor.org/biocLite.R")
biocLite("rDGIdb")
In the terminal, use:
Rscript query_dgidb.r path/to/input path/to/output min-db-support
This script is release under the MIT licence.
thomas.thurnherr (at) bsse.ethz.ch