Live Mouse Tracker
Long term mice/rat tracking with social interactions analysis.
What is Live Mouse Tracker ?
LMT is designed to track mice or rats on the long term (from hours to months of recording), and to provide automatic bahavioural annotation, specificaly on the social events.
This video shows the main principle: on the left hand side, you can see the tracking in real time, and on the right side, the data and the labeling that is extracted.
What behaviours can it extract automatically ?
Here is the list of basic behaviours the system can extract (without any manual intervention).
Downloads
The only section you might read :)
Live Mouse Tracker core program
- Download Live Mouse Tracker
- Unzip it
- Install java 8 64bits
- Setup your antenna COM ports
- Go !
- And then you can process the results :)
Blueprints
You enjoy assembling IKEA furniture during weekend ? You can now do it at work with this blueprint to build your own setup !
Follow the instruction of this PDF to create the original Live Mouse Tracker hardware.
An example dataset
Download this sample data set to test what you can extract for the data before investing in the system
You can test the full analysis pipeline with this data, and see if it fits your needs
This sample dataset is the one you can see in the main video, with which we performed the validation.
How to analyse the data ?
Live Mouse Tracker third-party analysis tools
Projects related to the analysis of data produced by live mouse tracker
LMT toolkit analysis
LMT-toolkit is an open source web application created to analyse Live Mouse Tracker (LMT) data easily and intuitively.
It re-computes all the behaviors of animals, and let one browse the results in a website hosted within your lab. This solution also stores the database on your local server. Perfect for data management.
LMT-Easy
Easy-LMT is a standalone software with a great GUI. It uses all the features of the scripts provided with LMT, and produces the graphs interactively.
The nice point is that you don't need to type any command line to get your analysis with it. Everything is done in the app.
This is multi-platform and .exe files are even provided for windows so that you don't even need to install python.
LMT Widget Tools
LMT Widget Tools is an interactive data extractor designed for jupyter.
LMT Widget Tools exports data to .csv files with the field you decide to export, using the time bins you select.
The nice point is the install: a simple pip install LWTools and you are good to go !
Tripping Rats
A modular and reproducible framework for analyzing data from the LiveRatTracker (LRT) system.
Data are stored in a SQLite database, and analyses are conducted in Python using Jupyter notebooks and standalone scripts.
MouseKing
A pipeline to facilitate the data analysis of the mouse behaviour phenotyping through the LiveMouseTracker (LMT) platform.
Your analysis pipeline
Reach us on discord to get your tool, lib or story referenced on this website here !
Focus on Easy LMT Analysis by Marie Bossard:
- Generate reliability reports on your acquired data
- Perform event post-processing
- Create various event-related visualizations
- Plot multiple trajectory-related graphs
- Visualize sensor data, such as light, humidity, and temperature
This is an ongoing project that continues to evolve and improve. Contributions are always welcome and appreciated!
Focus on integrating several Live Mouse Tracker in a lab by Damien Huzard
"Tribute to Live Mouse Tracker: The Tech That Pulled Me Into (and Through) HomeCage Monitoring"
Is there somebody using it ?
How does it work
Produced data:
For each experiment, you get:
Data analysis
To perform the analysis, we provide a framework in Python detailed in this presentation. We also provide code on GitHub. Examples of data analysis here that contains trajectory drawing, extraction of position, extracting timeline of events. You can also rebuild all the events available using this script. An example of interactive event exploration is also available here.
Note that you can use the third-party tools to process your data.
Can I use Live Mouse Tracker to study ultrasonic vocalizations ?
Yes, please watch this video. (If you have no time, just watch the parts at 6:32 to analyse USVs and at 20:00 to watch the link between LMT and USVs). LMT associated with AviSoft Recorder allow you to record synchronized USVs with behavioral events. We also provide a website to test our USV detection method online, no installation needed: https://usv.pasteur.cloud
If you wish to process file offline, go to the download section.
Specific analysis can be performed using the LMT USV Toolbox in python available on github https://github.com/fdechaumont/LMT-USV-Toolbox
FAQ - Frequently asked questions
Can I track elephants, monkeys, birds, ants, spiders, flies, mosquito, people, sheeps, cows, mantas, crocodiles or frogs with Live Mouse Tracker ?
I am sorry no. I would very much encourage you to find a dedicated solution for your species, there are trackers for all of them, with pros and cons.
If I want to track only 1 animal, do I need RFID ?
In that case you don’t need RFID. Just a Kinect.
On which OS does it work ?
Windows only.
Can I use another computer than the one you recommend ?
We recommend a Ryzen 7 2700X, 16GB RAM.
Do I need a good GPU / graphic card ?
LMT does not use GPU, you can use any card.
How do I create an event from another program or device using an UDP network protocol ?
If you have an external device that is creating event, and you want to synchronize them with LMT, you can use several solution. The most simple is the UDP protocol: you just send start and end of event on the fly, and they will be recorded as event in LMT.
To send an UDP message, you can do it programatically, or with a software such as https://packetsender.com/
Then, from the command line, just type this:
PacketSender.exe -ua localhost 8550 “start_NameOfEvent”
PacketSender.exe -ua localhost 8550 “end_NameOfEvent”
You can then check in the database (for instance with sqlitebrowser): your event should appear in the event table.
How can I tune the antenna ?
Launch the plugin AntennaTuner in the Live Mouse Tracker tab.
Then in the output of Icy you will see the current tuning refreshed each second.
It automatically detects all the COM port as you plug/unplug them.
Make the measurement when you are not touching the coil and put the coil far from metallic masses or wires.
To increase the value up to 134.2kHz, remove some coil. If you removed more than 10cm of coil, you can cut it and re-solder (note that this will increase a bit the tuning).
If you see 0.0 / 134.2kHz it means the wire is broken, or you have a problem with the soldering.
To solder the coil, turn it around your wire, and burn (as you solder) the thin translucid isolation plastic that is around the coil.
You can also test the detection of your glass RFID probe with the Antenna Tuning Tester plugin. It will cycle through antenna for 5 seconds each, and perform 10 reading per second for each cycle. It will display the RFID number detected in the output.
How do I insert the RFID probe ?
The RFID should be gently put in the animal using, using gas anesthesia, and local subcataneous analgesia. The RFID should be inserted in the neck and gently pushed on the side of the animal.
Where and which RFID probe should I order ?
We asked RFID suppliers to provide samples for test. The current best supplier is Biomark: www.biomark.com . According to our tests, their RFIDs are 1.54x better than the one we recommended while publishing the paper ! The RFID reference is RFID APT12 PIT tag (FDX) You may also ask for an injector You can mention that you are an LMT user (we don’t have financial agreements !).
Can I get back the RFID chip to use them later on ?
RFID chip are provided with unique number bought by the company which sells it to you. The RFID tag is they key to access your animal data. So if you keep your RFIDs, you will have one RFID for multiple animals.
How should I setup the 63cm height of the camera ?
You should not try to measure with a ruler, but directly from the application, with the program called “LiveMouseTrackerCalibration”. It provides a view of the field with red, orange and green dots. When all are green, you are calibrated. You maximize the frame and zoom-in/out with the mousewheel.
Can I use several setup in the same room ?
More and more labs are using several setup in the same room (typically 4 setups) to run parallel experiments. To do this, you should consider the following points: Kinects should not send direct light to other setup. If it happends, you will see that the image is slightly blinking. To avoid this, you should use kind of matte box (homemade is fine!) attached to the front of the kinect. Using isolating boxes per setup is also a solution. If several RFID are activated, they do jam the signal. On one system, LMT ensures that only one antenna is started at a time. If you start multiple setup in the same room, several antenna will be active at the same time. So you should keep a minimal distance of 1 meter between setup. If a setup is not used at all, disconnect the power of RFID reader (disconnect the hub power) since the default behavior of readers when started is to start reading. In that case they will be all active and will jam the signal up to several meters and other system will not read any tag.
Troubleshooting
Access the google doc with a lot of troubleshoot guidelines here.
System is missing frames.
Anti virus may freeze the application to take a memory snapshot. This will dramatically slow down the LMT process. Windows defender works very fine and is strongly recommended. Kaspersky kills the performances and should not be used.
RFID probe are not detected at all, or very badly.
Check if the USB are correctly powered on. If your USB Hub needs a separated power source, be sure to have it connected. Use A+/A- connector on the RFID reader board to connect antenna instead of AR/A-.
RFID probe were correctly detected 1 month ago, and not anymore.
Check if the power of your USB hub is still working. Try another hub to check this.
The real time and the time recorded is not the same (and I see red flashes at the bottom of the recording window)
You may have launched the program with icy.exe. You must start it with “live mouse tracker for java 8.bat”, which will launch Icy for you with a specific configuration of the memory dedicated to real time applications. You should see no more than 1 second of time drift per 3 hours or recording.
Tracks are cut for one frame unexpectedly or images hangs for a few seconds to up to 20 seconds.
This is Kinect related issue. Several solutions are listed here: Get to Control Panel -> Hardware and Sound -> Sound -> Recording -> Kinect Microphone and enable it. Open the Microsoft Store Camera app and under Setting -> Change privacy settings -> Microphone -> Allow apps to access your microphone -> enable the microphone. Some RealTech sound driver seems to create problems (they can consume a lot of memory (more than 1GB) and CPU (1 Full proc). Uninstall those drivers. The Kinect may be connected on a USB3 that is not fast enough. Connect the Kinect to a USB3 that is on the back of the computer (avoid front panel).
Other resources
Created by the authors of Live Mouse Tracker
MiceCraft
MiceCraft is designed to ease the creation of behavioral experiments.
It is a complete eco system including hardware design, real time control experiment control and data analysis.
MiceCraft is fully compatible with Live Mouse Tracker but it is not required.
Coming up this fall
USV Analysis (online and app versions)
USV Toolbox is an extractor of vocalizations working with wav files.
You can test it without any install on the USV Toolbox website, watch examples, listen to them and also process short samples of yours to see if the detection fits you.
The website is for test purposes only, for the real mass processing of thousands of vocalizations, you can download the standalone desktop application.
Links
Links related to live mouse tracker & friends