Metadata-Version: 2.1
Name: babachi
Version: 1.2.3
Summary: UNKNOWN
Home-page: https://github.com/autosome-ru/BABACHI
Author: Sergey Abramov, Alexandr Boytsov
Author-email: aswq22013@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.6
Requires-Dist: docopt (>=0.6.2)
Requires-Dist: numpy (>=1.18.0)
Requires-Dist: schema (>=0.7.2)
Requires-Dist: contextlib2 (>=0.5.5)
Requires-Dist: pandas (>=1.0.4)
Requires-Dist: matplotlib (>=3.2.1)
Requires-Dist: seaborn (>=0.10.1)
Provides-Extra: dev
Requires-Dist: wheel ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'
Requires-Dist: setuptools-scm ; extra == 'dev'

# BABACHI: Backgroud Allelic Dosage Bayesian Checkpoint Identification
BABACHI is a tool for constant Background Allelic Dosage (BAD) genome regions calling from
non-phased heterozygous SNPs. It is aimed at estimation of BAD on low-coverage sequencing data, where
the precise estimation of allelic copy numbers is not possible.

BAD corresponds to the ratio of Major copy number to Minor copy number.

BABACHI takes in a vcf-like .tsv file with heterozygous SNPs sorted by genome positions (ascending).
The input file must contain the following first 7 columns:
chromosome, position, ID, reference base, alternative base, reference read count, alternative read count
All lines, starting with # are ignored.

The output is a .bed file with BAD annotations.

## Installation

//to be uploaded on PyPI
temporary:
``` 
pip3 install git+ssh://git@github.com/autosome-ru/BABACHI
```

## Requirements
```
python >= 3.6
```

## Usage
```
babachi <options>...
python -m babachi <options>...
```
To get full usage description one can execute:
```
babachi --help
```

## Quick start
To perform a test run:
```
babachi --test
```


The BABACHI tool is maintained by Sergey Abramov and Alexandr Boytsov.


