Metadata-Version: 2.1
Name: pycallingcards
Version: 0.0.6
Summary: "Calling cards data analysis in Python."
Home-page: https://github.com/The-Mitra-Lab/pycallingcards
Author: "The-Mitra-Lab"
Author-email: "rmitra@wustl.edu"
License: BSD 3-Clause License
Platform: any
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

## Pycallingcards

[![](https://readthedocs.org/projects/pycallingcards/badge/?version=latest)](https://pycallingcards.readthedocs.io/en/latest/)

<p align="center">
    <img src="./docs/_static/logo.png", width="350">
</p>

**Pycallingcards** is a package for calling cards data analysis developed and maintained by [Mitra Lab](http://genetics.wustl.edu/rmlab/) at Washington University in St. Louis.

Calling cards is a sequencing technology to assay TF binding which could be done in vitro and in vivo at both bulk and single-cell level. To know more about calling cards technology, please check [Moudgil et al](https://www.sciencedirect.com/science/article/pii/S009286742030814X?via%3Dihub) and [Wang et al](http://genetics.wustl.edu/rmlab/files/2012/09/Calling-Cards-for-DNA-binding.pdf).


Pycallingcards is composed of five different part: datasets, reading (rd), preprocessing (pp), tools (tl) and plotting (pl).
For single-cell calling cards anaysis, Pycallingcards interacts with [Scanpy](https://scanpy.readthedocs.io/en/stable/) and the main structure of Pycallingcards also follows the Scanpy.

- **Datasets** contains four main published datasets for callingcards data.
- **Reading (rd)** includes several functions to read and save qbed and peak data.
- **Preprocessing (pp)** helps to preprocess data from qbed data to call peaks, make annotation, make Anndata object and filter peaks.
- **Tools (tl)** calls motif of the peaks, completes differential peaks and pair differential peaks with gene expression,
- **Plotting (pl)** proveides an allround plottting system. It could plot genome areas, link with [WashU Epigenome Browser](http://epigenomegateway.wustl.edu/browser/), show signal comparison with Chip-seq(BigWig file), display differential peaks, demonstrate potenial binding-gene expression relationships.


## Documentation.

Please check [**here**](https://pycallingcards.readthedocs.io/en/latest/) for detailed documentation.

## Installation

```shell
pip install "git+https://github.com/The-Mitra-Lab/pycallingcards.git" --upgrade
```

## Development

Use pre-commit to format code at `git commit`.

```shell
pip install pre-commit
pre-commit install
```

## Cite

```bibtex
@software{pycallingcards_python,
  author = {Guo, Juanru and Mitra, Robi},
  month = {2},
  year = {2023},
  title = {Pycallingcards: Calling Cards Data Analysis in Python},
  url = {https://github.com/The-Mitra-Lab/pycallingcards},
  version = {0.0.6},
}
```
