Skip to main content

Lineage tree structure for TGMM algorithm

Project description

LineageTree

This library allows to import and work with cell (but not limited to cells) lineage trees. With LineageTree you can read from:

Description of the repository

  • src: folder containing the package
  • setup.py: Installation script
  • README.md: This file
  • LICENCE: The licence describing file

Basic usage

Once installed the library can be called the following way (as an example):

from LineageTree import lineageTree

and one can then load lineage trees the following way:

For ASTEC data:

lT = lineageTree('path/to/ASTEC.pkl', file_type='ASTEC')

or

lT = lineageTree('path/to/ASTEC.xml', file_type='ASTEC')

For SVF:

lT = lineageTree('path/to/SVF.bin')

For MaMuT:

lT = lineageTree('path/to/MaMuT.xml', file_type='MaMuT')

For TrackMate:

lT = lineageTree('path/to/MaMuT.xml', file_type='TrackMate')

For TGMM:

lT = lineageTree('path/to/single_time_file{t:04d}.xml', tb=0, te=500, file_type='TGMM')

Dependencies

Some dependecies are requiered:

  • general python dependecies:
    • numpy, scipy
  • specific dependency:
    • svgwrite if svg output is needed

Quick install

To quickly install the library together with its dependencies one can run:

pip install .

or

python setup.py install [--user]

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

LineageTree-1.0.2.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

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

LineageTree-1.0.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file LineageTree-1.0.2.tar.gz.

File metadata

  • Download URL: LineageTree-1.0.2.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for LineageTree-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6223ac027e7c047210a65588fe0d02e69ed517ad6c1722d66abfc45759204bf3
MD5 b307b814eab23534e377bb57acce6027
BLAKE2b-256 58554032170c78f95576bda86c82a55b0716a47190ece57f839fe24afa244789

See more details on using hashes here.

File details

Details for the file LineageTree-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: LineageTree-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for LineageTree-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e200ad51399bc798ffd72a497cc5646a22f42d5e46c5248fc19420d039cb10f
MD5 d291307e01c81e127579f2458ff25182
BLAKE2b-256 86a5ab9dcce26182bf290ee09cb063ed2f0c3d5b611d74d2e213f0a818594195

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