PhotoFiTT: Phototoxicity Fitness Time Trial
A Quantitative Framework for Assessing Phototoxicity in Live-Cell
General description of the workflow
PhotoFiTT was designed to quantitatively analyse the impact that fluorescence light excitation has in cell behaviour. PhotoFiTT focuses on three different measurements: (1) Identified pre-mitotic cells, (2) Cell size dynamics and (3) Cell activity. These are the steps to follow to replicate the analysis:
Deep learning based analysis
Follow these steps to detect cells and pre-mitotic rounding events in the data.
- Cell Detection and Quantification (deep learning-based image analysis: This processing is only applied to the first time point of each video.
- Virtual Staining: Use ZeroCostDL4Mic/DL4MicEverywhere Pix2Pix notebook to train a virtual staining model that infers cell nuclei. Analyse the first frame of each video.
- Nuclei Segmentation: Use ZeroCostDL4Mic/DL4MicEverywhere 2D StarDist notebook to apply the pretrained StarDist-versatile model to segment individual nuclei in the virtually stained images.
- Initial Cell Quantification: Count the number of detected nuclei (Use notebook
XXXXX.ipnynbto generate a CSV file with the counts). The number of detected nuclei serves as the baseline cell count for each field of view, enabling tracking of population dynamics over time.
- Pre-mitotic Cell Identification (deep learning-based image analysis):
- For CHO cells imaged with brightfield, you can use our trained StarDist model. Otherwise, manually annotate a representative image set and train a new StarDist model using the corresponding ZeroCostDL4Mic/DL4MicEverywhere notebooks.
Image data Analysis
- Cell Size Analysis and Classification
XXXXX.ipnynb - Quantification of Cellular Activity
XXXXX.ipnynb
Data structure
- The masks and the raw input, should be equally organised by folders, each folder for each condition to be analysed in a hierarchical manner.
For example:
-Raw-images (folder) | |--Biological-replica-date-1 (folder) [Subcaegory-00] | |--Cell density / UV Ligth / WL 475 light [Subcategory-01] | |-- control-condition (folder) [Subcategory-02] | | file1.tif | | file2.tif | | ... | |-- condition1 (folder) [Subcategory-02] | | file1.tif | | file2.tif | | ... | |-- condition2 (folder) [Subcategory-02] | | file1.tif | | file2.tif | | ... | |--Cell density / UV Ligth / WL 475 light [Subcategory-01] ... -Masks (folder) | |--Biological-replica-date-1 (folder) [Subcaegory-00] | |--Cell density / UV Ligth / WL 475 light [Subcategory-01] | |-- control-condition (folder) [Subcategory-02] | | file1.tif | | file2.tif | | ... | |-- condition1 (folder) [Subcategory-02] | | file1.tif | | file2.tif | | ... | |-- condition2 (folder) [Subcategory-02] | | file1.tif | | file2.tif | | ... | |--Cell density / UV Ligth / WL 475 light [Subcategory-01] ...
Package installation
-
The code provides an
environment.yamlfile to create a conda environment with all the dependencies needed. Place your terminal in thephotofittfolder. Use either conda or mamba:git clone https://github.com/HenriquesLab/photofitt.git cd photofitt mamba env create -f environment.yml mamba activate photofitt -
ONCE PUBLISHED You can now install the package using pip install or conda as follows:
-
orpip install photofitt -
conda install photofitt
-
-
Meanwhile:
-
orgit clone https://github.com/HenriquesLab/photofitt.git cd photofitt python setup.py -
orgit clone https://github.com/HenriquesLab/photofitt.git cd photofitt pip install . -
git clone https://github.com/HenriquesLab/photofitt.git cd photofitt conda build conda-recipe/meta.yaml
-
Common error messages
Metadata
Release files for photofitt 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| photofitt-1.0.1.tar.gz | 26.8 kB | Without provenance | Details for photofitt-1.0.1.tar.gz |
Release files / photofitt-1.0.1.tar.gz
| Download URL | photofitt-1.0.1.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0afcbde1cc66a77915d3553f22f471af6ea9fadde8a9d9c1c1a8494d4784466
|
|
BLAKE2b-256 checksum How to use checksums |
966eb49b1d3cd51c70ae094e769a26b84627c53492216493e1b8cf9f82abebf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.0
|
Security for photofitt 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.