A Segment Anything Model-based tool for semi-automated behavioural analysis of <i>Drosophila</i> and other model organisms
Quantitative behavioural analysis is a powerful approach for linking genotype to phenotype, but many existing tools require specialised hardware, extensive preprocessing or coding expertise. We present Segment Anything Model for Behavioural Analysis (SAMBA), an open-access, Google Colab-based pipeline that harnesses the Segment Anything Model 2 (SAM2) for accurate, semi-automated tracking without thresholding or background subtraction. With minimal user input, SAMBA extracts movement parameters, detects behavioural states and supports batch processing. Validating SAMBA in three Drosophila melanogaster models of human neurological disease revealed impaired locomotion, reduced speed and altered decision-making. We further demonstrated adaptability to adult Drosophila and larval zebrafish, underscoring its cross-species utility. By combining foundation-model segmentation with an accessible interface, SAMBA lowers technical barriers to analysing motor pattern defects and is readily extendable to diverse model organisms, life stages and experimental paradigms. This flexibility positions SAMBA as a valuable platform for accelerating disease mechanism studies, genetic screens and preclinical testing.
Authors
- Sebastian Dworkin (ORCID: https://orcid.org/0000-0001-5828-9992)
- Travis K. Johnson (ORCID: https://orcid.org/0000-0001-6846-9313)
- Joshua Millward (ORCID: https://orcid.org/0000-0002-6374-1426)
- Jemma G. Gasperoni (ORCID: https://orcid.org/0000-0001-8133-3242)
- Natasha M. Ruth (ORCID: https://orcid.org/0000-0002-9416-0755)
- Sarah Mele (ORCID: https://orcid.org/0009-0008-2174-2544)
- Zhen He (ORCID: https://orcid.org/0000-0003-2460-1583)
- Long Nguyen
Institutions
- La Trobe University (AU)
Publication Details
- Journal
- Disease Models & Mechanisms
- Published
- 2026-01-22
- DOI
- https://doi.org/10.1242/dmm.052631
- Primary Topic
- Zebrafish Biomedical Research Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- La Trobe University
- Westfälische Wilhelms-Universität Münster
- Medical Research Council
- National Health and Medical Research Council