Skip to main content

Toolbox for the analysis of smFISH images.

Project description

Big-FISH

Fork Notes : update import for segmentation module for compatibility with python >3.8

PyPI version Build Status Documentation Status codecov License Python version

Big-FISH is a python package for the analysis of smFISH images. It includes various methods to analyze microscopy images, such spot detection and segmentation of cells and nuclei. The package allows the user represent the extract properties of a cell as coordinates (see figure below). The ultimate goal is to simplify large scale statistical analysis and quantification.

Cell image (smFISH channel) and its coordinates representation

Installation

Dependencies

Big-FISH requires Python 3.6 or newer. Additionally, it has the following dependencies:

  • numpy (>= 1.16.0)
  • scipy (>= 1.4.1)
  • scikit-learn (>= 0.24.0)
  • scikit-image (>= 0.14.2)
  • matplotlib (>= 3.0.2)
  • pandas (>= 0.24.0)
  • mrc (>= 0.1.5)

For segmentation purpose, two additional dependencies can be requested:

  • tensorflow (== 2.3.0)
  • tensorflow-addons (== 0.12.1)

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 bigfish_env python=3.6
source activate bigfish_env

We recommend two options to then install Big-FISH in your virtual environment.

Download the package from PyPi

Use the package manager pip to install Big-FISH. In a terminal run the command:

pip install big-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/big-fish.git
cd big-fish
pip install .

Usage

Big-FISH provides a toolbox for the full analysis pipeline of smFISH images. A complete documentation is available online.

This package is part of the FISH-Quant framework and several examples are also available as Jupyter notebooks.

Support

If you have any question relative to the repository, please open an issue. You can also contact Arthur Imbert or Florian Mueller.

Roadmap (suggestion)

Version 1.0.0:

  • Complete code coverage.
  • Unpin deep learning dependencies
  • Add a pretrained pattern recognition model

Development

Source code

You can access the latest sources with the commands:

git clone git@github.com:fish-quant/big-fish.git
cd big-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 bigfish

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

big_fish_reloaded-0.6.2.tar.gz (416.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

big_fish_reloaded-0.6.2-py3-none-any.whl (123.5 kB view details)

Uploaded Python 3

File details

Details for the file big_fish_reloaded-0.6.2.tar.gz.

File metadata

  • Download URL: big_fish_reloaded-0.6.2.tar.gz
  • Upload date:
  • Size: 416.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for big_fish_reloaded-0.6.2.tar.gz
Algorithm Hash digest
SHA256 251d89ea917ebf245e9777d13a9921bd54a572d36d5d5adc2187da39d61cb84b
MD5 3b66fc06fce44241b11b10e4bd6f9e9a
BLAKE2b-256 c4c82eb8d81a4f5c25f3aa37b7745e34f2741e50065c5ff94c53cd51000b9d6d

See more details on using hashes here.

File details

Details for the file big_fish_reloaded-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for big_fish_reloaded-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56036b481a90337f31008444b87bb18e0be11db9510af3db61a773ff3b0b1606
MD5 c0bcc476926bf3b907d9133eac9effe1
BLAKE2b-256 6bdede19398e61d7e3842f5a431db80dad5e8bcdba46e5cfb8a47c18e41c5373

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page