Design and implementation of an automated Drosophila locomotor assay using computer vision tracking

Drosophila has long served as a powerful model for investigating locomotor behavior, using geotaxis assays to generate valuable insights into genetics, aging, and neurobiology. Nonetheless, its use has been constrained by subjective scoring, modest throughput, and challenges in reproducibility. We developed and validated an integrated hardware–software platform that enables automated, high-resolution locomotor analysis across 12 vials in parallel. The system integrates 3D-printed mechanical components, Raspberry Pi–based video acquisition, and programmable environmental controls to ensure standardized conditions. A deep learning pipeline segments vials with near-perfect accuracy (IoU > 0.95), while computer vision algorithms quantify climbing trajectories, velocity, and positional zone occupancy at 60 frames per second. The end-to-end workflow converts raw video into time-resolved metrics, supports sex-specific aggregation, and incorporates advanced statistical analyses, including Linear Mixed Effects regression, harmonic mean p-values, and Mann–Whitney U tests. Relative to manual scoring, this automated pipeline yields 2.8-fold faster processing and about 800-fold higher data density. Application of the platform uncovered reproducible phenotypes of multiple genotypes. For example, in circadian Clock out mutation, males displayed progressive climbing deficits with age, whereas females maintained age-resilient trajectories. Moreover, male Clock out exhibited a reduced locomotor performance compared to age-matched control ( w 1118 ) males; however, female Clock out showed subtle reduction in locomotor performance. Additionally, glial-specific knockdown of PolG , encoding the DNA polymerase gamma catalytic subunit, revealed striking sex-dimorphic aging patterns: females outperformed controls at older age in Glaz-driven line and at younger age in Elav-driven line, while males exhibited a marked decline. To promote broad adoption, a user-friendly Python interface (Tkinter GUI) enables accessibility independent of computational expertise. Collectively, this standardized, high-throughput framework advances the resolution of genotype-, age, and sex-dependent locomotor dynamics, offering new opportunities in aging, circadian biology, and neurodegeneration research.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-10-26
DOI
https://doi.org/10.1038/s41598-026-72974-1
Primary Topic
Neurobiology and Insect Physiology Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design and implementation of an automated Drosophila locomotor assay using computer vision tracking

Shubhankar Desai, Girish Chandra Melkani, Dave Melkani, Neelaksh Harnwal et al.
Scientific Reports
Neurobiology and Insect Physiology Research
article

Design and implementation of an automated Drosophila locomotor assay using computer vision tracking

Shubhankar Desai, Girish Chandra Melkani, Dave Melkani, Neelaksh Harnwal, Dev Patel
article en

Abstract

Drosophila has long served as a powerful model for investigating locomotor behavior, using geotaxis assays to generate valuable insights into genetics, aging, and neurobiology. Nonetheless, its use has been constrained by subjective scoring, modest throughput, and challenges in reproducibility. We developed and validated an integrated hardware–software platform that enables automated, high-resolution locomotor analysis across 12 vials in parallel. The system integrates 3D-printed mechanical components, Raspberry Pi–based video acquisition, and programmable environmental controls to ensure standardized conditions. A deep learning pipeline segments vials with near-perfect accuracy (IoU > 0.95), while computer vision algorithms quantify climbing trajectories, velocity, and positional zone occupancy at 60 frames per second. The end-to-end workflow converts raw video into time-resolved metrics, supports sex-specific aggregation, and incorporates advanced statistical analyses, including Linear Mixed Effects regression, harmonic mean p-values, and Mann–Whitney U tests. Relative to manual scoring, this automated pipeline yields 2.8-fold faster processing and about 800-fold higher data density. Application of the platform uncovered reproducible phenotypes of multiple genotypes. For example, in circadian Clock out mutation, males displayed progressive climbing deficits with age, whereas females maintained age-resilient trajectories. Moreover, male Clock out exhibited a reduced locomotor performance compared to age-matched control ( w 1118 ) males; however, female Clock out showed subtle reduction in locomotor performance. Additionally, glial-specific knockdown of PolG , encoding the DNA polymerase gamma catalytic subunit, revealed striking sex-dimorphic aging patterns: females outperformed controls at older age in Glaz-driven line and at younger age in Elav-driven line, while males exhibited a marked decline. To promote broad adoption, a user-friendly Python interface (Tkinter GUI) enables accessibility independent of computational expertise. Collectively, this standardized, high-throughput framework advances the resolution of genotype-, age, and sex-dependent locomotor dynamics, offering new opportunities in aging, circadian biology, and neurodegeneration research.

Scientific Reports
University of Alabama at Birmingham (US), UAB Medicine (US)
National Institutes of Health
Openalex Percentile: Top 20%
Neurobiology and Insect Physiology Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon