Skip to main content

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

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

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bamsnap-0.2.17-py3-none-any.whl (20.9 MB view details)

Uploaded Python 3

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

Hashes for bamsnap-0.2.17.tar.gz
Algorithm Hash digest
SHA256 2b761d068a13eed99503e4e9d562b48e4535a72f1d2f5adb0f891f8a314433b0
MD5 8c964be6de364c7a8e530b6c1bd3db8e
BLAKE2b-256 59a9a24ba5ffc030d96d44c77b054f7c186259e2ce126a018fd9b13a74b973a5

See more details on using hashes here.

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

Hashes for bamsnap-0.2.17-py3-none-any.whl
Algorithm Hash digest
SHA256 69b2207dec48498f9a5af047a6a0b21734e2b0c6384e1b925ed5ac063a71732e
MD5 09a199ee5c0032611a2a692ac5d85727
BLAKE2b-256 edb71f6b4550375c517ad7da4d9f941c08ad00a4c533cc88457aa0b2a3700591

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page