small-fish-gui 2.0.1__tar.gz → 2.0.3__tar.gz

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.
Files changed (69) hide show
  1. small_fish_gui-2.0.3/PKG-INFO +125 -0
  2. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/README.md +15 -2
  3. small_fish_gui-2.0.3/error_log.txt +910 -0
  4. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/pyproject.toml +12 -21
  5. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/requirements.txt +3 -2
  6. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/__init__.py +9 -3
  7. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/integrity.py +2 -2
  8. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/pipeline.py +46 -11
  9. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/prompt.py +102 -41
  10. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/update.py +26 -13
  11. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/utils.py +1 -1
  12. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/__init__.py +1 -0
  13. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/_napari_widgets.py +418 -6
  14. small_fish_gui-2.0.3/src/small_fish_gui/gui/layout.py +624 -0
  15. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/napari_visualiser.py +107 -22
  16. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/prompts.py +161 -48
  17. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/testing.ipynb +231 -24
  18. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/tooltips.py +7 -1
  19. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/hints.py +23 -7
  20. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/interface/__init__.py +7 -1
  21. small_fish_gui-2.0.3/src/small_fish_gui/interface/default_settings.py +118 -0
  22. small_fish_gui-2.0.3/src/small_fish_gui/interface/image.py +91 -0
  23. small_fish_gui-2.0.3/src/small_fish_gui/interface/settings.json +50 -0
  24. small_fish_gui-2.0.3/src/small_fish_gui/interface/testing.ipynb +4354 -0
  25. small_fish_gui-2.0.3/src/small_fish_gui/interface/user_settings.py +96 -0
  26. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/main_menu.py +13 -1
  27. small_fish_gui-2.0.1/src/small_fish_gui/pipeline/_signaltonoise.py → small_fish_gui-2.0.3/src/small_fish_gui/pipeline/_bigfish_wrapers.py +59 -7
  28. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/_colocalisation.py +23 -24
  29. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/_preprocess.py +46 -32
  30. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/actions.py +48 -5
  31. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/detection.py +71 -141
  32. small_fish_gui-2.0.3/src/small_fish_gui/pipeline/segmentation.py +745 -0
  33. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/spots.py +3 -3
  34. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/utils.py +5 -1
  35. small_fish_gui-2.0.1/PKG-INFO +0 -75
  36. small_fish_gui-2.0.1/README.md +0 -41
  37. small_fish_gui-2.0.1/error_log.txt +0 -9
  38. small_fish_gui-2.0.1/src/small_fish_gui/.github/workflows/python-publish.yml +0 -39
  39. small_fish_gui-2.0.1/src/small_fish_gui/LICENSE +0 -24
  40. small_fish_gui-2.0.1/src/small_fish_gui/batch/values.txt +0 -65
  41. small_fish_gui-2.0.1/src/small_fish_gui/default_values.py +0 -51
  42. small_fish_gui-2.0.1/src/small_fish_gui/gui/layout.py +0 -404
  43. small_fish_gui-2.0.1/src/small_fish_gui/interface/image.py +0 -59
  44. small_fish_gui-2.0.1/src/small_fish_gui/pipeline/segmentation.py +0 -653
  45. small_fish_gui-2.0.1/src/small_fish_gui/pipeline/testing.ipynb +0 -3636
  46. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/LICENSE +0 -0
  47. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/illustrations/DetectionVitrine_filtre.png +0 -0
  48. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/illustrations/DetectionVitrine_signal.png +0 -0
  49. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/illustrations/FocciVitrine.png +0 -0
  50. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/illustrations/FocciVitrine_no_spots.png +0 -0
  51. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/illustrations/Segmentation2D.png +0 -0
  52. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/illustrations/Segmentation2D_with_labels.png +0 -0
  53. {small_fish_gui-2.0.1/src/small_fish_gui → small_fish_gui-2.0.3}/logo.png +0 -0
  54. {small_fish_gui-2.0.1/src/small_fish_gui/gui → small_fish_gui-2.0.3}/screenshot/general_help_screenshot.png +0 -0
  55. {small_fish_gui-2.0.1/src/small_fish_gui/gui → small_fish_gui-2.0.3}/screenshot/mapping_help_screenshot.png +0 -0
  56. {small_fish_gui-2.0.1/src/small_fish_gui/gui → small_fish_gui-2.0.3}/screenshot/segmentation_help_screenshot.png +0 -0
  57. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/__main__.py +0 -0
  58. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/__init__.py +0 -0
  59. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/input.py +0 -0
  60. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/output.py +0 -0
  61. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/batch/test.py +0 -0
  62. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/animation.py +0 -0
  63. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/gui/theme.py +0 -0
  64. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/interface/inoutput.py +0 -0
  65. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/interface/testing.py +0 -0
  66. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/__init__.py +0 -0
  67. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/_custom_errors.py +0 -0
  68. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/pipeline/test.py +0 -0
  69. {small_fish_gui-2.0.1 → small_fish_gui-2.0.3}/src/small_fish_gui/utils.py +0 -0
@@ -0,0 +1,125 @@
1
+ Metadata-Version: 2.4
2
+ Name: small_fish_gui
3
+ Version: 2.0.3
4
+ Summary: Small Fish is a python application for the analysis of smFish images. It provides a ready to use graphical interface to combine famous python packages for cell analysis without any need for coding.
5
+ Project-URL: Homepage, https://github.com/SmallFishGUI/small_fish_gui
6
+ Project-URL: Wiki, https://github.com/SmallFishGUI/small_fish_gui/wiki
7
+ Project-URL: Issues, https://github.com/SmallFishGUI/small_fish_gui/issues
8
+ Author-email: Slimani Floric <floric.slimani@live.fr>
9
+ License-File: LICENSE
10
+ Classifier: License :: OSI Approved :: BSD License
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3
13
+ Requires-Python: >=3.12
14
+ Requires-Dist: af-eraser>=0.1.0
15
+ Requires-Dist: aicspylibczi>=3.3.1
16
+ Requires-Dist: big-fish-reloaded==0.6.2
17
+ Requires-Dist: cellpose>=4.0.6
18
+ Requires-Dist: czifile>=2019.7.2
19
+ Requires-Dist: freesimplegui>=5.1.1
20
+ Requires-Dist: imageio>=2.34.0
21
+ Requires-Dist: napari-console>=0.0.9
22
+ Requires-Dist: napari-plugin-engine>=0.2.0
23
+ Requires-Dist: napari-plugin-manager>=0.1.0a2
24
+ Requires-Dist: napari-svg>=0.1.10
25
+ Requires-Dist: napari>=0.4.19.post1
26
+ Requires-Dist: napari[all]
27
+ Requires-Dist: numpy>=1.26
28
+ Requires-Dist: openpyxl>=3.1.2
29
+ Requires-Dist: pandas>=2.1.1
30
+ Requires-Dist: pyarrow>=11.0.0
31
+ Requires-Dist: scikit-image>=0.19.1
32
+ Requires-Dist: scikit-learn>=1.3.2
33
+ Requires-Dist: scipy
34
+ Description-Content-Type: text/markdown
35
+
36
+ # Small Fish - A User-Friendly Graphical Interface for smFISH Image Quantification
37
+
38
+ [![License: BSD-2-Clause](https://img.shields.io/badge/License-BSD_2--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)
39
+ [![GitHub stars](https://img.shields.io/github/stars/SmallFishGUI/small_fish_gui.svg?style=social)](https://github.com/SmallFishGUI/small_fish_gui) [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
40
+
41
+ **Small Fish** is a python application for smFish image analysis. It provides a ready to use graphical interface to synthetize state-of-the-art scientific packages into an automated workflow. Small Fish is designed to simplify images quantification and analysis for people without coding skills.
42
+
43
+ Cell segmentation is peformed in 2D and 3D throught cellpose 4.0+(published work) : https://github.com/MouseLand/cellpose; compatible with your own cellpose models.
44
+
45
+ Spot detection is performed via *big-fish* a python implementation of FishQuant (published work) : https://github.com/fish-quant/big-fish.
46
+
47
+ ***The workflow is fully explained in the [wiki](https://github.com/2Echoes/small_fish_gui/wiki) ! Make sure to check it out.***
48
+
49
+ ## What can you do with small fish ?
50
+
51
+ ✅ Single molecule quantification
52
+ ✅ Transcriptomics
53
+ ✅ Foci quantification
54
+ ✅ Transcription sites quantification
55
+ ✅ Nuclear signal quantification
56
+ ✅ Signal to noise analysis
57
+ ✅ Cell segmentation
58
+ ✅ Multichannel colocalisation
59
+
60
+ <p align="center">
61
+ <img src="https://raw.githubusercontent.com/SmallFishGUI/small_fish_gui/main/illustrations/Segmentation2D.png" width="500" title="Fish_signal" alt="Fish signal">
62
+ </p>
63
+ <p align="center"><strong>Raw 3D fish signal with dapi</p></strong>
64
+
65
+ <p align="center">
66
+ <img src="https://raw.githubusercontent.com/SmallFishGUI/small_fish_gui/main/illustrations/Segmentation2D_with_labels.png" width="500" title="Cell segmentation" alt="Segmentation">
67
+ </p>
68
+ <p align="center"><strong>2D segmentation</p></strong>
69
+
70
+ <p align="center">
71
+ <img src="https://raw.githubusercontent.com/SmallFishGUI/small_fish_gui/main/illustrations/FocciVitrine.png" width="500" title="Detection_signal" alt="Detection_signal">
72
+ </p>
73
+ <p align="center"><strong> 3D Spot detection</p></strong>
74
+
75
+ <p align="center">
76
+ <img src="https://raw.githubusercontent.com/SmallFishGUI/small_fish_gui/main/illustrations/FocciVitrine_no_spots.png" width="500" title="Detection filter" alt="detection">
77
+ </p>
78
+ <p align="center"><strong>Cluster detection</p></strong>
79
+
80
+ Analysis can be performed either fully interactively throught a Napari interface or performed automatically through a batch processing allowing for reproducible quantifications.
81
+
82
+ ## Installation
83
+
84
+ ### General setup
85
+
86
+ If you don't have a python installation yet I would recommend the [miniconda distribution](https://docs.anaconda.com/free/miniconda/miniconda-other-installer-links/).
87
+
88
+ It is higly recommanded to create a specific [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [virtual](https://docs.python.org/3.6/library/venv.html) environnement to install small fish.
89
+
90
+ ```bash
91
+ conda create -n small_fish python=3.9
92
+ conda activate small_fish
93
+ ```
94
+ Then download the small_fish package :
95
+ ```bash
96
+ pip install small_fish_gui
97
+ ```
98
+ Results visualisation is achieved through *Napari* which you can install with :
99
+
100
+ ```bash
101
+ pip install napari[all]
102
+ ```
103
+
104
+ ### Setting up GPU
105
+ As of Small Fish 2.0.1 it is **highly** recommanded to set up GPU with cellpose since its new model, CellposeSAM, is very heavy computationally even more when attempting 3D segmentation.
106
+ First of all, try to run small fish gpu without additional commands depending on your configuration it could work straight out of the box. If encoutering any issue try first the following :
107
+
108
+ ```bash
109
+ pip install --index-url https://download.pytorch.org/whl/cu124 torch torchvision torchaudio
110
+ ```
111
+
112
+ If running into additional problems please look at [cellpose documentation](https://cellpose.readthedocs.io/en/latest/installation.html).
113
+
114
+ ### Run Small fish
115
+
116
+ First activate your python environnement :
117
+ ```bash
118
+ conda activate small_fish
119
+ ```
120
+ Then launch Small fish :
121
+ ```bash
122
+ python -m small_fish_gui
123
+ ```
124
+
125
+ You are all set! Try it yourself or check the [get started](https://github.com/2Echoes/small_fish_gui/wiki/Get-started) section in the wiki.
@@ -45,6 +45,9 @@ Spot detection is performed via *big-fish* a python implementation of FishQuant
45
45
  Analysis can be performed either fully interactively throught a Napari interface or performed automatically through a batch processing allowing for reproducible quantifications.
46
46
 
47
47
  ## Installation
48
+
49
+ ### General setup
50
+
48
51
  If you don't have a python installation yet I would recommend the [miniconda distribution](https://docs.anaconda.com/free/miniconda/miniconda-other-installer-links/).
49
52
 
50
53
  It is higly recommanded to create a specific [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [virtual](https://docs.python.org/3.6/library/venv.html) environnement to install small fish.
@@ -57,13 +60,23 @@ Then download the small_fish package :
57
60
  ```bash
58
61
  pip install small_fish_gui
59
62
  ```
60
- <b> (Recommended) </b> Results visualisation is achieved through *Napari* which you can install with :
63
+ Results visualisation is achieved through *Napari* which you can install with :
61
64
 
62
65
  ```bash
63
66
  pip install napari[all]
64
67
  ```
65
68
 
66
- ## Run Small fish
69
+ ### Setting up GPU
70
+ As of Small Fish 2.0.1 it is **highly** recommanded to set up GPU with cellpose since its new model, CellposeSAM, is very heavy computationally even more when attempting 3D segmentation.
71
+ First of all, try to run small fish gpu without additional commands depending on your configuration it could work straight out of the box. If encoutering any issue try first the following :
72
+
73
+ ```bash
74
+ pip install --index-url https://download.pytorch.org/whl/cu124 torch torchvision torchaudio
75
+ ```
76
+
77
+ If running into additional problems please look at [cellpose documentation](https://cellpose.readthedocs.io/en/latest/installation.html).
78
+
79
+ ### Run Small fish
67
80
 
68
81
  First activate your python environnement :
69
82
  ```bash