bdgenomics.mango.pileup
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bdgenomics.mango.pileup-0.0.6a1.tar.gz
.
File metadata
- Download URL: bdgenomics.mango.pileup-0.0.6a1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
343425ea730ec7587ca0a252e2777e739a0abeee4b7fc7eac59d9dc86c40b5f6
|
|
MD5 |
e7e6463dbd7eee60b2f519c9c0c76d19
|
|
BLAKE2b-256 |
057d9f09a217de9d905c95ace6d4b33e95e73a5dcbf458c5b73e6c22e3bcf8ab
|