Current version: 1.3.0, March 21, 2016

https://secure.travis-ci.org/dreamtools/dreamtools.png https://coveralls.io/repos/dreamtools/dreamtools/badge.png?branch=master Documentation Status
Python version:DREAMTools is supported for Python 2.7, 3.4 and 3.5. Pre-compiled versions are available for Linux and MAC platforms through Anaconda and the bioconda channel.
Note about coverage:
 We do not run the entire test suite on Travis, which reports a 40% test coverage. Note however, that the actual test coverage is about 80%.
Contributions:Please join https://github.com/dreamtools/dreamtools
Online documentation:
 On readthedocs
Issues and bug reports:
 On github
How to cite:Cokelaer T, Bansal M, Bare C et al. DREAMTools: a Python package for scoring collaborative challenges [version 1; referees: awaiting peer review] F1000Research 2015, 4:1030 (doi: 10.12688/f1000research.7118.1) F1000 link



DREAMTools aims at sharing code used in the scoring of DREAM challenges that pose fundamental questions about system biology and translational medicine.

The main goals of DREAMTools are to provide:

  1. Scoring functions equivalent to those used during past DREAM challenges for end-users via a standalone application (called dreamtools).
  2. A common place for developers involved in the DREAM challenges to share code

DREAMTools does not provide code related to aggregation, leaderboards, or more complex analysis even though such code may be provided (e.g., in D8C1 challenge).

Note that many scoring functions requires data hosted on Synapse . We therefore strongly encourage you to register to Synapse. Depending on the challenge, you may be requested to accept terms of agreements to use the data.


For those familiar with Python, you may use the pip executable provided with Python. It will installed the latest release and the dependencies:

pip install cython
pip install dreamtools

If you are not familiar with compilation and/or Python, you may use conda since we have pre-compiled packages with a conda channel called bioconda:

conda config --add channels r
conda config --add channels bioconda
conda install dreamtools

See Installation section for details.


Every DREAM challenge is different. We will not explain here the scientific goal but show how one could score its own prediction. Developers can you DREAMTools as a Python package:

>>> from dreamtools import D6C3
>>> s = D6C3()
>>> s.score(s.download_template())
{'results': chi2            53.980741
R-square        34.733565
Spearman(Sp)     0.646917
Pearson(Cp)      0.647516
dtype: float64}

Besides, a standalone application can be used from a terminal. The executable is called dreamtools. Here is an example:

dreamtools --challenge D6C3 --submission path_to_a_file

See User Guide for more details about the usage of the standalone application.

Available challenges, templates and gold standards

DREAMTools includes about 80% of DREAM challenges from DREAM2 to DREAM9.5 Please visit F1000 link (Table 1).

All gold standards and templates are retrieved automatically. Once downloaded, you can obtain the location of a gold standard or template as follows:

dreamtools --challenge D6C3 --download-gold-standard
dreamtools --challenge D6C3 --download-template