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:

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 .lT files:

lT = lineageTree('path/to/file.lT')

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

Uploaded Source

Built Distribution

LineageTree-1.5.1-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file lineagetree-1.5.1.tar.gz.

File metadata

  • Download URL: lineagetree-1.5.1.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for lineagetree-1.5.1.tar.gz
Algorithm Hash digest
SHA256 28453d37d9ea9b83568d34aad48fabd4367680ed6f4efa8e252edb9e43bc30e3
MD5 111bf5b542e1b5b771d80b51a76d5207
BLAKE2b-256 6c66623a88643aa07fefd5ed7c8260d4fd9a724d63ce48f55c1732b5d83b8d7d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for LineageTree-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f99cd0309736043fc259a12f9d05db7e94be3087eed275ba5adca6a5abb237c2
MD5 32e527073526dc110cbb1a598ee7e2c1
BLAKE2b-256 aab7ce529bf0be28f2daf6d1b140ea2ecbbbf458eabc96ae3933e1d3f2560118

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