FIA-tools quantifies and measures the area of double-strand break (DSB) foci in multi-level 3D confocal images of cancer-associated fibroblasts. It used ImageJ to process images and count elements and pretrained models from StarDist to recognize cell nuclei. The program can be adapted to analyze any foci/specks detected by immunofluorescence (IF) staining, utilizing a nuclei mask for segmentation.
The project is developed as a part of the research Pulsed low-dose-rate radiation reduces the tumor-promotion induced by conventional chemoradiation in pancreatic cancer-associated fibroblasts in the Edna (Eti) Cukierman lab.
To download and install git please visit Git Download page.
To download and install conda please visit Miniforge github
To install the package please follow these steps:
git clone https://github.com/alexdolskii/FIA-tools.git
cd FIA-tools
conda env create -f environment.yaml
conda activate fia-toolsThe main input for all of the programms is input_paths.json. Therefore, previously it have to be modified. This file should contain a list of folders with .nd2 images. The file can contain as many folders as needed.
Further, to implement analysis run all of the programs one after another:
Make the script executable
chmod +x code/1_select_channels.pyRun command
code/1_select_channels.py -i input_paths.jsonMake the script executable
chmod +x code/2_analyse_nuclei.pyRun command
code/2_analyse_nuclei.py -i input_paths.jsonMake the script executable
chmod +x code/3_filter_imgs.pyRun command
code/3_filter_imgs.py -i input_paths.jsonTo customize the thresholds for nuclei and foci please use other arguments
code/3_filter_imgs.py -i input_paths.json -p 2000 -f 100Make the script executable
chmod +x code/4_calculate_nuc_foci.pyRun command
code/4_calculate_nuc_foci.py -i input_paths.jsonTo delve into more details of program usage please visit FIA_tools notebook
This program utilizes the following tools:
-
Fiji This project used Fiji for preprocessing into preprocess image stacks as contrast enhancement, filtering, and particle analysis.
Fiji is an open-source distribution of ImageJ focusing on image analysis.
- Repository: Fiji
- License: GPL License
-
StarDist In this project, the standard StarDist model was employed to generate high-quality nuclei masks from image data, significantly improving segmentation accuracy and reducing background noise issues commonly encountered in immunofluorescence (IF) image analysis.
- Repository: StarDist
- License: BSD 3-Clause License
Enjoy your use 💫