Giter VIP home page Giter VIP logo

apobec's Introduction

apobec

apobec contains two in-house scripts that are used for NGS data analysis by HBV crispr/cas9 research group.

Installation

pip install apobec

Usage

apobec is intended to be used in Jupyter Notebook. Create folder named input_data and put your fastas into it. Navigate into the directory which contains the input_data folder. Then import the package :

import apobec

and run :

%run -m apobec.count_snp_duplex
%run -m apobec.create_bars
%run -m apobec.snp_rate

Description

The scripts take fasta alignment as an input. The input file is the result of deep sequencing reads mapping onto the reference sequence and is imported from the Geneious software.

count_snp_duplex.py counts mutations in dinucleotide duplex context.

create_bars.py outputs summary bar charts : bars

count_snp_duplex.py outputs excel spreadsheets to further manipulate the data : bars

bars

bars

snp_rate.py counts mutations in each read.

It outputs a distribution plot: dist

and also raw count and summary statistics in excel spreadsheets: sum_stat

Requirements

  • Python 3
  • biopython
  • matplotlib
  • numpy
  • pandas
  • seaborn

apobec's People

Contributors

babinyurii avatar

Stargazers

 avatar  avatar

Forkers

kmag09

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.