fucciphase 0.0.1__py3-none-any.whl → 0.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fucciphase/__init__.py +7 -1
- fucciphase/__main__.py +12 -0
- fucciphase/fucci_phase.py +97 -51
- fucciphase/io.py +16 -12
- fucciphase/main_cli.py +263 -0
- fucciphase/napari/tracks_to_napari.py +14 -16
- fucciphase/phase.py +77 -74
- fucciphase/plot.py +238 -89
- fucciphase/sensor.py +31 -31
- fucciphase/tracking_utilities.py +63 -8
- fucciphase/utils/__init__.py +14 -1
- fucciphase/utils/checks.py +2 -5
- fucciphase/utils/dtw.py +2 -4
- fucciphase/utils/normalize.py +6 -8
- fucciphase/utils/simulator.py +1 -1
- fucciphase/utils/track_postprocessing.py +6 -8
- fucciphase/utils/trackmate.py +12 -12
- fucciphase-0.0.3.dist-info/METADATA +238 -0
- fucciphase-0.0.3.dist-info/RECORD +25 -0
- {fucciphase-0.0.1.dist-info → fucciphase-0.0.3.dist-info}/WHEEL +1 -1
- fucciphase-0.0.3.dist-info/entry_points.txt +3 -0
- fucciphase-0.0.1.dist-info/METADATA +0 -137
- fucciphase-0.0.1.dist-info/RECORD +0 -22
- {fucciphase-0.0.1.dist-info → fucciphase-0.0.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: fucciphase
|
|
3
|
-
Version: 0.0.1
|
|
4
|
-
Summary: Cell cycle analysis plugin.
|
|
5
|
-
Project-URL: homepage, https://github.com/nobias-ht/fucciphase
|
|
6
|
-
Project-URL: repository, https://github.com/nobias-ht/fucciphase
|
|
7
|
-
Author-email: Joran Deschamps <joran.deschamps@fht.org>
|
|
8
|
-
License: BSD-3-Clause
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Classifier: Development Status :: 3 - Alpha
|
|
11
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
-
Requires-Python: >=3.8
|
|
18
|
-
Requires-Dist: dtaidistance
|
|
19
|
-
Requires-Dist: lineagetree<1.5.0
|
|
20
|
-
Requires-Dist: matplotlib
|
|
21
|
-
Requires-Dist: monotonic-derivative
|
|
22
|
-
Requires-Dist: numpy
|
|
23
|
-
Requires-Dist: openpyxl
|
|
24
|
-
Requires-Dist: pandas
|
|
25
|
-
Requires-Dist: scipy
|
|
26
|
-
Requires-Dist: svgwrite
|
|
27
|
-
Provides-Extra: dev
|
|
28
|
-
Requires-Dist: ipython; extra == 'dev'
|
|
29
|
-
Requires-Dist: mypy; extra == 'dev'
|
|
30
|
-
Requires-Dist: pdbpp; extra == 'dev'
|
|
31
|
-
Requires-Dist: pre-commit; extra == 'dev'
|
|
32
|
-
Requires-Dist: rich; extra == 'dev'
|
|
33
|
-
Requires-Dist: ruff; extra == 'dev'
|
|
34
|
-
Provides-Extra: doc
|
|
35
|
-
Requires-Dist: sphinx; extra == 'doc'
|
|
36
|
-
Provides-Extra: jupyter
|
|
37
|
-
Requires-Dist: jupyter; extra == 'jupyter'
|
|
38
|
-
Provides-Extra: test
|
|
39
|
-
Requires-Dist: pytest; extra == 'test'
|
|
40
|
-
Requires-Dist: pytest-cov; extra == 'test'
|
|
41
|
-
Description-Content-Type: text/markdown
|
|
42
|
-
|
|
43
|
-
# fucciphase
|
|
44
|
-
|
|
45
|
-
[](https://github.com/Synthetic-Physiology-Lab/fucciphase/raw/main/LICENSE)
|
|
46
|
-
[](https://pypi.org/project/fucciphase)
|
|
47
|
-
[](https://python.org)
|
|
48
|
-
[](https://github.com/Synthetic-Physiology-Lab/fucciphase/actions/workflows/ci.yml)
|
|
49
|
-
[](https://codecov.io/gh/Synthetic-Physiology-Lab/fucciphase)
|
|
50
|
-
[](https://results.pre-commit.ci/latest/github/Synthetic-Physiology-Lab/fucciphase/main)
|
|
51
|
-
|
|
52
|
-
FUCCI cell cycle analysis plugin.
|
|
53
|
-
Obtain cell cycle information from FUCCI fluorescence intensities.
|
|
54
|
-
|
|
55
|
-
## Installation
|
|
56
|
-
|
|
57
|
-
The best way to run fucciphase is to install it in a virtual conda environment.
|
|
58
|
-
Make sure that git is installed and can be called from the command line.
|
|
59
|
-
|
|
60
|
-
(SOON) To install from pip:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
pip install fucciphase
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
If you wish to install it from source:
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
git clone https://github.com/Synthetic-Physiology-Lab/fucciphase
|
|
70
|
-
cd fucciphase
|
|
71
|
-
pip install -e .
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
The installation should not take longer than a few seconds (depending on your internet connection).
|
|
75
|
-
|
|
76
|
-
To use the notebooks, also install jupyter:
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
pip install jupyter
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
## Usage
|
|
83
|
-
|
|
84
|
-
Fucci phase currently supports loading a
|
|
85
|
-
[TrackMate](https://imagej.net/plugins/trackmate/) XML file:
|
|
86
|
-
|
|
87
|
-
```python
|
|
88
|
-
from fucciphase import process_trackmate
|
|
89
|
-
from fucciphase.sensor import get_fuccisa_default_sensor
|
|
90
|
-
|
|
91
|
-
trackmate_xml = "path/to/trackmate.xml"
|
|
92
|
-
channel1 = "MEAN_INTENSITY_CH3"
|
|
93
|
-
channel2 = "MEAN_INTENSITY_CH4"
|
|
94
|
-
|
|
95
|
-
sensor = get_fuccisa_default_sensor()
|
|
96
|
-
|
|
97
|
-
df = process_trackmate(trackmate_xml,
|
|
98
|
-
channels=[channel1, channel2],
|
|
99
|
-
sensor=sensor,
|
|
100
|
-
thresholds=[0.1, 0.1])
|
|
101
|
-
print(df)
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
The TrackMate XML is converted to a [Pandas](https://pandas.pydata.org/) DataFrame.
|
|
105
|
-
Thus, in general data (e.g., stored in a CSV or XLSX file) that can be parsed into
|
|
106
|
-
a DataFrame is supported.
|
|
107
|
-
|
|
108
|
-
Have a look at the examples in the `example` folder to get more information!
|
|
109
|
-
|
|
110
|
-
The runtime of the scripts depends on your datasize. 2D samples with a few hundred to a few thousand cells
|
|
111
|
-
can be processed in a few minutes. Visualization in Napari can take a bit longer.
|
|
112
|
-
Standard processing does not require a powerful computer.
|
|
113
|
-
Make sure that you have sufficient RAM to load videos for visualization in Napari.
|
|
114
|
-
|
|
115
|
-
## Development
|
|
116
|
-
|
|
117
|
-
To develop fucciphase, clone the repository, install fucciphase in your environment
|
|
118
|
-
and install the pre-commit hooks:
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
git clone https://github.com/Synthetic-Physiology-Lab/fucciphase
|
|
122
|
-
cd fucciphase
|
|
123
|
-
pip install -e ".[test, dev]"
|
|
124
|
-
pre-commit install
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
If you want to build the documentation, replace the abovementioned pip install by:
|
|
128
|
-
```bash
|
|
129
|
-
pip install -e ".[test, dev, doc]"
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
## Cite us
|
|
133
|
-
|
|
134
|
-
Di Sante, M., Pezzotti, M., Zimmermann, J., Enrico, A., Deschamps, J., Balmas, E.,
|
|
135
|
-
Becca, S., Solito, S., Reali, A., Bertero, A., Jug, F. and Pasqualini, F.S., 2025.
|
|
136
|
-
CALIPERS: Cell cycle-aware live imaging for phenotyping experiments and regeneration studies.
|
|
137
|
-
bioRxiv, https://doi.org/10.1101/2024.12.19.629259
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
fucciphase/__init__.py,sha256=8PA6UNaYjycfPpOg7e5ArP3k9Lj9H15Lmw-Mnd14azY,375
|
|
2
|
-
fucciphase/fucci_phase.py,sha256=VgydHVN0nWzC6Eeh0LRaPHdScL2w7C5X7IhGSvyp4qw,6134
|
|
3
|
-
fucciphase/io.py,sha256=ELcoxsPHzcg9tf48MaMNnuSMxe0Fd3Nc9LCWbQ6p4I8,1715
|
|
4
|
-
fucciphase/phase.py,sha256=jy2l9LD81FTk6TIlyWyYPbVnwClGP9N4RrYyqtiMStg,17130
|
|
5
|
-
fucciphase/plot.py,sha256=Obfv2VOHdDN4Az_JUErJ22ESAgHhdsBaavdsS0f6xZ4,18593
|
|
6
|
-
fucciphase/py.typed,sha256=esB4cHc6c07uVkGtqf8at7ttEnprwRxwk8obY8Qumq4,187
|
|
7
|
-
fucciphase/sensor.py,sha256=6-WEI8viI5fSVyKHnECmKYKaROW4tQaPaNW4hHYVAcA,14788
|
|
8
|
-
fucciphase/tracking_utilities.py,sha256=IfKH2fyPo7fkW3PBvQrCz-UcfrdkOj7D-iLJabynvfw,2776
|
|
9
|
-
fucciphase/napari/__init__.py,sha256=At9Shk6HfDf6obtQaM0yKG4NOZVO6YxD2-J1M2ZGm7w,198
|
|
10
|
-
fucciphase/napari/tracks_to_napari.py,sha256=US9uAzGVJi5wAJ4CbUi9XztRFbrMRK7t0oJrQ40aDEg,4094
|
|
11
|
-
fucciphase/utils/__init__.py,sha256=E4wk7ygjHQQ-8vj4VNHseMLE-PQ1bZK2gvDFaO5Z1eU,1011
|
|
12
|
-
fucciphase/utils/checks.py,sha256=ZTe6cq11Y2e3suM3vECqCvvFxQTMOJqXMPS8gdCP7qc,651
|
|
13
|
-
fucciphase/utils/dtw.py,sha256=MDJEJUT9oSz8Iu6SeWFSBhVgZmLnE3CXE_2cbEl6TE8,1682
|
|
14
|
-
fucciphase/utils/normalize.py,sha256=eGytBDjmWcr1OY88McCJNcmy4zioM2DbtQConDoIVRw,6037
|
|
15
|
-
fucciphase/utils/phase_fit.py,sha256=Ht_dEyuLYonv6is9qQ-Xd95pQR7IR-8C8mv0ckDcp4E,1743
|
|
16
|
-
fucciphase/utils/simulator.py,sha256=7bmrO0IWUqsk4CyM-PlVpG2QTJxjTsY1h6buxmTs1iM,2322
|
|
17
|
-
fucciphase/utils/track_postprocessing.py,sha256=cTe3OOCR4dxFBZwN7XdbzDbnsgouoJql8rv4WwvmbM8,14438
|
|
18
|
-
fucciphase/utils/trackmate.py,sha256=dir4ayS1Fl-gtK8NTbP7t7CBLnrumC8LgPiCwxsBf-c,10666
|
|
19
|
-
fucciphase-0.0.1.dist-info/METADATA,sha256=TL-dyIUGTeLdahG5YiQiWhq3i8o3esSpvujY47rLP14,4900
|
|
20
|
-
fucciphase-0.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
21
|
-
fucciphase-0.0.1.dist-info/licenses/LICENSE,sha256=pQGrOGpOTwikEzkZ8Zc9XLQwbaZ85TMJP-GaWCNZciw,1554
|
|
22
|
-
fucciphase-0.0.1.dist-info/RECORD,,
|
|
File without changes
|