This release is a pre-release and may not be stable for production use.
bdgenomics.mango.pileup
bdgenomics.mango.pileup is a Jupyter widget that allows users to view genomic reads, variants and features in a Jupyter notebook or in Jupyter lab version >2.0. bdgenomics.mango.pileup builds off of pileup.js.
Installation
from pip:
$ pip install bdgenomics.mango.pileup
Enable widgets for Jupyter notebook:
$ jupyter nbextension enable --py --sys-prefix bdgenomics.mango.pileup # can be skipped for notebook version 5.3 and above
Install widgets for jupyter lab:
$ jupyter labextension install bdgenomics.mango.pileup
Running Examples
$ First run installation, explained above.
$ cd examples
$ jupyter notebook
Or run in Jupyter lab:
$ jupyter lab
from Source:
For a development installation (requires npm (version >= 3.8) and node (version >= 4.0)):
$ git clone https://github.com/bdgenomics/mango
$ cd mango-pileup
$ rm -r bdgenomics/mango/pileup/static
Install bdgenomics.mango.pileup:
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix bdgenomics.mango.pileup
$ jupyter nbextension enable --py --sys-prefix bdgenomics.mango.pileup]
Note for developers: the --symlink argument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.
To install the JupyterLab extension, install the Package, the Jupyter widgets extension, and the bdgenomics.mango.pileup extension:
$ pip install -e .
$ cd bdgenomics/mango/js/
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager # install the Jupyter widgets extension
$ jupyter labextension install .
Testing:
mango-pileup has a Makefile with a test command to run tests for python and javascript:
$ make test
Metadata
Release files for bdgenomics.mango.pileup 0.0.6a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bdgenomics.mango.pileup-0.0.6a1.tar.gz | 1.1 MB | Details |
Release files / bdgenomics.mango.pileup-0.0.6a1.tar.gz
| Download URL | bdgenomics.mango.pileup-0.0.6a1.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
343425ea730ec7587ca0a252e2777e739a0abeee4b7fc7eac59d9dc86c40b5f6
|
|
BLAKE2b-256 checksum How to use checksums |
057d9f09a217de9d905c95ace6d4b33e95e73a5dcbf458c5b73e6c22e3bcf8ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3
|