raw2tmap
Convert OME-Zarr files to TMAP format
Requirements
Python 3.9 or later
Installation
Use the package manager pip to install raw2tmap:
pip install raw2tmap
To enable the --dzi option, install with the dzi extra (requires libvips):
pip install "raw2tmap[dzi]"
Usage
To convert an OME-Zarr file to TMAP format:
❯ raw2tmap --help
Usage: raw2tmap [OPTIONS] RAW_FILE_OR_URL TMAP_FILE
Convert OME-Zarr files to TMAP format.
Options:
-t, --time INTEGER RANGE Time index. [x>=0]
-c, --channel INTEGER/TEXT Channel index or name.
-z, --depth INTEGER RANGE Depth (z) index. [x>=0]
--layers DIRECTORY Path to layer images, relative to TMAP_FILE.
Defaults to '.{TMAP_FILE}/layers'.
--compression ALGORITHM Compression algorithm. [default: none]
--tilesize INTEGER RANGE Tile size in pixels. [default: 256; x>0]
--format [0.1|0.2|0.3|0.4] OME-Zarr format version. [default: 0.4]
--dzi Write DZI file (requires pyvips).
-q, --quiet Quiet mode (hide progress bar).
--version Show the version and exit.
--help Show this message and exit.
Example:
raw2tmap -t 0 -z 10 https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0052A/5514375.zarr 5514375.tmap
OME-Zarr files can for example be created using bioformats2raw.
Support
If you find a bug, please raise an issue.
Contributing
Pull requests are welcome.
For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Changelog
Authors
SciLifeLab BioImage Informatics Facility (BIIF)
License
Metadata
Release files for raw2tmap 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| raw2tmap-0.2.0.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| raw2tmap-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / raw2tmap-0.2.0.tar.gz
| Download URL | raw2tmap-0.2.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b538377b9d3b4c0b86248c2e3f7708a9f9de44a725e4ae6c83ba5f9a0f3138c
|
|
BLAKE2b-256 checksum How to use checksums |
e751bac725f5f9b2f2e2acfa15188518eb6be034eb1e29635049fb217ce34c34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / raw2tmap-0.2.0-py3-none-any.whl
| Download URL | raw2tmap-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfea146361825285de71cc67e929868fda01e81836da35ba6fd2b2ac2048f349
|
|
BLAKE2b-256 checksum How to use checksums |
9109b47820c15dc7324154807e66c3393cb4988433d8061eba66c10075f62ca8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|