Rapid, open-source, and automated quantification of the head twitch response in C57BL/6J mice using DeepLabCut and Simple Behavioral Analysis.

Alexander D Maitland, Nicholas R Gonzalez, Donna Walther, Francisco Pereira, Michael H Baumann, Grant C Glatfelter
{"title":"Rapid, open-source, and automated quantification of the head twitch response in C57BL/6J mice using DeepLabCut and Simple Behavioral Analysis.","authors":"Alexander D Maitland, Nicholas R Gonzalez, Donna Walther, Francisco Pereira, Michael H Baumann, Grant C Glatfelter","doi":"10.1101/2025.04.28.650242","DOIUrl":null,"url":null,"abstract":"<p><p>Serotonergic psychedelics induce the head twitch response (HTR) in mice, an index of serotonin (5-HT) 2A receptor (5-HT <sub>2A</sub> ) agonism and a behavioral proxy for psychedelic effects in humans. Existing methods for detecting HTRs include time-consuming visual scoring, magnetometer-based approaches, and analysis of videos using semi-automated commercial software. Here, we present a new automated approach for quantifying HTRs from experimental videos using the open-source machine learning-based toolkits, DeepLabCut (DLC) and Simple Behavioral Analysis (SimBA). Pose estimation DLC models were trained to predict X,Y coordinates of 13 body parts of C57BL/6J mice using historical experimental videos of HTRs induced by various psychedelic drugs. Next, a non-overlapping set of historical experimental videos was analyzed and used to train SimBA random forest behavioral classifiers to predict the presence of the HTR. The DLC+SimBA approach was then validated using a separate subset of visually scored videos. DLC+SimBA model performance was assessed at different video resolutions (50%, 25%, 12.5%) and frame rates (120, 60, 30 frames per second or fps). Our results indicate that HTRs can be quantified accurately at 50% resolution and 120 fps (precision = 95.45, recall = 95.56, F <sub>1</sub> = 95.51) or at lower frame rates and resolutions (i.e., 50% resolution and 60 fps). The best performing DLC+SimBA model combination was deployed to evaluate the effects of bufotenine, a tryptamine derivative with uncharacterized potency and efficacy in the HTR paradigm. Interestingly, bufotenine only induced elevated HTRs (ED <sub>50</sub> = 0.99 mg/kg, max counts = 24) when serotonin 1A receptors (5-HT <sub>1A</sub> ) were pharmacologically blocked and activity at other sites of action may also impact its pharmacological effects (e.g., serotonin transporter). HTR counts for a subset of 21 videos from bufotenine experiments were strongly correlated for DLC+SimBA vs. visual scoring and semi-automated software detection methods ( <i>r</i> = 0.98 and 0.99). Finally, the DLC+SimBA approach displayed high accuracy when compared to visual scoring of HTRs for three serotonergic psychedelic drugs with variable HTR frequencies ( <i>r</i> = 0.99 vs. mean visual scores from 3 blinded raters). In summary, the DLC+SimBA approach represents a modular, noninvasive, and open-source method of HTR detection from experimental videos with accuracy comparable to magnetometer-based approaches and greater speed than visual scoring.</p>","PeriodicalId":519960,"journal":{"name":"bioRxiv : the preprint server for biology","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2025-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12190173/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"bioRxiv : the preprint server for biology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1101/2025.04.28.650242","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Serotonergic psychedelics induce the head twitch response (HTR) in mice, an index of serotonin (5-HT) 2A receptor (5-HT 2A ) agonism and a behavioral proxy for psychedelic effects in humans. Existing methods for detecting HTRs include time-consuming visual scoring, magnetometer-based approaches, and analysis of videos using semi-automated commercial software. Here, we present a new automated approach for quantifying HTRs from experimental videos using the open-source machine learning-based toolkits, DeepLabCut (DLC) and Simple Behavioral Analysis (SimBA). Pose estimation DLC models were trained to predict X,Y coordinates of 13 body parts of C57BL/6J mice using historical experimental videos of HTRs induced by various psychedelic drugs. Next, a non-overlapping set of historical experimental videos was analyzed and used to train SimBA random forest behavioral classifiers to predict the presence of the HTR. The DLC+SimBA approach was then validated using a separate subset of visually scored videos. DLC+SimBA model performance was assessed at different video resolutions (50%, 25%, 12.5%) and frame rates (120, 60, 30 frames per second or fps). Our results indicate that HTRs can be quantified accurately at 50% resolution and 120 fps (precision = 95.45, recall = 95.56, F 1 = 95.51) or at lower frame rates and resolutions (i.e., 50% resolution and 60 fps). The best performing DLC+SimBA model combination was deployed to evaluate the effects of bufotenine, a tryptamine derivative with uncharacterized potency and efficacy in the HTR paradigm. Interestingly, bufotenine only induced elevated HTRs (ED 50 = 0.99 mg/kg, max counts = 24) when serotonin 1A receptors (5-HT 1A ) were pharmacologically blocked and activity at other sites of action may also impact its pharmacological effects (e.g., serotonin transporter). HTR counts for a subset of 21 videos from bufotenine experiments were strongly correlated for DLC+SimBA vs. visual scoring and semi-automated software detection methods ( r = 0.98 and 0.99). Finally, the DLC+SimBA approach displayed high accuracy when compared to visual scoring of HTRs for three serotonergic psychedelic drugs with variable HTR frequencies ( r = 0.99 vs. mean visual scores from 3 blinded raters). In summary, the DLC+SimBA approach represents a modular, noninvasive, and open-source method of HTR detection from experimental videos with accuracy comparable to magnetometer-based approaches and greater speed than visual scoring.

使用DeepLabCut和Simple Behavioral Analysis对C57BL/6J小鼠的头抽搐反应进行快速、开源和自动量化。
5-羟色胺能致幻剂诱导小鼠头抽搐反应(HTR),这是5-羟色胺(5-HT) 2A受体(5-HT2A)激动作用的指标,也是人类致幻剂作用的行为代理。现有的检测htr的方法包括耗时的视觉评分、基于侵入性磁力计的方法和使用半自动商业软件的视频分析。在这里,我们提出了一种新的自动化方法来量化基于开源机器学习的工具,DeepLabCut (DLC)和Simple Behavioral Analysis (SimBA)。首先,利用不同致幻剂致htr的历史实验视频和实验条件,训练姿态估计DLC模型,预测C57BL/6J小鼠13个身体部位的X、Y坐标。接下来,分析一组不重叠的历史实验视频,并使用SimBA随机森林行为分类器来预测HTR的存在。然后,DLC+SimBA方法使用单独的视觉评分视频子集进行验证。在不同的视频帧率(120、60、30帧/秒或fps)和分辨率(50%、25%、12.5%)下评估DLC+SimBA模型的性能。我们的研究结果表明,在120帧/秒和50%分辨率(精度= 95.45,召回率= 95.56,F1 = 95.51)或更低的帧速率(即60帧/秒和50%分辨率,精度= 91.00,召回率= 86.23,F1 = 88.55)下,htr可以准确地量化。采用表现最佳的DLC+SimBA模型组合来评估bufotenine的效果,bufotenine是一种色胺衍生物,在HTR模型中具有未表征的效力和功效。有趣的是,当5-羟色胺1A受体(5-HT1A)被药物阻断时,bufotenine仅诱导htr升高(ED50 = 0.99 mg/kg,最大计数= 24)。bufotenine实验的21个视频子集的HTR评分在DLC+SimBA,视觉回顾和半自动软件检测方法之间具有很强的相关性(r = 0.98 -0.99)。总之,DLC+SimBA方法代表了一种快速准确的新方法,可以使用开源工具包从实验视频记录中检测htr。Toc图形:
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信