Installation

Remember – pyGenomeTracks is available for command line usage as well as for integration into Galaxy servers!

Requirements

  • Python >=3.6

  • numpy >= 1.16

  • intervaltree >=2.1.0

  • pyBigWig >= 0.3.4

  • hicmatrix >= 0.14

  • pysam >= 0.8

  • matplotlib >= 3.1.1

  • gffutils >=0.9

The fastest way to obtain Python 3.6 together with numpy is via the Anaconda Scientific Python Distribution. Just download the version that’s suitable for your operating system and follow the directions for its installation. All of the requirements for pyGenomeTracks can be installed in Anaconda with:

$ conda install -c bioconda -c conda-forge pygenometracks

Command line installation using pip

Install pyGenomeTracks using the following command:

$ pip install pyGenomeTracks

All python requirements should be automatically installed.

If you need to specify a specific path for the installation of the tools, make use of pip install’s numerous options:

$ pip install --install-option="--prefix=/MyPath/Tools/pyGenomeTracks" git+https://github.com/deeptools/pyGenomeTracks.git

Command line installation without pip

You are highly recommended to use pip rather than these more complicated steps.

  1. Install the requirements listed above in the “requirements” section. This is done automatically by pip.

2. Download source code

$ git clone https://github.com/deeptools/pyGenomeTracks.git

or if you want a particular release, choose one from https://github.com/deeptools/pygenometracks/releases:

$ wget https://github.com/deeptools/pyGenomeTracks/archive/3.1.tar.gz
$ tar -xzvf

3. install the source code (if you don’t have root permission, you can set a specific folder using the --prefix option)

$ python setup.py install --prefix /User/Tools/pyGenomeTracks3.1

Galaxy installation

pyGenomeTracks can be easily integrated into a local Galaxy. The wrapper and its dependencies are available in the Galaxy Tool Shed.

Installation via web browser

  • go to the admin page

  • select Search and browse tool sheds

  • Galaxy tool shed –> Visualization –> pygenometracks

  • install pygenometracks