Import Trackmate XML files for Track Visualization and analysis in Napari.
Project description
NapaTrackMater
Napari Visualization tool for Trackmate > 6.0 and bTrackmate XML files for 3D + time tracks.
This repository is the bridge between the Fiji and Napari world for exporting and viewing the track XML files using Napari track layer.
Installation
This package can be installed with:
pip install --user napatrackmater
If you are building this from the source, clone the repository and install via
git clone https://github.com/kapoorlab/NapaTrackMater/
cd NapaTrackMater
pip install --user -e .
# or, to install in editable mode AND grab all of the developer tools
# (this is required if you want to contribute code back to NapaTrackMater)
pip install --user -r requirements.txt
Pipenv install
Pipenv allows you to install dependencies in a virtual environment.
# install pipenv if you don't already have it installed
pip install --user pipenv
# clone the repository and sync the dependencies
git clone https://github.com/kapoorlab/NapaTrackMater/
cd NapaTrackMater
pipenv sync
# make the current package available
pipenv run python setup.py develop
# you can run the example notebooks by starting the jupyter notebook inside the virtual env
pipenv run jupyter notebook
Docker
A Docker image can be used to run the code in a container. Once inside the project's directory, build the image with:
docker build -t kapoorlab/NapaTrackMater .
Now to run the track
command:
# show help
docker run --rm -it kapoorlab/NapaTrackMater
# run it with example data
docker run --rm -it -v $(pwd)/examples/data:/input kapoorlab/NapaTrackMater track -f /input -r /input/Raw.tif -s /input/Seg.tif -s /input/Mask.tif -n test
Requirements
- Python 3.9 and above.
License
Under MIT license. See LICENSE.
Authors
- Varun Kapoor randomaccessiblekapoor@gmail.com
- Mari Tolonen
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napatrackmater-4.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e9337787ff54dfe6d30f0f2176b9e92f67807475dcf553e397a0c10caa741fa |
|
MD5 | 4d326ecac47933fb442e84317dc5006c |
|
BLAKE2b-256 | 3e06fb3c84bd63d9b7747abaf49cc5fab2c438a72bd9a1b97096680c0dd0786c |