Metadata-Version: 2.1
Name: mibi-bin-tools
Version: 0.2.14
Summary: Source for extracting .bin files from the commercial MIBI.
Author-email: Angelo Lab <theangelolab@gmail.com>
License: Modified Apache License 2.0
Project-URL: repository, https://github.com/angelolab/mibi-bin-tools
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Cython>=3
Requires-Dist: matplotlib>=3
Requires-Dist: numpy>=1.25
Requires-Dist: pandas>=2
Requires-Dist: scikit-image>=0.19
Requires-Dist: alpineer>=0.1.9
Requires-Dist: xarray>=2023
Provides-Extra: test
Requires-Dist: coveralls[toml]; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cases; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-mock; extra == "test"
Requires-Dist: pytest-pycodestyle; extra == "test"

# mibi-bin-tools
<div align="center">

| | | 
| ---        |    ---  |
| CI / CD | [![CI](https://github.com/angelolab/mibi-bin-tools/actions/workflows/ci.yml/badge.svg)](https://github.com/angelolab/mibi-bin-tools/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/github/angelolab/mibi-bin-tools/badge.svg?branch=main)](https://coveralls.io/github/angelolab/mibi-bin-tools?branch=main) |
| Package | [![PyPI - Version](https://img.shields.io/pypi/v/mibi-bin-tools.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/mibi-bin-tools/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/mibi-bin-tools.svg?color=blue&label=Downloads&logo=pypi&logoColor=gold)](https://pypi.org/project/mibi-bin-tools/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mibi-bin-tools.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/mibi-bin-tools/) |
|Meta | [![PyPI - License](https://img.shields.io/pypi/l/mibi-bin-tools?color=9400d3)](LICENSE) |

</div>

Toolbox for extracting tiff images from MIBIScope `.bin` files.

We suggest using [`toffy`](https://github.com/angelolab/toffy) for more in depth `.bin` file extraction which also provides more diagnostic tools and post-extraction processing steps.

## Installation:

You can install the package in your own Python environment, or if you'd like we have a Conda environment set up to use.
```shell
conda env create -f environment.yml
```

### PyPI

```sh
pip install mibi-bin-tools
```

### Source
Open terminal and navigate to where you want the code stored.

Then input the command:

```sh
git clone https://github.com/angelolab/mibi-bin-tools.git
cd mibi-bin-tools
pip install .
``` 

## Development

This project is in early development and we make may make breaking changes and improvements. If you want to update the version on your computer to have the latest changes, perform the following steps.

First pull to get the latest version of `mibi-bin-tools`. Then install the package in editable mode with your python environment of choice activated.

```sh
git pull
pip install -e .
```

To run the tests

```sh
pytest
```

## Questions?

If that doesn't answer your question, you can open an [issue](https://github.com/angelolab/mibi-bin-tools/issues). Before opening, please double-check and see that someone else hasn't opened an issue for your question already. 
