Skip to main content

Automated pipeline for mitochondrial and lysosomal detection, tracking, morphology, and colocalization analysis in microscopy images.

Project description

AutoMorphoTrack

AutoMorphoTrack is a modular image-analysis pipeline for automated detection, morphology classification, shape profiling, motility tracking, and colocalization analysis of mitochondria and lysosomes in multichannel fluorescence microscopy data.

Developed by Armin Bayati, Ph.D.


🧬 Overview

AutoMorphoTrack processes time-lapse .tif stacks (typically two-channel: mitochondria + lysosomes) and generates publication-ready visual and quantitative outputs at every step.

Pipeline stages:

  1. Detection – Organelle segmentation and outline visualization
  2. Lysosomal Counting – Per-frame lysosome counts and plots
  3. Morphology Classification – Elongated vs. punctate mitochondria
  4. Shape Feature Extraction – Circularity, solidity, aspect ratio, orientation
  5. Shape Profiling – Combined violin plots of mitochondrial and lysosomal metrics
  6. Tracking – Cumulative organelle trajectories (mitochondria, lysosomes, composite)
  7. Tracking Overlay – Tracks drawn on real-intensity images
  8. Motility Analysis – Velocity and displacement distributions + scatter plots
  9. Colocalization – Bright-blue overlap visualization with Manders and Pearson coefficients
  10. Integrated Summary – Correlation matrix across all extracted metrics

📁 Installation

pip install automorphotrack

Or clone directly:

git clone https://github.com/abayatibrain/AutoMorphoTrack.git
cd AutoMorphoTrack
pip install -e .

🚀 Basic Usage

from automorphotrack import *

tif_path = "Composite.tif"

detect_organelles(tif_path)
count_lysosomes_per_frame(tif_path)
classify_morphology(tif_path)
analyze_shape_features(tif_path)
profile_shape_data()
track_organelles(tif_path)
track_overlay(tif_path)
analyze_motility()
analyze_colocalization(tif_path)
summarize_integrated_data()

📦 Outputs

Step Output Type Example Files
Detection PNG + MP4 Mito_Frame0.png, Mitochondria_Detection.mp4
Lysosome Count PNG + CSV + MP4 Lyso_Count_Plot.png, Lysosome_Counts.csv
Morphology PNG + MP4 + CSV Morphology_Frame0_Labeled.png, Morphology_Labeled.mp4
Shape Features PNG + CSV Shape_Distributions.png, Mito_ShapeMetrics.csv
Shape Profiling PNG + CSV Shape_ViolinPlots.png, Combined_ShapeData.csv
Tracking PNG + MP4 + CSV Cumulative_Mito.png, Mito_Tracks.csv
Tracking Overlay PNG + MP4 Cumulative_Composite.png, Composite_CumulativeTracks.mp4
Motility PNG + CSV Motility_Distributions.png, Motility_Scatter.png
Colocalization PNG + MP4 + CSV Colocalization_Frame0.png, Colocalization.csv
Summary PNG + CSV Integrated_CorrelationMatrix.png, Integrated_Merged_Data.csv

🔧 Dependencies

  • Python ≥ 3.9
  • numpy, pandas, matplotlib, seaborn, opencv-python, scikit-image, scipy, tifffile

🧩 Citation

If you use this pipeline in your work, please cite:

Bayati, A. et al. AutoMorphoTrack: Automated Organelle Tracking and Morphometric Profiling Toolkit (2025)

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

automorphotrack-2.0.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

automorphotrack-2.0.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file automorphotrack-2.0.1.tar.gz.

File metadata

  • Download URL: automorphotrack-2.0.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for automorphotrack-2.0.1.tar.gz
Algorithm Hash digest
SHA256 2bb1a197a6828fbf69a6ff97095cd01b75a97ebb9338aaf3bdfdb6c16f638143
MD5 ebdbf8031ef64102fd22cd912c2b3294
BLAKE2b-256 d9fa12f9a7bb13e21afbf6acdeb064ab5273cc267bbaa46755066eb41247495c

See more details on using hashes here.

File details

Details for the file automorphotrack-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for automorphotrack-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ffe373f86910cbdcba42bf04a24e0d41055a3c3b5b9755ad240ea306eb8add01
MD5 cfe95a2709074089cc8aeb04d53c098f
BLAKE2b-256 39a1198a844748aaa7587721ff13e541deb4351f768df52543040f9a1ad26457

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