Metadata-Version: 2.1
Name: bioat
Version: 0.1.5.0
Summary: Bioinformatic toolkit with python (It's still under development!)
Home-page: https://github.com/hermanzhaozzzz/BioinformaticAnalysisTools
License: MIT
Author: Herman Zhao
Author-email: hermanzhaozzzz@gmail.com
Requires-Python: >=3.9.6,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: biopython (>=1.81,<2.0)
Requires-Dist: cython (>=0.29.33,<0.30.0)
Requires-Dist: fire (>=0.5.0,<0.6.0)
Requires-Dist: matplotlib (>=3.7.1,<4.0.0)
Requires-Dist: numpy (>=1.24.1,<2.0.0)
Requires-Dist: pandarallel (>=1.6.4,<2.0.0)
Requires-Dist: pandas (>=1.5.3,<2.0.0)
Requires-Dist: pysam (>=0.20.0,<0.21.0)
Requires-Dist: tqdm (>=4.64.1,<5.0.0)
Project-URL: Repository, https://github.com/hermanzhaozzzz/BioinformaticAnalysisTools
Description-Content-Type: text/markdown

# BioinformaticAnalysisTools

## Introduction
A python command line toolkit for Bioinformatics and data science!

\<under development\>

- Author: Hua-nan ZHAO @Tsinghua University
- E-Mail: hermanzhaozzzz@gmail.com

## Installation
```shell
pip install --upgrade bioat
```


## usage
```shell
# list commands
bioat list
# check version
bioat version
# check information about bioat
bioat about

# example usage
bioat bam remove_clip --help
samtools view -h test_sorted_n.bam | bioat bam remove_clip | tail
```

## known trouble
- You should run bioat in a rosetta env while using Apple M Silicon-Arm64 (M1/M2) 
    because that one dependent package [`pysam`](https://github.com/pysam-developers/pysam)
    do not support this platform now. See below to use a rosetta env created by conda.
```shell
# create rosetta env
CONDA_SUBDIR=osx-64 conda create -n rosetta python
conda activate rosetta
# in rosetta env
python -c "import platform;print(platform.machine())"  # should print “x86_64”
conda env config vars set CONDA_SUBDIR=osx-64
conda deactivate      # need reactivate rosetta env to enable this var
conda activate rosetta
# now you can do this in this env
pip install --upgrade bioat
bioat version
```

