Skip to main content

A converter from .bam to .png for specific genomic region.

Project description


BamSnap: a lightweight command-based visualization tool for sequencing reads in BAM files

For more details, see BamSnap Documentation.



Install with pip

pip install bamsnap

Install with github

git clone
cd bamsnap
python install


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bamsnap, version 0.2.17
Filename, size File type Python version Upload date Hashes
Filename, size bamsnap-0.2.17-py3-none-any.whl (20.9 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bamsnap-0.2.17.tar.gz (20.9 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page