Marigold: a machine learning-based web app for zebrafish pose tracking

Abstract Background 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 rap...

Full description

Saved in:
Bibliographic Details
Main Authors: Gregory Teicher, R. Madison Riffe, Wayne Barnaby, Gabrielle Martin, Benjamin E. Clayton, Josef G. Trapani, Gerald B. Downes
Format: Article
Language:English
Published: BMC 2025-01-01
Series:BMC Bioinformatics
Subjects:
Online Access:https://doi.org/10.1186/s12859-025-06042-2
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832571272167424000
author Gregory Teicher
R. Madison Riffe
Wayne Barnaby
Gabrielle Martin
Benjamin E. Clayton
Josef G. Trapani
Gerald B. Downes
author_facet Gregory Teicher
R. Madison Riffe
Wayne Barnaby
Gabrielle Martin
Benjamin E. Clayton
Josef G. Trapani
Gerald B. Downes
author_sort Gregory Teicher
collection DOAJ
description Abstract Background 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. Results Marigold features an intuitive graphical user interface, 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. 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 Marigold’s utility, we used 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. Conclusions In both biological experiments presented here, the use of Marigold facilitated novel behavioral findings. Marigold’s 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. Marigold is available at: https://downeslab.github.io/marigold/ .
format Article
id doaj-art-e0bc4557c0a347fba260d67e4dcde872
institution Kabale University
issn 1471-2105
language English
publishDate 2025-01-01
publisher BMC
record_format Article
series BMC Bioinformatics
spelling doaj-art-e0bc4557c0a347fba260d67e4dcde8722025-02-02T12:44:58ZengBMCBMC Bioinformatics1471-21052025-01-0126113010.1186/s12859-025-06042-2Marigold: a machine learning-based web app for zebrafish pose trackingGregory Teicher0R. Madison Riffe1Wayne Barnaby2Gabrielle Martin3Benjamin E. Clayton4Josef G. Trapani5Gerald B. Downes6Biology Department, University of Massachusetts AmherstBiology Department, University of Massachusetts AmherstBiology Department, University of Massachusetts AmherstBiology Department, University of Massachusetts AmherstBiology Department, University of Massachusetts AmherstNeuroscience and Behavior Graduate Program, University of Massachusetts AmherstBiology Department, University of Massachusetts AmherstAbstract Background 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. Results Marigold features an intuitive graphical user interface, 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. 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 Marigold’s utility, we used 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. Conclusions In both biological experiments presented here, the use of Marigold facilitated novel behavioral findings. Marigold’s 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. Marigold is available at: https://downeslab.github.io/marigold/ .https://doi.org/10.1186/s12859-025-06042-2ZebrafishBehaviorPose trackingMachine learningWeb appSoftware
spellingShingle Gregory Teicher
R. Madison Riffe
Wayne Barnaby
Gabrielle Martin
Benjamin E. Clayton
Josef G. Trapani
Gerald B. Downes
Marigold: a machine learning-based web app for zebrafish pose tracking
BMC Bioinformatics
Zebrafish
Behavior
Pose tracking
Machine learning
Web app
Software
title Marigold: a machine learning-based web app for zebrafish pose tracking
title_full Marigold: a machine learning-based web app for zebrafish pose tracking
title_fullStr Marigold: a machine learning-based web app for zebrafish pose tracking
title_full_unstemmed Marigold: a machine learning-based web app for zebrafish pose tracking
title_short Marigold: a machine learning-based web app for zebrafish pose tracking
title_sort marigold a machine learning based web app for zebrafish pose tracking
topic Zebrafish
Behavior
Pose tracking
Machine learning
Web app
Software
url https://doi.org/10.1186/s12859-025-06042-2
work_keys_str_mv AT gregoryteicher marigoldamachinelearningbasedwebappforzebrafishposetracking
AT rmadisonriffe marigoldamachinelearningbasedwebappforzebrafishposetracking
AT waynebarnaby marigoldamachinelearningbasedwebappforzebrafishposetracking
AT gabriellemartin marigoldamachinelearningbasedwebappforzebrafishposetracking
AT benjamineclayton marigoldamachinelearningbasedwebappforzebrafishposetracking
AT josefgtrapani marigoldamachinelearningbasedwebappforzebrafishposetracking
AT geraldbdownes marigoldamachinelearningbasedwebappforzebrafishposetracking