Skip to content

ebouilhol/napari-DeepSpot

Repository files navigation

napari-DeepSpot

License PyPI Python Version tests codecov napari hub

RNA spot enhancement for fluorescent microscopy images.


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Installation

You can install napari-DeepSpot via pip:

pip install napari-DeepSpot

Build from source

This plugin is using Tensorflow, make sure your Python environment has Tensorflow, on create a new environment using the following commands:

  • Conda:
    conda env create -f environment.yml
    conda activate deepspot-napari
  • Or pip:
    pip install -r requirements.txt

Usage

Open one or multiple images using Napari GUI : File > Open > Select your image
(Please note that for now only 256px x 256px images are supported)

The images are then displayed on Napari

Load the Plugin: Plugins > Napari-DeepSpot:Enhance Spot

Usage

Click on the right panel Button "Enhance"

Wait a few seconds for the magic to happen :

Usage

You can see the original images and the enhanced version in the left panel in the layer section.

To save the images : File > Save all layers or File > Save selected layers.

Usage

Citation

If you use this plugin please cite the paper:

@article {Bouilhol2021DeepSpot,
author = {Bouilhol, Emmanuel and Lefevre, Edgar and Dartigues, Benjamin and Brackin, Robyn and Savulescu, Anca Flavia and Nikolski, Macha},
title = {DeepSpot: a deep neural network for RNA spot enhancement in smFISH microscopy images},
elocation-id = {2021.11.25.469984},
year = {2021},
doi = {10.1101/2021.11.25.469984},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2021/11/25/2021.11.25.469984},
eprint = {https://www.biorxiv.org/content/early/2021/11/25/2021.11.25.469984.full.pdf},
journal = {bioRxiv}
}

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "napari-DeepSpot" is free and open source software

Known Issues

If you have troubles with the Python packages typing extensions, use the command :
pip install typing-extensions --upgrade

When using "Enhance" on multiple images, Napari may freeze. Just wait until it comes to life again, the images will still be enhanced. This is due to Napari memory usage and will be fix one day.

Coming soon

  • Use different size of images
  • Renaming the enhanced layers
  • Possibility to load another model
  • Working with large volume of images
  • New model from DeepSpot for better enhancement

Other Issues

If you encounter any problems, please file an issue along with a detailed description.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages