BMC BioinformaticsAnimal Behavior & CognitionPeer-reviewed journal article
Marigold: A machine learning-based web app for zebrafish pose tracking
Gregory TeicheriD, R. Madison RiffeiD, Wayne BarnabyiD, Gabrielle Martin, Benjamin E. ClaytoniD, Josef G. TrapaniiD, Gerald B. DownesiD
Abstract
High-throughput behavioral analysis is important for drug discovery, toxicological studies, and the modeling of neurological disorders such as autism and epilepsy. Zebrafish embryos and larvae are ideal for such applications because they are spawned in large clutches, develop rapidly, feature a relatively simple nervous system, and have orthologs to many human disease genes. However, existing software for video-based behavioral analysis can be incompatible with recordings that contain dynamic backgrounds or foreign objects, lack support for multiwell formats, require expensive hardware, and/or demand considerable programming expertise. Here, we introduce Marigold, a free and open source web app for high-throughput behavioral analysis of embryonic and larval zebrafish. Marigold features an intuitive graphical user interface (GUI), tracks up to 10 user-defined keypoints, supports both single- and multiwell formats, and exports a range of kinematic parameters in addition to publication-quality data visualizations. By leveraging a highly efficient, custom-designed neural network architecture, Marigold achieves reasonable training and inference speeds even on modestly powered computers lacking a discrete graphics processing unit (GPU). Notably, as a web app, Marigold does not require any installation and runs within popular web browsers on ChromeOS, Linux, macOS, and Windows. To demonstrate Marigolds utility, we conducted two sets of biological experiments. First, we examined novel aspects of the touch-evoked escape response in techno trousers (tnt) mutant embryos, which contain a previously described loss-of-function mutation in the gene encoding Eaat2b, a glial glutamate transporter. We identified differences and interactions between touch location (head vs. tail) and genotype. Second, we investigated the effects of feeding on larval visuomotor behavior at 5 and 7 days post-fertilization (dpf). We found differences in the number and vigor of swimming bouts between fed and unfed fish at both time points, as well as interactions between developmental stage and feeding regimen. In both biological experiments presented here, the use of Marigold facilitated novel behavioral findings. Marigolds ease of use, robust pose tracking, amenability to diverse experimental paradigms, and flexibility regarding hardware requirements make it a powerful tool for analyzing zebrafish behavior, especially in low-resource settings such as course-based undergraduate research experiences (CUREs). Marigold is available at: https://downeslab.github.io/marigold/.
- Citations
- 8
- FWCI
- 2.21
- Field percentile
- top 14%
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
- Plug-and-Play automated behavioral tracking of zebrafish larvae with DeepLabCut and SLEAP: pre-trained networks and datasets of annotated poses
Leandro A. Scholz, Tessa Mancienne, … Conrad C.Y. Lee·bioRxiv·Jun 4, 2025
- ZebraTrack: An Open-Source Object Detection Algorithm to Detect and Track Larval Zebrafish Motor Touch Responses
Adrien Connor Lacroix, Gary A.B. Armstrong·bioRxiv·Oct 17, 2025
- Megabouts: a flexible pipeline for zebrafish locomotion analysis
Adrien Jouary, Pedro TM Silva, … Michael B. Orger·bioRxiv·Sep 14, 2024
- High throughput machine learning pipeline to characterize larval zebrafish motor behavior
John Hageter, John P. Efromson, … Eric James Horstick·PLoS ONEPeer-reviewed·Oct 17, 2025
- BonZeb: Open-source, modular software tools for high-resolution zebrafish tracking and analysis
Nicholas C. Guilbeault, Jordan Guerguiev, … Tod R. Thiele·Scientific ReportsPeer-reviewed·Apr 14, 2021
- A Customizable Low-Cost System for Massively Parallel Zebrafish Behavior Phenotyping
William J. Joo, Michael D. Vivian, … Summer B. Thyme·Frontiers in Behavioral NeurosciencePeer-reviewed·Jan 17, 2021