- AutoGaitA simplifies, accelerates, and standardises gait analyses (as well as the analysis of other rhythmic behaviours) after body posture tracking in 2D with DeepLabCut and SLEAP or marker-based as well as marker-less methods for obtaining 3D coordinates.
- AutoGaitA's first-level tools provide a wide range of automated kinematic analyses for each input video and AutoGaitA Group allows the comparison of up to six groups.
- AutoGaitA enables comparisons to be made across experimental conditions, species, disease states or genotypes.
- Despite being developed with gait data, AutoGaitA can be utilised for the analysis of any motor behaviour.
This approach uses uv for installation. It is really simple to set up:
- macOS / Linux - Open your terminal & enter:
curl -LsSf https://astral.sh/uv/install.sh | sh - Windows - Open Powershell and enter:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Open your terminal (Mac/Linux) or (restart) PowerShell/CMD (Windows) and run:
uv tool install autogaita
autogaitaπ₯³ That's it - AutoGaitA is now installed!
You can launch it anytime by opening a terminal and entering autogaita.
To update to the latest release (see the Releases panel on the right for the latest versions) open a terminal and enter: uv tool upgrade autogaita.
If you prefer to manage your own Python environments, use standard pip, or have a version before v1.4.2, you can still install AutoGaitA the traditional way.
Please refer to Our documentation for step-by-step instructions on setting up a virtual environment, activating it, and installing via pip.
For upgrading a pip-installed version activate your virtual environment and enter: pip install autogaita -U
Check out the video below for a demonstration of AutoGaitA's main workflow!
The AutoGaitA YouTube Channel provides tutorials for file preparation and instructions on how to use AutoGaitA. This includes in-depth explanations of all details, (main & advanced) configurations, possibilities, and outputs.
Please note that tutorial videos might not always reflect the most up-to-date version of our toolbox, especially in the beginning when things are regularly changing. We will make sure to record new videos whenever there are major changes though. If updates are just minor we refer to them in the notes below each video. Last tutorial-update was with v1.4.0. (September 2025).
We provide an example dataset in the example data folder of this repository, with a set of mice walking over differently wide beams and both the beam as well as body coordinates being tracked with DLC. Note that this dataset was used in our tutorial videos introducing AutoGaitA DLC, AutoGaitA Group and in our video explaining file preparation for AutoGaitA DLC. We further provide a group folder there that can be used alongside the AutoGaitA Group tutorial to confirm that users generate the same set of results following our instructions.
Annotation Table example and template files for AutoGaitA DLC and AutoGaitA Universal 3D can be found in the annotation tables folder of this repository.
Users are advised to read the General Recommendations section of that folder, use the template to enter their data's timestamp information and to then compare the resulting table with our example to check formatting. Users working with ImageJ/FIJI are encouraged to check out the AnnotationTable-Plugin developed by our contributor Luca Flemming.
The AutoGaitA Documentation provides complete guidelines on installation, file preparation, AutoGaitA GUIs, using AutoGaitA via the command line, installing FFmpeg for rotating 3D PCA videos, lists known issues and FAQ.
We strongly advise users to pay attention to the custom joints and angles windows of AutoGaitA's first level toolboxes. Please see the relevant links below. These windows allow users to customise which columns of their data should be analysed and how angles should be computed.
By default, AutoGaitA DLC and AutoGaitA Universal 3D implement standard values for mouse and human locomotion, respectively. If your analysis deviates from these standards (e.g. by focussing on another behaviour or a different species) you must change these values!
Find out more about AutoGaitA's custom joints and angles:
- YouTube - AutoGaitA DLC/SLEAP Advanced Configuration
- YouTube - AutoGaitA Universal 3D
- Documentation - AutoGaitA DLC/SLEAP
- Documentation - AutoGaitA Universal 3D
An important step in AutoGaitA is normalising step cycles (or instances of other behaviours) to a uniform length before calculating the video-level average. This uniform length is called bin number, must be set by users and defaults to a value of 25.
Step cycles are normalised via averaging temporally adjacent data points if their original length was larger than the bin number and repeating values if they were shorter originally. Examples are provided here:
We strongly advise users to think carefully about an appropriate bin number for their datasets. The correct value varies and depends strongly on the studied species, behaviour and the frame rate of cameras.
We strongly advise AutoGaitA Universal 3D users to carefully consider how our toolbox computes kinematics in 2D, i.e., angles along the y/z-plane and velocities along the y-dimensions. For more information, please see the corresponding important note on 2D kinematics in our documentation.
Even though AutoGaitA's main focus is to automate and standardise gait analyses, our toolbox can be used to automate the analyses of any rhythmic behaviour of interest. For a proof-of-principle demonstration and an introduction of the general workflow of such analyses, see AutoCyclA - Automated Cycling Analysis with AutoGaitA.
It is strongly recommended that AutoGaitA is kept up to date since new features and important bugfixes are provided regularly.
AutoGaitA's cfg files and dictionaries sometimes change as a result, which means that previously generated first-level Results folders cannot always be analysed with AutoGaitA Group after an update. In such cases, it is recommended to re-run first-level analyses.
We document each version's cfg-changes in AutoGaitA Releases, which is particularly relevant for users wrapping custom scripts around AutoGaitA's functions.
If you use this code or data please cite our preprint.
AutoGaitA is licensed under GPL v3.0 and Forschungszentrum JΓΌlich GmbH holds all copyrights.
The AutoGaitA software is provided without warranty of any kind, express or implied, including, but not limited to, the implied warranty of fitness for a particular purpose.
Kishan Thambu - Undergraduate Student
Sarah Sabbagh - Undergraduate Student
Luca Flemming - Undergraduate Student
Nicholas del Grosso - RSE Advisor
If you would like to contribute to the AutoGaitA toolbox, feel free to open a pull request or contact us at autogaita@fz-juelich.de!
We are looking forward to your input and ideas π
We have archived the resources of outdated AutoGaitA versions here:
- v0.4.1 - Documentation
- v0.3.1 - YouTube Tutorials & Documentation
