Skip to main content

Utility for extracting individual organoid max projections from the export of Opera Phenix Harmony software.

Project description

Harmony to Organoid

Example output

Check out this page for exemplary output files.

How to Prepare

  1. Install UV
    Follow the installation guide for UV.

  2. Initial Setup
    Running the tool for the first time will automatically install all necessary dependencies.

How to Run

How to run from commandline

Process your data exported from Harmony by executing the following command:

Parameters:

  • --index-file: (Required) Path to the Harmony export index XML file (Index.idx.xml) or (Index.xml) located next to the corresponding TIFF files.
  • --output-dir: (Required) Path to your desired output directory.
  • --lut-min: (Optional) Comma-separated minimum LUT (Lookup Table) values for each channel.
  • --lut-max: (Optional) Comma-separated maximum LUT values for each channel.
  • --colors: (Optional) Comma-separated colors for each channel.

Example:

uv run https://gitlab.com/ida-mdc/harmony-to-organoid/-/raw/main/script.py process \
    --index-file MY/INPUT/DATA/Index.xml \
    --output-dir MY/OUTPUT/DATA \
    --lut-min 100,100,100,100 \
    --lut-max 2000,1000,1500,2000 \
    --colors white,orange,blue,#ff0000

Output:

After successfully running the processing command, your specified output directory (MY/OUTPUT/DATA) will contain the following:

  • Projections:
    Maximum intensity projection images (projections/) generated for each data group, providing 2D summaries of your 3D data.

  • Plots:
    Visual representations of the data are stored in plots, including group bounding boxes and projections placed within their respective areas, ensuring spatial consistency and aiding in data interpretation.

  • README Files:
    Automatically generated documentation (README.md and README.html) that includes embedded plots for easy reference and sharing.

How to run from Jupyter notebook

micromamba activate YOUR_ENVIRONMENT
pip install 

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

harmony_to_organoid-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

harmony_to_organoid-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file harmony_to_organoid-0.1.0.tar.gz.

File metadata

  • Download URL: harmony_to_organoid-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.5

File hashes

Hashes for harmony_to_organoid-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9220d7d69c4645de598c1574ac3d73317866e94eba2a4261bbcaafbefd82d693
MD5 4531e95e3cbb962f9fa3d64ef2d82491
BLAKE2b-256 0b16cd917392449dd6a48647693528518ee6cea4a8f03cfdb3d20dad2e5f8c4b

See more details on using hashes here.

File details

Details for the file harmony_to_organoid-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for harmony_to_organoid-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9b4743c8be85355e535a8b941f21a869e9507ee21f739dd058cdd3c3cbd4a74
MD5 0ef8f1d4e745600084651a4d4f3f771e
BLAKE2b-256 acda5c58bcd0d3555a61845ce4adbb800824ef4ad5197004878ce7c99ff9fd09

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