Toolbox to simulate smFISH images.
Project description
Sim-FISH
Sim-FISH is a python package to simulate smFISH images. The package allows the user simulate and localize spots, cells and nuclei. The ultimate goal is to provide toy images to experiment, train and evaluate smFISH statistical analysis.
User can simulate images of spots and clusters with different level of noise...
Spots | Clustered spots |
---|---|
... or localization patterns within subcellular regions.
Perinuclear pattern | Foci pattern |
---|---|
Installation
Dependencies
Sim-FISH requires Python 3.6 or newer. Additionally, it has the following dependencies:
- big-fish (>= 0.6.1)
- joblib (>= 0.13.2)
- numpy (>= 1.16.0)
- scikit-image (>= 0.14.2)
- matplotlib (>= 3.0.2)
- pandas (>= 0.24.0)
Virtual environment
To avoid dependency conflicts, we recommend the the use of a dedicated virtual or conda environment. In a terminal run the command:
conda create -n simfish_env python=3.6
source activate simfish_env
We recommend two options to then install Sim-FISH in your virtual environment.
Download the package from PyPi
Use the package manager pip to install Sim-FISH. In a terminal run the command:
pip install sim-fish
Clone package from Github
Clone the project's Github repository and install it manually with the following commands:
git clone git@github.com:fish-quant/sim-fish.git
cd sim-fish
pip install .
Usage
Sim-FISH provides a toolbox to simulate smFISH images. A complete documentation is available online.
This package is part of the FISH-Quant framework.
Support
If you have any question relative to the repository, please open an issue. You can also contact Arthur Imbert.
Roadmap (suggestion)
Version 0.Y.0:
- Improve background noise simulation.
- Improve PSF simulation.
- Cell and nucleus simulation in 2D.
- Cell and nucleus simulation in 3D.
- Allow benchmark and valuation pipeline.
- Add simulation of colocalized spots
- Add examples
Version 1.0.0:
- Complete code coverage.
Development
Source code
You can access the latest sources with the commands:
git clone git@github.com:fish-quant/sim-fish.git
cd sim-fish
git checkout develop
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Testing
Please make sure to update tests as appropriate if you open a pull request. You can install exacts dependencies and specific version of pytest by running the following command:
pip install -r requirements_dev.txt
To perform unit tests, run :
pytest simfish
Citation
If you exploit this package for your work, please cite:
Arthur Imbert, Wei Ouyang, Adham Safieddine, Emeline Coleno, Christophe Zimmer, Edouard Bertrand, Thomas Walter, Florian Mueller. FISH-quant v2: a scalable and modular analysis tool for smFISH image analysis. bioRxiv (2021) https://doi.org/10.1101/2021.07.20.453024
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file sim-fish-0.2.0.tar.gz
.
File metadata
- Download URL: sim-fish-0.2.0.tar.gz
- Upload date:
- Size: 718.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd9840284b935ce69364500b9ef708a67953d3390c8a5e4cb736073ff064606 |
|
MD5 | 37674170af89dfa10d877ea47f56cedd |
|
BLAKE2b-256 | e1912f7b535f8410e7558ab53f8b1e658ac49a4ebe0561047f80ef15ffd72f8e |
File details
Details for the file sim_fish-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: sim_fish-0.2.0-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f494165531b5fe3b1451a2549067ef7b5f55a3a541943cf85c429a51069579c6 |
|
MD5 | 512963bafe0c65583063f9cdb178c415 |
|
BLAKE2b-256 | 7b0104f748ed2ea620c28de4bbcdefa3cb1b3eb1b04b42be497a3ba8a7a314f7 |