-
Notifications
You must be signed in to change notification settings - Fork 215
Technical documentation
HOME > deepTools Technical Documentation
Basic options and parameters of deepTools
More detailed information about the individual programs:
Installation --------------- [Installation from source](#linux) ### 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
Commands:
$ 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
Done.
Another option is to clone the repository:
$ git clone https://github.com/fidelram/deepTools
Then go to the deepTools directory, edit the deepTools.cfg
file and then run the install script a:
$ cd deepTools
$ vim config/deepTools.cfg
$ python setup.py 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 script.
$ python setup.py --help
To install under a specific location use:
$ python setup.py install --prefix <target directory>
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 is to install them is together with the Anaconda Scientific Python Distribution. After installation, open a terminal ("Applications" --> "Terminal"): and type:
$ pip install deeptools
In case the individual installation of the dependencies is prefered follow the next steps:
Requirement: Python 2.7 installed
Download the packages and install them using dmg images:
- http://sourceforge.net/projects/numpy/files/NumPy/
- http://sourceforge.net/projects/scipy/files/scipy/
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
$ wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
or the user-specific way:
$ wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
$ python ez_setup.py --user
Numpy/Scipy Installation: http://www.scipy.org/install.html
#### Galaxy InstallationdeepTools can be easily integrated into Galaxy. All wrappers and dependencies are available in the Galaxy Tool Shed.
At first generate an API Key for your admin user and run the the installation script:
python ./scripts/api/install_tool_shed_repositories.py --api YOUR_API_KEY -l http://localhost:8080 --url http://toolshed.g2.bx.psu.edu/ -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 http://toolshed.g2.bx.psu.edu/view/bgruening/deeptools
You can watch the installation status under: Top Panel → Admin → Manage installed tool shed repositories
- go to the admin page
- select Search and browse tool sheds
- Galaxy tool shed → Sequence Analysis → deeptools
- install deeptools
remember: for support, questions, or feature requests contact: [email protected]
General information about deepTools usage ---------------------------------------------------------All tools require the user to specify input files, output file names, optional and mandatory parameters.
Here we point out some parameters that you might find especially useful in your regular usage of deepTools.
- numberOfProcessors
- region - in case you're testing whether a certain plot works and gives you the output you're hoping for, you can speed things up by focusing on a certain genome region, e.g. chr4 or chr2:100000200000
- ignoreDuplicates
- minMappingQuality
- output format of plots should be indicted by the file ending, e.g. MyPlot.pdf will return a pdf, MyPlot.png a png-file
- all tools that produce plots can also output the underlying data - this can be useful in case you don’t like the deepTools visualization as you can then use the data matrices produced by deepTools with your favourite plotting module, e.g. R or Excel
This tool suite is developed by the Bioinformatics Facility at the Max Planck Institute for Immunobiology and Epigenetics, Freiburg.
deepTools is developed by the Bioinformatics Facility at the Max Planck Institute for Immunobiology and Epigenetics, Freiburg. For troubleshooting, see our FAQ and get in touch: [email protected]
Wiki Start Page | Code | deepTools Galaxy | FAQ | Glossary | Gallery |