Skip to content

HemaxiN/InterphaseCellCycleStaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InterphaseCellCycleStaging

Code developed to perform interphase cell cycle staging of nuclei stained with DAPI. If you are using this code in your research please cite the paper.

Overview

How to use

To run this code please change the following directories in the file classifier.py:

  • img_dir: directory containing the DAPI images

  • msk_dir: directory containing the segmentation masks corresponding to the DAPI images in directory img_dir (To obtain the segmentation masks for the DAPI images use the code available in https://github.com/HemaxiN/YOLO_UNET.)

  • save_dir: directory where the results will be saved

To perform cell cycle staging run the file classifier.py after changing the img_dir, msk_dir and save_dir. After performing classification nuclei classified as S/G2 will have a green bounding box and nuclei classified as G1 will have a red bounding box in the images present in save_dir, as shown in the following figure:

Additionally, a results.csv file containing detailed information regarding nuclei classification will be saved in save_dir. It has the following structure:

Image pred_G1 pred_S_G2
image1.tif 57 27
image2.tif 49 28
..... ....... .........

Each row contains the information for each image in img_dir. The first, second and third columns represent the image name, number of nuclei classified as G1 and number of nuclei classified as S/G2, respectively.

Requirements

This implementation requires the packages listed in requirements.txt.

How to cite

@article{narotamo2021machine,
  title={A machine learning approach for single cell interphase cell cycle staging},
  author={Narotamo, Hemaxi and Fernandes, Maria Sofia and Moreira, Ana Margarida and Melo, Soraia and Seruca, Raquel and Silveira, Margarida and Sanches, Jo{\~a}o Miguel},
  journal={Scientific Reports},
  volume={11},
  number={1},
  pages={1--13},
  year={2021},
  publisher={Nature Publishing Group}
}

About

Official implementation of the paper: "Narotamo, H., Fernandes, M. S., Moreira, A. M., Melo, S., Seruca, R., Silveira, M., & Sanches, J. M. (2021). A machine learning approach for single cell interphase cell cycle staging. Scientific reports."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages