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.7.0.tar.gz (41.8 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.7.0-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lineagetree-1.7.0.tar.gz
  • Upload date:
  • Size: 41.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for lineagetree-1.7.0.tar.gz
Algorithm Hash digest
SHA256 6f08388a6b29b41a386ff3f68d2d0910b8dfbbff7d2a78a4ae89df834101cd3c
MD5 de5334df2fc0e577c55c6486d9a14422
BLAKE2b-256 fd6114b681f176d29d8b63c4db4dec92d18582d6571cd6526d9bfa7cf2169c49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LineageTree-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for LineageTree-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a25bad9fa47e5bad05cfc3a8481b4de74ccbd8e64cb601af9eb72cae17c4c62
MD5 69fcfca801fbb2048b196cc385d73d97
BLAKE2b-256 26302675e983a51adef743c2dcdf345e538a1ae22117e30a9993d2a5d1a76ff2

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