GithubHelp home page GithubHelp logo

alexiaales / spotitpy Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 26.31 MB

An automated tool for Object-based colocalization in fluorescence microscopy images.

Home Page: https://www.garinislab.gr/

License: MIT License

Python 100.00%
python colocalization microscopy particle-tracking cell-segmentation automation

spotitpy's Introduction

SpotitPy

We present a novel automatic tool for object based colocalization which comes in a simple graphical user interface that requires no programming experience hence rendering it ideal for researchers at all levels. SpotitPy allows the user to select the images of interest and perform: i) an automated and robust segmentation of the region of interest (ROI), ii) contemporary pre-processing manipulations for de-noising and iii) an in depth analysis of the co-localization between objects in two different channels.

Introduction

We have developed a free and open source tool implemented in python which allows an object based colocalization analysis with quantifications. The algorithm per se is implemented in both a user friendly plugin and in a command line version which enables more flexible processing options. This tool is applicable to a large variety of biological objects and provides a novel automated approach to extract quantifiable results of object based colocalization analysis while incorporating algorithms for background and noise suppression. The software generates two complementary outputs, one with the quantifications of the selected image and another for visual inspection of the analysis. Together we provide researchers with a user friendly tool that allows to perform a fast, reproducible and robust way of quantifying co-localized particles within a limited time. To illustrates the performance of this software we have applied it on the dataset.

Local Installion

Steps required in order to get SpotitPy running on your PC.

pip install 'package'

Prerequisites

To use this software you need to have Python >= 3.8 and all this additional packages:

  • mxnet_mkl
  • pyqtgraph
  • PyQt5
  • numpy (>=1.20.0)
  • numba
  • scipy
  • natsort
  • readlif
  • matplotlib
  • pandas
  • read_lif
  • cellpose
  • scikit-image
  • trackpy
  • seaborn

Linux and Windows are supported for running this code. For running the graphical user interface you will need Windows. At least 8GB of RAM is required to run this software. This softaware has been heavily tested on Windows 10 and Ubuntu 20.04.3. Internet connection is required for installation. Please open an issue if you face any problems.

Running SpotitPy

In order to start the CLI version of SpotitPy, open a command line terminal, anaconda prompt is advised. and then type the following:

 python SpotitPy_CLI.py -i 020721_ch2DDX6.lif -o results -m cyto -f 2 -u 3 --pc1 90 --pc2 80 -t 5 -s 2 -w 1 -b 2 -g 3 --auto off

Parameter setting

The user should specify the parameters before running. In case the user doesn't specify all of the parameters the default ones will be used. The default parameters have been set as following: tracking space: 5px , sigma: 2 , percentiles(both) : 90 , ch0: 1, ch1: 2, ch2: 3, noise level: 3 and the output files will be called 'result.xlsx/result.pdf'

Options Description
-- i input file
-- o output file
-- m model: cyto/nuclei
-- f from image
-- u until image
-- pc1 1st colocalized channel percentile
-- pc2 2nd colocalized channel percentile
-- t tracking space
-- s gaussian sigma
-- ch0 nucleus channel
-- ch1 1st colocalized channel
-- ch2 2nd colocalized channel
-- nl WBNS noise level
-- auto Automatic mode

Using the GUI

The available GUI version provides more instructions and a page in the documentation here. A brief a summary of the functions provided by the GUI is depicted here:

alt text

Comparison of GUI and CLI

Parameter GUI CLI
Input file yes yes
Output file no yes
Model yes yes
Image selection yes yes
Percentile def yes yes
Tracking space no yes
Gaussian sigma yes yes
Channel selection yes yes
WBNS noise level no yes
Automatic mode no yes
Overlap percentage no yes

Built With

  • Cellpose - A generalist algorithm for cellular segmentation
  • WBNS - Wavelet-based Background and Noise Subtraction
  • Trackpy - Python particle tracking toolkit

Common issues

  • Images must be in RGB and lif format
  • Images stacks must not exceed 30 stacks
  • Avoid providing image with great heterogenosity of cells since it might lead to non represenattive results

Authors

  • Vivian Kalamara - link
  • Alexia Akalestou-Clocher -link
  • Pantelis Topalis - link
  • George Garinis - link

License

This project is licensed under the GNU GPL v3 - see the LICENSE.md file for details

spotitpy's People

Contributors

alexiaales avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

davidchoi76

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.