Metadata-Version: 2.1
Name: bento-tools
Version: 1.0.1
Summary: A toolkit for subcellular analysis of spatial transcriptomics data
License: MIT
Author: Clarence Mah
Author-email: ckmah@ucsd.edu
Requires-Python: >=3.8,<3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Provides-Extra: docs
Provides-Extra: torch
Requires-Dist: Shapely (>=1.8.2,<2.0.0)
Requires-Dist: Sphinx (>=4.1.2,<5.0.0); extra == "docs"
Requires-Dist: UpSetPlot (>=0.6.1,<0.7.0)
Requires-Dist: anndata (>=0.7.6,<0.8.0)
Requires-Dist: astropy (>=5.0,<6.0)
Requires-Dist: cell2cell (>=0.5.10,<0.6.0)
Requires-Dist: dask-geopandas (>=0.1.3,<0.2.0)
Requires-Dist: emoji (>=1.7.0,<2.0.0)
Requires-Dist: geopandas (>=0.10.0,<0.11.0)
Requires-Dist: matplotlib (>=3.2,<4.0)
Requires-Dist: matplotlib-scalebar (>=0.8.1,<0.9.0)
Requires-Dist: myst-parser (>=0.18.0,<0.19.0); extra == "docs"
Requires-Dist: nbsphinx (>=0.8.9,<0.9.0); extra == "docs"
Requires-Dist: numba (>=0.55.2,<0.56.0)
Requires-Dist: pandas (<=1.2.5)
Requires-Dist: pygeos (>=0.12.0,<0.13.0)
Requires-Dist: scanpy (>=1.9.1,<2.0.0)
Requires-Dist: scipy (>=1.7.0,<2.0.0)
Requires-Dist: seaborn (>=0.11.0,<0.12.0)
Requires-Dist: sphinx-autobuild (>=2021.3.14,<2022.0.0); extra == "docs"
Requires-Dist: sphinx-book-theme (>=0.3.2,<0.4.0); extra == "docs"
Requires-Dist: sphinx-gallery (>=0.10.1,<0.11.0); extra == "docs"
Requires-Dist: statsmodels (>=0.13.2,<0.14.0)
Requires-Dist: torch (>=1.9.0,<2.0.0); extra == "torch"
Requires-Dist: tqdm (>=4.64.0,<5.0.0)
Requires-Dist: xgboost (==1.4.0)
Description-Content-Type: text/markdown

[![PyPI version](https://badge.fury.io/py/bento-tools.svg)](https://badge.fury.io/py/bento-tools)
[![codecov](https://codecov.io/gh/ckmah/bento-tools/branch/master/graph/badge.svg?token=XVHDKNDCDT)](https://codecov.io/gh/ckmah/bento-tools)
[![Documentation Status](https://readthedocs.org/projects/bento-tools/badge/?version=latest)](https://bento-tools.readthedocs.io/en/latest/?badge=latest)
![PyPI - Downloads](https://img.shields.io/pypi/dm/bento-tools)
[![GitHub stars](https://badgen.net/github/stars/ckmah/bento-tools)](https://GitHub.com/Naereen/ckmah/bento-tools) 


<img src="docs/source/_static/bento-name.png" alt="Bento Logo" width=350>

Bento is a Python toolkit for performing subcellular analysis of spatial transcriptomics data.

# Get started
Install with Python 3.8 or 3.9:
```bash
pip install bento-tools
```

Check out the [documentation](https://bento-tools.readthedocs.io/en/latest/) for the installation guide, tutorials, API and more! Read and cite [our preprint](https://doi.org/10.1101/2022.06.10.495510) if you use Bento in your work.


# Main Features

<img src="docs/source/_static/tutorial_img/bento_workflow.png" alt="Bento Analysis Workflow" width=800>


- Store molecular coordinates and segmentation masks
- Visualize spatial transcriptomics data at subcellular resolution
- Compute subcellular spatial features
- Predict localization patterns and signatures
- Factor decomposition for high-dimensional spatial feature sets

---
[![GitHub license](https://img.shields.io/github/license/ckmah/bento-tools.svg)](https://github.com/ckmah/bento-tools/blob/master/LICENSE)

