Giter Site home page Giter Site logo

covbamic's Introduction

covbamic

requirements

This tool has been tested with

python >= 3.9 pysam >= 0.17.0

Installation

git clone https://github.com/mjsull/covbamic.git

Usage

python covbamic/covbamic.py -b sars_bam_file.primertrimmed.rg.sorted.bam -o output.svg -1 BA.4 -2 BA.5

Where sars_bam_file.primertrimmed.rg.sorted.bam is a sorted and indexed bam file.

options

required

  -o OUTPUT, --output OUTPUT
                        output svg file
  -b BAM_FILE, --bam_file BAM_FILE
                        sorted and indexed bam file
  -1 VARIANT_1, --variant_1 VARIANT_1
                        variant 1 (BA.2, BA.4 or BA.5)
  -2 VARIANT_2, --variant_2 VARIANT_2
                        variant 2 (BA.2, BA.4 or BA.5)


optional

  -h, --help            show this help message and exit

  -a, --all             List all sites different from reference (as opposed to only sites that differ between the two variants selected).
  -m, --all_minor       List all sites where the minor allele reaches defined threshold.
  -f MINOR_FRACTION, --minor_fraction MINOR_FRACTION
                        Fraction of reads with minor allele to report (when -m set)
  -d MINOR_DEPTH, --minor_depth MINOR_DEPTH
                        minimum depth to report minor allele site (when -m set)
  -p3, --panel3         Draw panel 3.

Example output

covbamic

covbamic's People

Contributors

mjsull avatar

Stargazers

Wytamma Wirth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.