Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Useful library to deal with mapped reads in sorted BAM format.

Project Description
### user-friendly tools for the normalization and visualization of deep-sequencing data

deepTools addresses the challenge of handling the large amounts of data
that are now routinely generated from DNA sequencing centers. To do so, deepTools contains useful modules to process the mapped reads data to create coverage files in standard bedGraph and bigWig file formats. By doing so, deepTools allows the creation of **normalized coverage files** or the comparison between two files (for example, treatment and control). Finally, using such normalized and standardized files, multiple
**visualizations** can be created to identify enrichments with
functional annotations of the genome. For a gallery of images that
can be produced, see

For support, questions, or feature requests contact:


Our [wiki page]( contains more information on **why we built deepTools**, details on the **individual tool scopes and usages** and an introduction to our deepTools Galaxy web server. It also contains an [FAQ section](FAQ) that we update regularly. For more specific troubleshooting, feedback, and tool suggestions, contact us via


<a name="installation"/></a>

deepTools are available for:

* command line usage
* integration into Galaxy servers

Details on the installation routines can be found here.

[Installation from source](#linux)

[Installation on a Mac](#mac)


[Galaxy installation](#galaxy)

<a name="linux"/></a>
### Installation from source (Linux, command line)

The easiest way to install deepTools is by __downloading the source file and using python pip__ or easy_install tools:

Requirements: Python 2.7, numpy, scipy installed


$ cd ~
$ export PYTHONPATH=$PYTHONPATH:~/lib/python2.7/site-packages
$ export PATH=$PATH:~/bin:~/.local/bin

If pip is not already available, install with:

$ easy_install --prefix=~ pip

Install deepTools and dependencies with pip:

$ pip install --user deeptools

__Another option is to clone the repository:__

$ git clone

Then go to the deepTools directory, edit the `deepTools.cfg`
file and then run the install script a:

$ cd deepTools
$ vim deeptools/config/deepTools.cfg
$ python install

By default, the script will install python library and executable
codes globally, which means you need to be root or administrator of
the machine to complete the installation. If you need to
provide a nonstandard install prefix, or any other nonstandard
options, you can provide many command line options to the install

$ python --help

To install under a specific location use:

$ python install --prefix <target directory>

<a name="mac"></a>
### Installation on a MAC

Although the installation of deepTools itself is quite simple,
the installation of the required modules SciPy and NumPy demand
a bit of extra work.

The easiest way to install them ois together with the
[Anaconda Scientific Python Distribution][]. After installation, open
a terminal ("Applications" --> "Terminal"): and type:

$ pip install deeptools

If individual installation of the dependencies is preferred, follow
those steps:

Requirement: Python 2.7 installed

Download the packages and install them using dmg images:

Then install deepTools via the terminal ("Applications" --> "Terminal"):

$ cd ~
$ export PYTHONPATH=$PYTHONPATH:~/lib/python2.7/site-packages
$ export PATH=$PATH:~/bin:~/.local/bin:~/Library/Python/2.7/bin

If pip is not already available, install with:

$ easy_install --prefix=~ pip

Install deepTools and dependencies with pip:

$ pip install --user deeptools

<a name="trouble"/></a>
##### Troubleshooting
The easy_install command is provided by the python package setuptools.
You can download the package from

$ wget -O - | python

or the user-specific way:

$ wget
$ python --user

Numpy/Scipy Installation:

<a name="galaxy"/></a>
#### Galaxy Installation

deepTools can be easily integrated into [Galaxy]( All wrappers and dependencies are
available in the [Galaxy Tool Shed](

##### Installation via Galaxy API (recommended)

At first generate an [API Key]( for your admin
user and run the the installation script:

python ./scripts/api/ --api YOUR_API_KEY -l http://localhost:8080 --url -o bgruening -r <revision> --name deeptools --tool-deps --repository-deps --panel-section-name deepTools

The -r argument specifies the version of deepTools. You can get the latest revsion number from the test tool shed or with the following command:

hg identify

You can watch the installation status under: Top Panel → Admin → Manage installed tool shed repositories

##### Installation via webbrowser

- go to the [admin page](http://localhost:8080/admin)
- select *Search and browse tool sheds*
- Galaxy tool shed → Sequence Analysis → deeptools
- install deeptools

remember: for support, questions, or feature requests contact:

[BAM]: "binary version of a SAM file; contains all information about aligned reads"
[SAM]: "text file containing all information about aligned reads"
[bigWig]: "binary version of a bedGraph file; contains genomic intervals and corresponding scores, e.g. average read numbers per 50 bp"
[bedGraph]: "text file that contains genomic intervals and corresponding scores, e.g. average read numbers per 50 bp"
[FASTQ]: "text file of raw reads (almost straight out of the sequencer)"


[Benjamini and Speed]: "Nucleic Acids Research (2012)"
[Diaz et al.]: "Stat. Appl. Gen. Mol. Biol. (2012)"
[Anaconda Scientific Python Distribution]:

This tool suite is developed by the [Bioinformatics Facility]( at the [Max Planck Institute for Immunobiology and Epigenetics, Freiburg](

[Wiki Start Page]( | [deepTools Galaxy]( | [FAQ](
Release History

Release History

This version
History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting