Drosophila adult and larvae exhibit sophisticated behaviors that are widely used in development, synaptic transmission, sensory physiology, and learning and memory research. Many of these behaviors depend on locomotion, the ability of an animal to move. However, the statistical analysis of locomotion is not trivial. Here we use an open-source Fiji plugin TrackMate to track the locomotion of Drosophila adults and larvae. We build optimal experimental setups to rapidly process recordings by Fiji and analyze by TrackMate. We also provide tips for analyzing non-optimal recordings. TrackMate extracts the X and Y positions of an animal on each frame of an image sequence or a video. This information allows for generating moving trajectories, calculating moving distances, and determining preference indices in two-choice assays. Notably, this free-cost analysis method does not require programming skills.
Background: The research in the neuroscience field has evolved to use complex imaging and computational tools to extract comprehensive information from data sets. Calcium imaging is a widely used technique that requires sophisticated software to get precise and reproducible results. Many laboratories struggle to adopt computational methods due to the lack of computational knowledge and paywalls for software. New Method: Here we propose a calcium imaging analysis method using TrackMate, an open-source Fiji plugin, to track neurons at single-cell resolution, detect regions of interest (ROIs), and extract fluorescence intensities. For confocal images, this method uses the maximal value to represent the cell intensity for each z stack. This method can be done without coding or be combined with Python or Jupyter Notebook scripts to accelerate the analysis. Results: This method is validated in fly larval cool neurons, whose calcium changes in these neurons respond to temperature fluctuation. It also identifies potential problems in approaches that extract signals from maximal projection images. Comparison with existing methods: This method does not depend on programming knowledge and/or commercial software but uses open-source software and requires no coding abilities. Since TrackMate automatically defines ROIs, this method greatly avoids human error and increases reproducibility. In addition, practice images and a step-by-step guide are provided to help users adopt this method in their experiments. Conclusions: Therefore, this open-source method allows for the analysis of calcium imaging data at single-cell resolution with high reproducibility and has the potential to be applied in various cell types and animal models by researchers with different programming abilities.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2025 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.