A converter from .bam to .png for specific genomic region.
Project description
BamSnap
BamSnap: a lightweight command-based visualization tool for sequencing reads in BAM files
For more details, see BamSnap Documentation.
Installation
Prerequisites
- python 3.4+
- Pillow (Python Imaging Library)
- pysam
- pyfaidx
- pytabix
Install with pip
pip install bamsnap
Install with github
git clone https://github.com/parklab/bamsnap
cd bamsnap
python setup.py install
Usage
Simple usage
$ bamsnap -bam test.bam -pos 1:7364529 -out test.png
For more details, see BamSnap Documentation.
Usage with docker
$ docker pull danielmsk/bamsnap
$ docker run --rm -it -v /local_directory_path:/directory_path_in_image danielmsk/bamsnap bamsnap \
-bam /directory_path_in_image/test.bam \
-pos 1:7364529 \
-out /directory_path_in_image/test.png
Example Use Case
- 1000 Genome Data: 1000 genomic loci in 2504 individuals
- BamSnap Plot Gallery
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
bamsnap-0.2.17.tar.gz
(20.9 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bamsnap-0.2.17-py3-none-any.whl
(20.9 MB
view details)
File details
Details for the file bamsnap-0.2.17.tar.gz.
File metadata
- Download URL: bamsnap-0.2.17.tar.gz
- Upload date:
- Size: 20.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b761d068a13eed99503e4e9d562b48e4535a72f1d2f5adb0f891f8a314433b0
|
|
| MD5 |
8c964be6de364c7a8e530b6c1bd3db8e
|
|
| BLAKE2b-256 |
59a9a24ba5ffc030d96d44c77b054f7c186259e2ce126a018fd9b13a74b973a5
|
File details
Details for the file bamsnap-0.2.17-py3-none-any.whl.
File metadata
- Download URL: bamsnap-0.2.17-py3-none-any.whl
- Upload date:
- Size: 20.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69b2207dec48498f9a5af047a6a0b21734e2b0c6384e1b925ed5ac063a71732e
|
|
| MD5 |
09a199ee5c0032611a2a692ac5d85727
|
|
| BLAKE2b-256 |
edb71f6b4550375c517ad7da4d9f941c08ad00a4c533cc88457aa0b2a3700591
|