Skip to main content

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-insert inserts new scans from ingress to storage
  • bellastore-backup backups 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bellastore-1.0.1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bellastore-1.0.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file bellastore-1.0.1.tar.gz.

File metadata

  • Download URL: bellastore-1.0.1.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

Hashes for bellastore-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a3dedda7732f8b139740ab3616f73f5b506caf6679e092f364df04d305e3d5fc
MD5 dab12ff7f05f6dc47c76fae18f984110
BLAKE2b-256 6e7cf35a29ba1d838084b0cb92f57ec205007f370145076d5dc369f59d35de30

See more details on using hashes here.

File details

Details for the file bellastore-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bellastore-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for bellastore-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11b08c4c39742299e6c04aefa4fcfdb064400ee15bfb5bb320cf29205ae67067
MD5 3f1354a733046fd6e8ffbf7dd92234b4
BLAKE2b-256 b5fde2ad7d74627d523de4bfa1c6d93f1ca847adc6f5a79ceb4811d5569b157d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page