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:
- Detection – Organelle segmentation and outline visualization
- Lysosomal Counting – Per-frame lysosome counts and plots
- Morphology Classification – Elongated vs. punctate mitochondria
- Shape Feature Extraction – Circularity, solidity, aspect ratio, orientation
- Shape Profiling – Combined violin plots of mitochondrial and lysosomal metrics
- Tracking – Cumulative organelle trajectories (mitochondria, lysosomes, composite)
- Tracking Overlay – Tracks drawn on real-intensity images
- Motility Analysis – Velocity and displacement distributions + scatter plots
- Colocalization – Bright-blue overlap visualization with Manders and Pearson coefficients
- 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bb1a197a6828fbf69a6ff97095cd01b75a97ebb9338aaf3bdfdb6c16f638143
|
|
| MD5 |
ebdbf8031ef64102fd22cd912c2b3294
|
|
| BLAKE2b-256 |
d9fa12f9a7bb13e21afbf6acdeb064ab5273cc267bbaa46755066eb41247495c
|
File details
Details for the file automorphotrack-2.0.1-py3-none-any.whl.
File metadata
- Download URL: automorphotrack-2.0.1-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffe373f86910cbdcba42bf04a24e0d41055a3c3b5b9755ad240ea306eb8add01
|
|
| MD5 |
cfe95a2709074089cc8aeb04d53c098f
|
|
| BLAKE2b-256 |
39a1198a844748aaa7587721ff13e541deb4351f768df52543040f9a1ad26457
|