Skip to main content

![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/)

Metadata

Release files for pygbrowse 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygbrowse 0.3.3
File Size Uploaded
pygbrowse-0.3.3.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygbrowse 0.3.3
File Interpreter ABI Platform
pygbrowse-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 42.9 kB

Release files / pygbrowse-0.3.3.tar.gz

Download URL pygbrowse-0.3.3.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cd0db245da7d877428e24b6b016ff54a14f50bdd7d86005b35e90313aa699d55
BLAKE2b-256 checksum
How to use checksums
5bea388149858231cf010176a1f207c3ad32525ebe7b2e2d63e151d864bb53cc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pygbrowse-0.3.3-py3-none-any.whl

Download URL pygbrowse-0.3.3-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0505fb2813f6ba31ef7f4ef0a2ee85a4618a9b223f4f4a79e73757eb6894e786
BLAKE2b-256 checksum
How to use checksums
7fc91cf0cf101bbaebc440e99ee096a5dee0ca74c9161ef53210ca8ab3f6b0db
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page