easy installation
The easiest and preferred way to install PyBamView is using pip:pip install pybamview
To use the "Export to PDF" feature or generate PDF snapshots using the
snapbam
tool, you will also need to install rsvg-convert:
sudo apt-get install librsvg2-bin
installing from source
requirements
First, make sure you have the required python packages installed: You can install these using easy_install:sudo easy_install Flask pyfasta pysam
getting the source code
Obtain the source code by either:- Downloading the tarball from github.
tar -xzvf mgymrek-pybamview-[version].tar.gz cd mgymrek-pybamview-[version]
- Cloning the git repository
git clone https://github.com/mgymrek/pybamview.git cd pybamview
building and installing
At the top of the PyBamView source directory, type:sudo python setup.py install
pybamview --help