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

Uploaded Source

Built Distribution

bamsnap_cgap-0.3.0-py3-none-any.whl (20.9 MB view details)

Uploaded Python 3

File details

Details for the file bamsnap-cgap-0.3.0.tar.gz.

File metadata

  • Download URL: bamsnap-cgap-0.3.0.tar.gz
  • Upload date:
  • Size: 20.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for bamsnap-cgap-0.3.0.tar.gz
Algorithm Hash digest
SHA256 eb1901ad90de7cfcba1abbaa4c79e8437dc71ddd89c28d326ce11fac9cb14124
MD5 f9c3265dec4054736531c1ed724f1ca7
BLAKE2b-256 e5d081be6eb9acc0721b5f0d1b3df360c57f3e648445f98c5744823016e45d0e

See more details on using hashes here.

File details

Details for the file bamsnap_cgap-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: bamsnap_cgap-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for bamsnap_cgap-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00c9c6f02df847bae3d2d84eddb107101a07ff1dece2215145552c4ae765e386
MD5 aa08c6d0a943e3d3429670f85286c2b3
BLAKE2b-256 043bf03803b68a1b1f85334716c2668654bdbd698d6405635c8514101ff990bb

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