Skip to content

shengqh/bamsnap

This branch is 24 commits ahead of, 4 commits behind parklab/bamsnap:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 16, 2022
9e9c4bf · Jun 16, 2022

History

89 Commits
Jun 16, 2022
Dec 3, 2020
Jan 21, 2022
Jan 21, 2022
Sep 15, 2020
Jun 4, 2018
Apr 24, 2019
Aug 25, 2021
Jan 10, 2020
Mar 1, 2021
Jan 21, 2022

Repository files navigation

BamSnap

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

For more details, see BamSnap Documentation.

Modification

I updated the code to compatible with CIGAR string with tag 3 (skipped region from the reference). I also upload corresponding docker image to dockerhub.

Installation

Prerequisites

Install with github

git clone https://github.com/shengqh/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 shengqh/cqs_bamsnap
$ docker run --rm -it -v /local_directory_path:/directory_path_in_image shengqh/cqs_bamsnap bamsnap \
    -bam /directory_path_in_image/test.bam \
    -pos 1:7364529 \
    -out /directory_path_in_image/test.png

Example Use Case

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 52.9%
  • Python 46.5%
  • Other 0.6%