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 .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.4.3.tar.gz (25.1 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.4.3-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for LineageTree-1.4.3.tar.gz
Algorithm Hash digest
SHA256 cadec7ddd979ce1f29fbbf475e2583be1870b3da0bd2230baef8cd41efe184b0
MD5 495f0fd3398ef8e201f8d7162ab80fb3
BLAKE2b-256 cd88a4f456e7993b643e3c71ae96dd7fce5602030786e61258e76f56220ffa67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LineageTree-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 22.9 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.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f152887e7717bef1b3693c966001b887b30e59fc647a57cadbdac313f3334c
MD5 664d75c871f9209b852df8ce1b639ab3
BLAKE2b-256 288b4973a636ad2f3415d6ed82153733889d65c5dc4e4491f36fe1e7c940c76f

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