Skip to main content

A package for tracking cells in 3D time lapse images in deforming organs or moving animals

Project description

3DeeCellTracker

PyPI PyPI - Downloads GitHub Youtube

3DeeCellTracker is a deep-learning based pipeline for tracking cells in 3D time lapse images of deforming/moving organs (eLife, 2021).

Updates:

3DeeCellTracker v0.5.0-alpha has been released

  • Allows you to use StarDist3D for segmentation
  • Reduces the requirements for fine-tuning parameters
  • Decouples the code to facilitate reuse by third-party developers.

Installation

To install 3DeeCellTracker, please follow the instructions below:

Prerequisites

  • A computer with an NVIDIA GPU that supports CUDA. We have tested all examples in a Nvidia Geforce GPU 3090.
  • Anaconda or Miniconda installed.

Steps

  1. Create a new conda environment and activate it by running the following commands in your terminal:

    $ conda create -n track python=3.8 pip
    $ conda activate track
    
  2. Install TensorFlow. We have tested Tensorflow 2.5.0 in our computer.

  3. Install 3DeeCellTracker by running the following command in your terminal:

    $ pip install 3DeeCellTracker==0.5.0a0
    

    After completing the installation steps, you can start using 3DeeCellTracker for your 3D cell tracking tasks within the jupyter notebooks we have provided (See below). If you encounter any issues or have any questions, please refer to the project's documentation or raise an issue in the GitHub repository.

Quick Start

To learn how to track cells using 3DeeCellTracker, please refer to the following notebooks for examples. We recommend using StarDist for segmentation, as we have optimized the StarDist-based tracking programs for more convenient and quick cell tracking.

  1. Train a custom deep neural network for segmenting cells in new optical conditions:

  2. Track cells in deforming organs:

  3. Track cells in freely moving animals:

The data and model files for demonstrating above notebooks can be downloaded here:

Note: Codes above were based on the latest version. For old programs used in eLife 2021, please check the "Deprecated_programs" folder.

Frequently Reported Issue and Solution (for v0.4)

Multiple users have reported encountering a ValueError of shape mismatch when running the tracker.match() function. After investigation, it was found that the issue resulted from an incorrect setting of siz_xyz, which should be set to the dimensions of the 3D image as (height, width, depth).

Video Tutorials (for v0.4)

We have made tutorials explaining how to use our software. See links below (videos in Youtube):

Tutorial 1: Install 3DeeCellTracker and train the 3D U-Net

Tutorial 2: Tracking cells by 3DeeCellTracker

Tutorial 3: Annotate cells for training 3D U-Net

Tutorial 4: Manually correct the cell segmentation

A Text Tutorial (for v0.4)

We have written a tutorial explaining how to install and use 3DeeCellTracker. See Bio-protocol, 2022

How it works

We designed this pipeline for segmenting and tracking cells in 3D + T images in deforming organs. The methods have been explained in Wen et al. bioRxiv 2018 and in Wen et al. eLife, 2021.

Overall procedures of our method (Wen et al. eLife, 2021–Figure 1)

Examples of tracking results (Wen et al. eLife, 2021–Videos)

Neurons in a ‘straightened’
freely moving worm
Cardiac cells in a zebrafish larva Cells in a 3D tumor spheriod

Citation

If you used this package in your research and is interested in citing it here's how you do it:

@article{
author = {Wen, Chentao and Miura, Takuya and Voleti, Venkatakaushik and Yamaguchi, Kazushi and Tsutsumi, Motosuke and Yamamoto, Kei and Otomo, Kohei and Fujie, Yukako and Teramoto, Takayuki and Ishihara, Takeshi and Aoki, Kazuhiro and Nemoto, Tomomi and Hillman, Elizabeth MC and Kimura, Koutarou D},
doi = {10.7554/eLife.59187},
journal = {eLife},
month = {mar},
title = {{3DeeCellTracker, a deep learning-based pipeline for segmenting and tracking cells in 3D time lapse images}},
volume = {10},
year = {2021}
}

Acknowledgements

We wish to thank JetBrains for supporting this project with free open source Pycharm license.

Pycharm Logo Pycharm Logo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

3DeeCellTracker-0.5.1a0.tar.gz (60.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

3DeeCellTracker-0.5.1a0-py3-none-any.whl (63.2 kB view details)

Uploaded Python 3

File details

Details for the file 3DeeCellTracker-0.5.1a0.tar.gz.

File metadata

  • Download URL: 3DeeCellTracker-0.5.1a0.tar.gz
  • Upload date:
  • Size: 60.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for 3DeeCellTracker-0.5.1a0.tar.gz
Algorithm Hash digest
SHA256 eed1271056642bcb083bf1ba69e02e1a4d356523f740f1aa182c4b8d06c8103b
MD5 f5d0d2019e2828355d7c51e9c8a00924
BLAKE2b-256 a00b75364b4f3cc5b0bc3f4f62652386406a58ad9a878813e80de3b999df36b6

See more details on using hashes here.

File details

Details for the file 3DeeCellTracker-0.5.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for 3DeeCellTracker-0.5.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 af7f96b36cd0da55869e37cfda066fc079611253d2814be13226237bc469100c
MD5 9513b3564f94ac2dd84ab8538530cb62
BLAKE2b-256 4e5340cff815fb3ba6abd66e9a855953b970727d590fd6f1683894a0196e8e15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page