/DISCOVER

DISCOVER co-occurrence and mutual exclusivity analysis for cancer genomics data

Primary LanguageFortranApache License 2.0Apache-2.0

DISCOVER

DISCOVER is a novel statistical method for analysing co-occurrence and mutual exclusivity in cancer genomics data. The details of this method are described in our paper A novel independence test for somatic alterations in cancer shows that biology drives mutual exclusivity but chance explains co-occurrence (preprint).

Installation

DISCOVER is available for both Python and R.

Python

The easiest way to install the DISCOVER Python package is by using Miniconda or Anaconda. We provide precompiled DISCOVER packages for 64-bit Linux, Windows, and Mac OS X. The following steps assume that Miniconda or Anaconda has been installed.

To create a new conda environment containing DISCOVER and its dependencies, execute the following command in a terminal (Linux/Mac OS X) or command prompt (Windows).

conda create -n discover -c http://ccb.nki.nl/software/discover/repos/conda discover

On Linux or Mac OS X, this environment can be activated using:

source activate discover

On Windows, the correct command is:

activate discover

Note that this environment contains the bare minimum to use DISCOVER. It does not, for example, include IPython. Trying to run IPython anyway might start a version installed in a different environment, and hence, importing DISCOVER will not succeed. Consult the conda documentation to find out how to install additional packages (such as IPython). Alternatively, DISCOVER can be installed in an existing environment as follows.

conda install -c http://ccb.nki.nl/software/discover/repos/conda discover

Check the documentation for instructions on how to use this package.

R

We provide precompiled R packages for 64-bit Windows (R 3.1 & 3.2), and Mac OS X (R 3.2 only), as well as a source package for installation on Linux. To install the DISCOVER package, execute the following in an R session.

options(repos=c(getOption("repos"), "http://ccb.nki.nl/software/discover/repos/r"))
install.packages("discover")

Check the documentation for instructions on how to use this package.

Documentation