Skip to main content

Doc Open Source License: GPL v3 PyPI Conda

Track Analyzer :microscope: :bar_chart:

Quantification and visualization of tracking data

Track Analyzer is a Python-based data visualization pipeline for tracking data. It does not perform any tracking, but visualizes and quantifies any tracked data. It analyzes trajectories by computing standard quantities such as velocity, acceleration, diffusion coefficient, local density, etc. Trajectories can also be plotted on the original image in 2D or 3D using custom color-coding.

Track Analyzer provides a filtering section that can extract subsets of data based on spatiotemporal criteria. The filtered subsets can then be analyzed either independently or compared. This filtering section also provides a tool for selecting specific trajectories based on spatiotemporal criteria which can be useful to perform fate mapping and back-tracking.

Track Analyzer is distributed in two versions: an installation-free web-based interface run on Galaxy, and a full version that has to be run on a local computer. On both versions, Track Analyzer can be run without any programming knowledge using its graphical interface. The full version interface is launched by running a Jupyter notebook containing widgets allowing the user to load data and set parameters without writing any code.

screenshot_1

screenshot_2

Data requirements

The mandatory input file of Track Analyzer is a data table (a csv or txt file) of tracks containing the position coordinates (in 2D or 3D) along time and the tracks identifiers. Optionally, data can be plotted on the original image provided as a 3D or 4D tiff stack (ie. 2D+time or 3D+time). If the format of your movie is different (list of images), please convert it to tiff stack using Fiji for instance.

The position file must contain columns with the x, y, (z) positions, a frame column and track id column. The positions coordinates can be in pixels or in scaled data. The information about the scaling and other metadata such as time and length scales will be provided by the user through the graphical interface.

Full version installation

To benefit from all the functionalities (especially 3D rendering and hand-drawing selection), you need to install the full version locally on your computer. It is fully written in Python, so you just need to have Python running on your computer. If you haven't installed Python yet, install Python 3.10. For instance, just download miniconda 3.10. Then you can install Track Analyzer in a clean environment using conda.

To do so, run on a Terminal (Mac & Linux) or an Anaconda powershell (Windows):

    conda create -y -n TA_env -c conda-forge python=3.10
    conda activate TA_env

Track Analyzer depends on napari, whose installation can be tricky. For this reason, we recommend to install it independently using conda before installing Track Analyzer using pip.

    conda install -c conda-forge napari pyqt
    pip install track-analyzer

Next, you can next run Track Analyzer using our Jupyter notebook. Don't forget to first activate the environment: conda activate TA_env.

Installation-free version

The installation-free online version is available here. It is run on the web-based platform Galaxy, which is easy to use (some documentation regarding Galaxy is available here). A quickstart tutorial to Galaxy's interface is presented in Track Analyzer's documentation.

Documentation

You can find a complete documentation here.

Troubleshooting

  • The 3D visualization and the drawing selection tool depend on the napari package. The installation of this package can lead to issues depending on your system. If you are not able to solve this installation, you will not be able to have access to 3D rendering. However, you will still be able to use Track Analyzer without the drawing tool, by using coordinates sliders in the graphical interface.
  • The execution of blocks in the Jupyter notebook can be buggy because of the large number of widgets. If you can't normally execute a block by pressing Shift+Enter, use the Execute button at the top of the notebook.

Release files for track-analyzer 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for track-analyzer 0.5
File Size Uploaded
track_analyzer-0.5.tar.gz 14.4 MB Details

Release files / track_analyzer-0.5.tar.gz

Download URL track_analyzer-0.5.tar.gz
Size 14.4 MB
Tags Source
SHA-256 checksum
How to use checksums
193cc1ca2da359f68e14e59cf8eb875932e43a2933d79dc8404bea58f8e6e615
BLAKE2b-256 checksum
How to use checksums
79a00801b28952c23281fcd6348d2f33dc9a1d6019d94d87b998b4c1c37719f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4.1

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page