End-to-end processing of cell microscopy time-lapses. ALIBY automates segmentation, tracking, lineage predictions and post-processing.
End-to-end processing of cell microscopy time-lapses. ALIBY automates segmentation, tracking, lineage predictions, post-processing and report production. It leverages the existing Python ecosystem and open-source scientific software available to produce seamless and standardised pipelines.
## Installation
## Quickstart Documentation
Installation of [VS Studio](https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2022) Native MacOS support for is under work, but you can use containers (e.g., Docker, Podman) in the meantime.
We recommend installing both ALIBY and WELA.
To analyse local data
```bash
pip install aliby
```
Add any of the optional flags `omero` and `utils` (e.g., `pip install aliby[omero, utils]`). `omero` provides tools to connect with an OMERO server and `utils` provides visualisation, user interface and additional deep learning tools.
See our [installation instructions](https://aliby.readthedocs.io/en/latest/INSTALL.html) for more details.
### CLI
To begin you should install [miniconda](https://docs.anaconda.com/free/miniconda/index.html) and [poetry](https://python-poetry.org).
If installed via poetry, you have access to a Command Line Interface (CLI)
And to run Omero servers, the basic arguments are shown:
```bash
aliby-run --expt_id XXX --host SERVER.ADDRESS --user USER --password PASSWORD
```bash
poetry config virtualenvs.create false
```
The output is a folder with the original logfiles and a set of hdf5 files, one with the results of each multidimensional inside.
For more information, including available options, see the page on [running the analysis pipeline](https://aliby.readthedocs.io/en/latest/PIPELINE.html)
so that only conda creates virtual environments.
## Using specific components
Then
### Access raw data
- Create and activate an alibylite virtual environment
ALIBY's tooling can also be used as an interface to OMERO servers, for example, to fetch a brightfield channel.
# tps timepoints, Brightfield channel, z=2, all x,y
```
```bash
conda create -n alibylite python=3.10
conda activate alibylite
```
### Tiling the raw data
- Git clone alibylite, change to the alibylite directory, and use poetry to install:
A `Tiler` object performs trap registration. It may be built in different ways but the simplest one is using an image and a the default parameters set.
- Git clone wela, change to the wela directory, and use poetry to install:
The initialisation should take a few seconds, as it needs to align the images
in time.
```bash
poetry install
```
It fetches the metadata from the Image object, and uses the TilerParameters values (all Processes in aliby depend on an associated Parameters class, which is in essence a dictionary turned into a class.)
- Use pip to install your usual Python working environment. For example:
#### Get a timelapse for a given tile (remote connection)