Skip to main content

DoMB Tools: Python Toolkit of Department of Molecular Biophysics

Project description

DoMB Tools

Python Toolkit of Department of Molecular Biophysics

PyPI - Version PyPI - License PyPI - Python Version Website

Description

Registration types integrate acquired data (images, electrophysiological recordings, metadata) into unified data structures. Attributes within this structure support subsequent analysis through functions in the modules.

Modules provide distinct data analysis approaches with predefined pipelines. These pipelines transform inputs into approach-specific illustrations and organized pre-processed images, optimized for further quantitative analysis. Modules require specific registration types as inputs.

Utilities offer reusable functions for multidimensional image processing, advanced visualization, and uploading data in specific formats (OIF/OIB, HEKA, etc.).

Structure Overview

└── domb
    ├── reg_type                  # data types for different registration designs
    │   └── wf_x2_m2.py             #  widefield, 2 excitation wavelengths, 2 emission channels
    |
    ├── red_green                 # translocation detection using differential image comparison
    │   ├── wt_vs_mut.py            # co-imaging of two NCSs with single stimuli, requires wf_x2_m2 as input
    │   └── wt_vs_mut_multistim.py  # co-imaging of two NCSs with multiple stimuli, requires wf_x2_m2 as input
    |
    ├── fret                      # Förster resonance energy transfer (FRET) estimation
    │   ├── e_fret                  # 3-cube approach for FRET efficiency estimation
    │   │   ├── coef_calc.py          # estimation of calibration coefficients
    │   │   └── e_app.py              # FRET efficiency calculation, requires wf_x2_m2 as input
    │   └── b_fret                # Bayesian inference implementation for 3-cube E-FRET approach
    |
    └── utils                     # utilities
        ├── masking.py              # functions for masking multi-dimensional images
        ├── plot.py                 # functions for various pretty plotting
        └── oiffile.py              # Olympus OIF/OIB files uploading

Installation

Set up a new conda environment with Python 3.9:

conda create -y -n domb -c conda-forge python=3.9
conda acticate domb

From pip

python -m pip install domb

From GitHub

Clone the repo:

git clone -b master git@github.com:wisstock/domb-tools.git

To install the package, simply navigate to the repository folder and install with pip:

cd DoMB_tools
python -m pip install .

But if you're planning to make changes and work on the source code actively, you might want to consider using the editable mode:

python -m pip install -e .

Borrowed modules

OIF File

Copyright © 2012-2022 Christoph Gohlke

Oiffile is a Python library to read image and metadata from Olympus Image Format files. OIF is the native file format of the Olympus FluoView(tm) software for confocal microscopy.

There are two variants of the format:

  • OIF (Olympus Image File) is a multi-file format that includes a main setting file (.oif) and an associated directory with data and setting files (.tif, .bmp, .txt, .pyt, .roi, and .lut).

  • OIB (Olympus Image Binary) is a compound document file, storing OIF and associated files within a single file.

B-FRET

Copyright © 2022 Emonet Lab, Kamino et al.,2023

This module is currently not implemented!

This package uses Bayesian inference to generate posterior distributions of FRET signals from noisy measured FRET data. B-FRET, generally applicable to standard 3-cube FRET-imaging data. Based on Bayesian filtering theory, B-FRET implements a statistically optimal way to infer molecular interactions and thus drastically improves the SNR.

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

domb-0.0.1.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

domb-0.0.1-py3-none-any.whl (63.8 kB view details)

Uploaded Python 3

File details

Details for the file domb-0.0.1.tar.gz.

File metadata

  • Download URL: domb-0.0.1.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for domb-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c3d5a121b0c896c65d3badcbf9578c4f803bc9c3ca8d56438b1188fca6a28c35
MD5 6ded47d5c0156e96768b73a6b1fe8ddc
BLAKE2b-256 13a2d8ad0843d01241b134a2b281052896bc7fd0f26a4a34cb98b0babe5e11b3

See more details on using hashes here.

File details

Details for the file domb-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: domb-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 63.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for domb-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6713d3f56299036a1b6d4923d3ea30fab37b18df0869f08b5a7194566ecce16a
MD5 da948d15e0ebdd64e1ea320f93cc2ca3
BLAKE2b-256 c709bc389554e3875c12f7663cf144130531da99b48f5121e254b8bb312629ad

See more details on using hashes here.

Supported by

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