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.1.tar.gz
(21.5 kB
view hashes)
Built Distribution
Close
Hashes for LineageTree-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c6bf45d4a1a68866bf86438c0b7edee2ed57cd4a619dcb2b13350f3ba9e3a43 |
|
MD5 | 88a68565d3fbb44332ef84ff877e3924 |
|
BLAKE2b-256 | ba3f7071e4f317b01bb45c18db4ee2a1f2976ff2cc94877e714660cbc5c718b1 |