@@ -31,6 +33,8 @@ And to run Omero servers, the basic arguments are shown:
...
@@ -31,6 +33,8 @@ And to run Omero servers, the basic arguments are shown:
The output is a folder with the original logfiles and a set of hdf5 files, one with the results of each multidimensional inside.
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)
@@ -62,7 +62,7 @@ For Windows, the simplest way to install it is using conda (or mamba). You can i
...
@@ -62,7 +62,7 @@ For Windows, the simplest way to install it is using conda (or mamba). You can i
$ \PATH\TO\POETRY\LOCATION\poetry install
$ \PATH\TO\POETRY\LOCATION\poetry install
- MacOS
- MacOS
Under work (See issue https://github.com/ome/omero-py/issues/317)
For local access and processing, follow the same instructions as Linux. Remote access to OMERO servers depends on some issues in one of our depedencies being solved (See issue https://github.com/ome/omero-py/issues/317)
### Git version
### Git version
...
@@ -71,9 +71,23 @@ Install [ poetry ](https://python-poetry.org/docs/#installation) for dependency
...
@@ -71,9 +71,23 @@ Install [ poetry ](https://python-poetry.org/docs/#installation) for dependency
In case you want to have local version:
In case you want to have local version:
$ git clone git@gitlab.com/aliby/aliby.git
$ git clone git@gitlab.com/aliby/aliby.git
$ cd aliby && poetry install --all-extras
$ cd aliby
and then either
This will automatically install the [ BABY ](https://gitlab.com/aliby/baby) segmentation software. Support for additional segmentation and tracking algorithms is under development.
$$ poetry install --all-extras
for everything, including tools to access OMERO servers, or
$$ poetry install
for a version with only local access, or
$$ poetry install --with dev
to install with compatible versions of the development tools we use, such as black.
These commands will automatically install the [ BABY ](https://gitlab.com/aliby/baby) segmentation software. Support for additional segmentation and tracking algorithms is under development.
You can run the analysis pipeline either via the command line interface (CLI) or using a script that incorporates the `aliby.pipeline.Pipeline` object.
## CLI
On a CLI, you can use the `aliby-run` command. This command takes options as follows:
-`--host`: Address of image-hosting server.
-`--username`: Username to access image-hosting server.
-`--password`: Password to access image-hosting server.
-`--expt_id`: Number ID of experiment stored on host server.
-`--distributed`: Number of distributed cores to use for segmentation and signal processing. If 0, there is no parallelisation.
-`--tps`: Optional. Number of time points from the beginning of the experiment to use. If not specified, the pipeline processes all time points.
-`--directory`: Optional. Parent directory to save the data files (HDF5) generated, `./data` by default; the files will be stored in a child directory whose name is the name of the experiment.
-`--filter`: Optional. List of positions to use for analysis. Alternatively, a regex (regular expression) or list of regexes to search for positions. **Note: for the CLI, currently it is not able to take a list of strings as input.**
-`--overwrite`: Optional. Whether to overwrite an existing data directory. True by default.
-`--override_meta`: Optional. Whether to overwrite an existing data directory. True by default.
And to run Omero servers, the basic arguments are shown:
```bash
aliby-run --expt_id XXX --host SERVER.ADDRESS --user USER --password PASSWORD
```
## Script
Use the `aliby.pipeline.Pipeline` object and supply a dictionary, following the example below. The meaning of the parameters are the same as described in the CLI section above.