Skip to main content

Tools for making plots of genomic datasets in a genome-browser-like format

Project description

![alt pygbrowse](https://raw.githubusercontent.com/phageghost/python-genome-browser/master/pygbrowse_logo_1_med_flat.png)

# python-genome-browser Tools for making plots of genomic datasets in a genome-browser-like format.

## What does it do?

The python genome browser, AKA pygbrowse, makes it easy to generate aligned plots of genomic data. This is similar to software such as the [Integrated Genome Viewer (IGV) from the Broad Institute](http://software.broadinstitute.org/software/igv/) or webserver-based public genome browsers such as the [UCSC genome browser](http://genome.ucsc.edu) or the [WashU Epigenome Browser](http://epigenomegateway.wustl.edu/).

## Typical use cases:

  1. Visualizing data inside a Jupyter notebook.

  2. Preparing figures for presentation or publication.

## Why not just use those tools you just mentioned?

For a couple of reasons:

  1. Speed and ease of use: The workflow for converting data to the appropriate formats, uploading the data to a remote webserver (or providing URLs for hosted data), then selecting the region to visualize and waiting for it to be rendered is slow and cumbersome with many manual interventions needed. Although APIs exist for some of these tools, creating a flexible end-to-end automated visualizer that takes arbitrary data and displays it on your screen would require quite a bit of custom scripting.

  2. Flexibility: Different genome browsers natively accept different subsets of the data types commonly used in genomics, and interconverting them is tedious. In some cases certain data types are not supported at all (e.g. long-range interactions such as HiC are not suported by the UCSC genome browser). Pygbrowse (will) natively support most of the most common data formats, removing one or more “data munging” operations from your workflow.

  3. Transparency: Current genome browsers have very specific requirements for the format of their input data, not all of which are as well-documented as we might like. In addition, very little feedback is provided regarding such errors, leading the user into a painful trial-and-error process in order to load their data. Pygbrowse strives to be more flexible in the format of its input data and to provide helpful feedback when problems do occur.

  4. Beauty: They say that beauty is in the eye of the beholder but to _this_ beholder the default outputs of the available genome browsers are aesthetically-lacking. They often require extensive manipulation in Adobe Illustrator or Ink to prepare them for publication or even to be legible in a presentation slide. Pygbrowse is designed from the ground up for generating static figures with proportions that can be easily scaled for common use cases.

## Wait, you’re calling this a genome browser but I can’t really browse around like I can with those other tools, can I?

Well, you _can_ browse, in a sense, by calling the visualizer with different sets of coordinates. But it’s not really designed for the kind of interactive, dynamic browsing experience provided by the other tools – as mentioned earlier it is optimzed for rendering static “browser snapshots”. That being said, however, we may add controls to provide interactive browser functionality when used inside a Jupyter notebook in a future version …

Logo makes use of clipart by Paula Washington at [AnimalsClipart.com](http://animalsclipart.com/pig-design/)

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

pygbrowse-0.3.3.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

pygbrowse-0.3.3-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file pygbrowse-0.3.3.tar.gz.

File metadata

  • Download URL: pygbrowse-0.3.3.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for pygbrowse-0.3.3.tar.gz
Algorithm Hash digest
SHA256 cd0db245da7d877428e24b6b016ff54a14f50bdd7d86005b35e90313aa699d55
MD5 2e4a6efa339fd2f1e789f63e91ad0fb3
BLAKE2b-256 5bea388149858231cf010176a1f207c3ad32525ebe7b2e2d63e151d864bb53cc

See more details on using hashes here.

File details

Details for the file pygbrowse-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pygbrowse-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for pygbrowse-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0505fb2813f6ba31ef7f4ef0a2ee85a4618a9b223f4f4a79e73757eb6894e786
MD5 2b78ed4ae30e529abe9956357c5f0fc5
BLAKE2b-256 7fc91cf0cf101bbaebc440e99ee096a5dee0ca74c9161ef53210ca8ab3f6b0db

See more details on using hashes here.

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