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:
- TGMM algorithm outputs described in Fernando et al. 2014
- TrackMate files described in Tinevez et al. 2017
- MaMuT files described in Wolff et al. 2018
- SVF algorithm outputs described in McDole, Guignard et al. 2018
- ASTEC algorithm outputs described in Guignard, Fiuza et al. 2020
- and few others
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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(21.7 kB
view details)
Built Distribution
File details
Details for the file LineageTree-1.2.0.tar.gz
.
File metadata
- Download URL: LineageTree-1.2.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a09ecb4c5a97a9ea7ce1d3cfacc0ccdaeb9b8f1b14ba6caf2b382790b92e570 |
|
MD5 | 79fd693e3d686f4383749ebfe04672e6 |
|
BLAKE2b-256 | d924702d79b77627088959787eead1e9d3632e43cbe78340fcc7de714202d1a6 |
File details
Details for the file LineageTree-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: LineageTree-1.2.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ccf0312fb9df4637bcfc55f1fd56347d88629c808adea8b7b00c125d13fed1 |
|
MD5 | 2531397e5c66477901701d12e6839df8 |
|
BLAKE2b-256 | 05ace83439ae718cb172fbb77cccede69d3678b1b36e05cf10e6d786b5931287 |