Skip to main content

Toolbox for the analysis of smFISH images.

Project description

Big-FISH

Build Status codecov License Python 3.6

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.20.2)
  • scikit-image (== 0.14.2)
  • matplotlib (== 3.0.2)
  • pandas (== 0.24.0)
  • mrc (== 0.1.5)

Updated dependencies might break.

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:

  • Use bigfish.stack subpackage for I/O operations, preprocessing and postprocessing.
  • Use bigfish.segmentation subpackage for nucleus and cell segmentation.
  • Use bigfish.detection subpackage for mRNAs detection.
  • Use bigfish.plot subpackage for plotting routines.
  • Use bigfish.classification subpackage for pattern recognition tasks.

Several examples are 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 0.5.0:

  • Switch to tensorflow 2.2.0.
  • Integrate a deep learning model for segmentation.

Version 1.0.0:

  • Complete code coverage.
  • Add sphinx documentation.

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 unitary tests, run :

pytest bigfish

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-0.4.0.tar.gz (91.1 kB view details)

Uploaded Source

Built Distribution

big_fish-0.4.0-py3-none-any.whl (116.3 kB view details)

Uploaded Python 3

File details

Details for the file big-fish-0.4.0.tar.gz.

File metadata

  • Download URL: big-fish-0.4.0.tar.gz
  • Upload date:
  • Size: 91.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for big-fish-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2e19a6b0850df5d0e1c1ef454c1310c35b7aa5e15b9cb7ff3d4fc96aca64e887
MD5 acbbc1faeb6cf8253ef228acc844ae33
BLAKE2b-256 58fa0dc99ec71cbbcdea70d080191baa3949e3296ca635581842c3c62fc94b88

See more details on using hashes here.

File details

Details for the file big_fish-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: big_fish-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 116.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for big_fish-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c53fa2ff992915266fec928644a688e5397943db6334092ecbd9ac291957805f
MD5 53c5a0fd613cec071a50fe2ff5229a4c
BLAKE2b-256 87edf7b19d48903408a4d3650c5ad7037f428760e2fee26feddac4f96a57e75d

See more details on using hashes here.

Supported by

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