Small Fish - A User-Friendly Graphical Interface for smFISH Image Quantification
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.
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.
Spot detection is performed via big-fish a python implementation of FishQuant (published work) : https://github.com/fish-quant/big-fish.
The workflow is fully explained in the wiki ! Make sure to check it out.
What can you do with small fish ?
✅ Single molecule quantification
✅ Transcriptomics
✅ Foci quantification
✅ Transcription sites quantification
✅ Nuclear signal quantification
✅ Signal to noise analysis
✅ Cell segmentation
✅ Multichannel colocalisation
Raw 3D fish signal with dapi
2D segmentation
3D Spot detection
Cluster detection
Analysis can be performed either fully interactively throught a Napari interface or performed automatically through a batch processing allowing for reproducible quantifications.
Installation
General setup
If you don't have a python installation yet I would recommend the miniconda distribution; but any distribution should work.
It is higly recommanded to create a specific conda or virtual environnement to install small fish.
As of version 2.1.0 Small Fish runs on python 3.12.
If you are using conda or miniconda
conda create -n small_fish python=3.12
conda activate small_fish
If you are using venv, after installing the official python 3.12, python-venv and python-tk .
python3.12 -m venv python_env/small_fish
source python_env/small_fish/bin/activate
Then download and install the small_fish package with :
pip install small_fish_gui
Docker Set-up
Currently there is no docker available. The reason is that the application GUI dev was initiated on tkinter backend which requires a X server application to run on Windows and MacOS. This cause a need to install 3rd party application to allow the connection between the docker and the display handling on the user computer defeating the purpose of an "easy" installation using Docker. It could still be possible to create an image and a tutorial to properly make the installation if anyone finds it useful, however I would recommend switching the backend of the GUI to Qt with a major graphical update getting rid of FreeSimpleGUI.
Note : I tried switching from FreeSimpleGui to FreeSimpleGuiQt but the two packages are not fully compatible yet and I didn't want to spend the time to resolve the compatibilities issues as I think time would be better spent switching directly to a Qt application.
Setting up GPU
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.
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 :
Note: For MacOS users check first if your GPU is not already set up by launching a segmentation as the drivers might set up automatically upon installation.
pip install --index-url https://download.pytorch.org/whl/cu124 torch torchvision torchaudio
If running into additional problems please look at cellpose documentation.
Run Small fish
First activate your python environnement :
conda activate small_fish
Then launch Small fish :
python -m small_fish_gui
You are all set! Try it yourself or check the get started section in the wiki.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file small_fish_gui-2.3.3.tar.gz.
File metadata
- Download URL: small_fish_gui-2.3.3.tar.gz
- Upload date:
- Size: 456.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daae54bc6e271b41f8465bc35dd1750e2685ebe21b60dd319ad62498c70ebf8a
|
|
| MD5 |
b88946d13d752ef21fcfffc70a9e89d0
|
|
| BLAKE2b-256 |
1641c422ff4fd72c55341e897991f5f445c7f7abd122c4d1b00c8d0e8ad33e3f
|
File details
Details for the file small_fish_gui-2.3.3-py3-none-any.whl.
File metadata
- Download URL: small_fish_gui-2.3.3-py3-none-any.whl
- Upload date:
- Size: 163.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b46ec96b1e5da2919ea2454ab7c40e21385dcda8dcdf317a73ca9e47d9a3c7cb
|
|
| MD5 |
454e3ca355788beeb7aa7d7ef2f60c68
|
|
| BLAKE2b-256 |
16ef22c9ee28d499e12cd16a52888829f8736149f3738236cf96041e1b112d30
|