RT Journal Article SR Electronic T1 BehaviorDEPOT: a tool for automated behavior classification and analysis in rodents JF bioRxiv FD Cold Spring Harbor Laboratory SP 2021.06.20.449150 DO 10.1101/2021.06.20.449150 A1 Christopher J Gabriel A1 Zachary Zeidler A1 Benita Jin A1 Changliang Guo A1 Anna Wu A1 Molly Delaney A1 Jovian Cheung A1 Lauren E. DiFazio A1 Melissa J. Sharpe A1 Daniel Aharoni A1 Scott A. Wilke A1 Laura A. DeNardo YR 2021 UL http://biorxiv.org/content/early/2021/09/21/2021.06.20.449150.abstract AB Quantitative descriptions of animal behavior are essential to understand the underlying neural substrates. Many behavioral analyses are performed by hand or with expensive and inflexible commercial software that often fail on animals with attached head implants, such as those used for in vivo optogenetics and calcium imaging. With the development of machine learning algorithms that can estimate animal positions across time and space, it is becoming easier for users with no prior coding experience to perform automated animal tracking in behavioral video recordings. Yet classifying discrete behaviors based on positional tracking data remains a significant challenge. To achieve this, we must start with reliable ground truth definitions of behavior, a process that is hindered by unreliable human annotations. To overcome these barriers, we developed BehaviorDEPOT (DEcoding behavior based on POsitional Tracking), a MATLAB-based application comprising six independent modules and a graphical user interface. In the Analysis Module we provide hard-coded classifiers for freezing and rearing. Optionally applied spatiotemporal filters allow users to analyze behaviors in varied experimental designs (e.g. cued tasks or optogenetic manipulations). Even inexperienced users can generate organized behavioral data arrays that can be seamlessly aligned with neurophysiological recordings for detailed analyses of the neural substrates. Four additional modules create an easy-to-use pipeline for establishing reliable ground-truth definitions of behaviors as well as custom behavioral classifiers. Finally, our Experiment Module runs fear conditioning experiments using an Arduino-based design that interfaces with commercialhardware and significantly reduces associated costs. We demonstrate the utility and flexibility of BehaviorDEPOT in widely used behavioral assays including fear conditioning, avoidance, and decision-making tasks. We also demonstrate the robustness of the BehaviorDEPOT freezing classifier across multiple camera types and in mice and rats wearing optogenetic patch cables and head-mounted Miniscopes. BehaviorDEPOT provides a simple, flexible, automated pipeline to move from pose tracking to reliably quantifying a wide variety of task-relevant behaviors.Competing Interest StatementThe authors have declared no competing interest.