Skip to main content

Set of programs to process, analyze and visualize Hi-C data

Project description

Standalone program and library to plot beautiful genome browser tracks

pyGenomeTracks aims to produce high-quality genome browser tracks that are highly customizable. Currently, it is possible to plot:

  • bigwig

  • bed (many options)

  • bedgraph

  • links (represented as arcs)

![pyGenomeTracks example](https://github.com/maxplanck-ie/pyGenomeTracks/raw/master/pygenometracks/tests/test_data/master_plot.png)

The configuration file for this image is [here](https://github.com/maxplanck-ie/pyGenomeTracks/blob/master/pygenometracks/tests/test_data/browser_tracks.ini)

Installation

Currently, the best way to install pyGenomeTracks is

`bash $ pip install git+https://github.com/maxplanck-ie/pyGenomeTracks.git `

Usage

To run pyGenomeTracks a configuration file describing the tracks is required. The easiest way to create this file is using make_tracks_file which setups up a file with defaults that can be easily changed. The format is:

`bash $ make_tracks_file --trackFiles <file1.bed> <file2.bw> ... -o tracks.ini `

make_tracks_file uses the file ending to guess the file type.

Then, a region can be plotted using:

`bash $ pyGenomeTracks --tracks tracks.ini --region chr2:10,000,000-11,000,000 -o nice_image.pdf `

pyGenomeTracks is used by [HiCExporer](https://hicexplorer.readthedocs.io/) and [HiCBrowser](https://github.com/maxplanck-ie/HiCBrowser) (See e.g. [Chorogenome navigator](http://chorogenome.ie-freiburg.mpg.de/) which is made with HiCBrowser)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyGenomeTracks-0.1.tar.gz (24.3 kB view details)

Uploaded Source

File details

Details for the file pyGenomeTracks-0.1.tar.gz.

File metadata

File hashes

Hashes for pyGenomeTracks-0.1.tar.gz
Algorithm Hash digest
SHA256 59c4f702857b7417d3a975ecb4dd3ddad0dc5626ca164cfe666fef76ad8406b0
MD5 e1cbbdbf94b8739c0ec97742917d9940
BLAKE2b-256 13c2127db70f7cccfd4e44d888822c508a58df5152e837f520e9ee4c8e9be659

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page