Digital pathology storage manager for WSI scans
Project description
Bellatrix Storage
Organizing whole slide image scans (one of the main data sources in digital pathology) by automatically creating a storage and keeping track of new data via an sqlite database.
This database is particularly helpful when querying specific slides for downstream tasks
via our custom digital pathology API bellapi.
Installation
The source code is currently hosted under https://github.com/spang-lab/bellastore.
Binary installers are available at PyPi.
pip install bellastore
Usage
Installing the package will automatically install the binaries for the two main scripts.
bellastore-insertinserts new scans from ingress to storagebellastore-backupbackups the sqlite database
# For dry run (scans will not be moved and database will not be changed)
bellastore-insert --root_dir <directory holding storage and backup> \
--ingress_dir <directory_holding_new_scans> \
--sqlite_name <name of sqlite database>
# Moving slides and recording in database
bellastore-insert --root_dir <directory holding storage> \
--ingress_dir <directory_holding_new_scans> \
--sqlite_name <name of sqlite database> \
--move
# Create backup of database in backup directory
bellastore-backup --root_dir <directory holding storage and backup> \
--sqlite_name <name of sqlite database>
Documentation
Along with the source code, under docs/demo.ipynb we provide a demo of the main usecase of the package, that leads you trough the steps of the main integration test tests/test_db_fs.py::test_classic.
The package comes with a test suite, serving to demonstrate the functionality of each unit of the package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bellastore-1.0.0.tar.gz.
File metadata
- Download URL: bellastore-1.0.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfd1215279a96cfb6a575ff0b4b5736990fa54b3eb8d914b0a81df57348db15d
|
|
| MD5 |
00be09aff2268813a10164f7e8c37506
|
|
| BLAKE2b-256 |
9f7ca2697ced0b5abb4c6a7a687106a6ce9e09dcaf859ce86160d00ca7633dba
|
File details
Details for the file bellastore-1.0.0-py3-none-any.whl.
File metadata
- Download URL: bellastore-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff58fd2b9dce27d3a381f0adc393ba44d9573a8dccec4f94b0c5fc527c137b1c
|
|
| MD5 |
eec4b37f37eea0368df9dcb6a7cc695b
|
|
| BLAKE2b-256 |
98a0818c60dbb3d377c21d1ed9962fe73aaefea1bf03511d7cf7875b8ea8df09
|