bioRxivNeurosciencePreprint
DANCE: An open-source analysis pipeline and low-cost hardware to quantify aggression and courtship in Drosophila
R Sai Prathap YadaviD, Paulami Dey, Faizah Ansari, Tanvi KottatiD, P Pallavi Prabhu, Manohar Vasam, Shrinivas Ayyangar, Swathi Bhaskar S, Krishnananda PrabhuiD, Monalisa Ghosh, Pavan AgrawaliD
Abstract
Quantifying animal behavior is pivotal for identifying the underlying neuronal and genetic mechanisms involved. Computational approaches have enabled automated analysis of complex behaviors such as aggression and courtship in Drosophila. However, existing approaches rely on rigid, rule-based algorithms and expensive hardware, limiting sensitivity to behavioral variations and accessibility. Here, we describe the Drosophila Aggression and Courtship Evaluator (DANCE), a low-cost, open-source platform that combines machine learning-based classifiers and inexpensive hardware to quantify aggression and courtship. DANCE consists of six novel behavioral classifiers trained using a supervised machine learning algorithm. DANCE classifiers address key limitations of rule-based algorithms, capturing dynamic behavioral variations more effectively. DANCE hardware is constructed using repurposed medicine blister packs and acrylic sheets, with recordings performed using smartphones, making it affordable and accessible. Benchmarking demonstrated that DANCE hardware performs comparably to sophisticated, high-cost setups. We validated DANCE in diverse contexts, including social isolation versus enrichment, which modulates aggression and courtship; RNAi-mediated downregulation of the neuropeptide Dsk; and optogenetic silencing of dopaminergic neurons, which promotes aggression. DANCE provides a cost-effective and portable solution for studying Drosophila behaviors in resource-limited settings or near natural habitats. Its accessibility and robust performance democratize behavioral neuroscience, enabling rapid screening of genes and neuronal circuits underlying complex social behaviors.
- organism: Drosophila
- assay: imaging
- research focus: cell type annotation
- approach: machine learning (classical)
- Citations
- 4
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- High-Throughput Tracking of Freely Moving Drosophila Reveals Variations in Aggression and Courtship Behaviors
Saheli Sengupta, Ziying Chen, … Caroline B. Palavicino‐Maggio·Scientific ReportsPeer-reviewed·Dec 11, 2025
- Simple Methods to Acutely Measure Multiple Timing Metrics among Sexual Repertoire of Male Drosophila
Yutong Song, Hongyu Miao, … Woo Jae Kim·bioRxiv·Nov 11, 2025
- Neuronal circuitry underlying female aggression in Drosophila
Catherine E. Schretter, Yoshinori Aso, … Gerald M. Rubin·eLifePeer-reviewed·Nov 3, 2020
- Song Torrent: A modular, open-source 96-chamber audio and video recording apparatus with optogenetic activation and inactivation capabilities for Drosophila
S. Sawtelle, L. Narayan, … D. L. Stern·bioRxiv·Jan 9, 2024
- Mate Competition Drives Aggressive Behaviour in Female Drosophila
Miguel Gaspar, Sophie Dias, Maria Luísa Vasconcelos·bioRxiv·Feb 7, 2022
- Quantitative comparison of Drosophila behavior annotations by human observers and a machine learning algorithm
X. Leng, M. Wohl, … K. Asahina·bioRxiv·Jun 16, 2020