Skip to main content

Lineage tree structure

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')

For Mastodon:

lT = lineageTree('path/to/Mastodon.mastodon', file_type='mastodon')

or, for Mastodon csv file:

lT = lineageTree(['path/to/nodes.csv', 'path/to/links.csv'], file_type='mastodon')

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 LineageTree

or, for the latest version if you have cloned the directory:

pip install .

or for the latest version wihtout cloning the directory

pip install git+https://github.com/leoguignard/LineageTree

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.3.0.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

LineageTree-1.3.0-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for LineageTree-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2217bfe5c75fd9abdc2f01bb317b0884f5cd2b7320f4927baa84f8220fdb8498
MD5 d056c9ce5968de8e8235c53e27d421f0
BLAKE2b-256 4ae6630fde4e30d85f859cc85cc7cbf090a26006202e015eee3fd516bb82d376

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for LineageTree-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7dbec60a7864d08497fc15c7ce7141b7b616d3f13806a90d02853254bbd69829
MD5 3121f0540699a5c8153742baa8fe5436
BLAKE2b-256 1a3fb0498cc3103f9cf8aa571da266eab193ff55f2eab75aa707849c8a90ab7c

See more details on using hashes here.

Supported by

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