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.19.tar.gz (20.9 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bamsnap-0.2.19.tar.gz.

File metadata

  • Download URL: bamsnap-0.2.19.tar.gz
  • Upload date:
  • Size: 20.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for bamsnap-0.2.19.tar.gz
Algorithm Hash digest
SHA256 fa35c8e53b21f70be5ce6108803d814079ca3225271f1dc3c4eb85dec9a051aa
MD5 a8f3e69897ecd2190828f00531c4b0aa
BLAKE2b-256 fbac58d073e5f90c32e559368cf81b3f551f6318988986a599fc466adc03e428

See more details on using hashes here.

File details

Details for the file bamsnap-0.2.19-py3-none-any.whl.

File metadata

  • Download URL: bamsnap-0.2.19-py3-none-any.whl
  • Upload date:
  • Size: 20.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for bamsnap-0.2.19-py3-none-any.whl
Algorithm Hash digest
SHA256 a7e6e6029da555ed86d64856777edc9737ebd76ebb126c27e990bde983d03282
MD5 2c4de6ce63cddfbfca4003e926b9526e
BLAKE2b-256 e92ef4361c54bc3ad0c7a5188241ae4c0eac9952e9b2e4bb811e9ef80edfecab

See more details on using hashes here.

Supported by

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