GithubHelp home page GithubHelp logo

00mjk / aqua Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yu-lab-vt/aqua

0.0 0.0 0.0 3.01 MB

An event-based tool for analyzing and quantifying calcium or neurotransmitter imaging data

MATLAB 90.90% M 0.11% C++ 8.90% C 0.01% Java 0.07%

aqua's Introduction

AQuA Logo


AQuA (Astrocyte Quantification and Analysis) is a tool to detect signalling events from microscopic time-lapse imaging data of astrocytes or other cell types. The algorithm is data-driven and based on machine learning principles, so, potentially, it can be applied across model organisms, fluorescent indicators, experimental modes, cell types, and imaging resolutions and speeds. If you have any feedback or issue, you are welcome to either post issue in Issues section or send email to [email protected] (Guoqiang Yu).

More about AQuA

From raw data to events

  • In vivo and ex vivo
  • GCaMP, GluSnFr
  • And more

Event detection pipeline of AQuA

Extract features from events

  • Size and location
  • Duration, delta F/F, rising/falling time, decay time constant
  • Propagation direction, speed
  • And more

Feature extraction

Graphical user interface

  • Step by step guide
  • Event viewer
  • Feature visualizer
  • Proofreading and filtering
  • Side by side view
  • Region and landmark tool
  • And more

User interface

Download and installation

MATLAB GUI

  1. Download latest version here.
  2. Unzip the downloaded file.
  3. Start MATLAB.
  4. Switch the current folder to AQuA's folder.
  5. Double click aqua_gui.m, or type aqua_gui in MATLAB command line.

We tested on MATLAB versions later than 2017a. Earlier versions are not supported.

MATLAB Without GUI

Use aqua_cmd.m file

  1. Double click aqua_cmd.m file.
  2. Set the folder path 'p0' and target dataset name 'f0'.
  3. Run the file.
  4. The output files will be saved in a subfolder of 'p0'.

Use aqua_batch.m file

  1. Double click aqua_batch.m file.
  2. Set the folder path 'p0', and for each target dataset, set the parameters in AQuA/cfg/parameters_for_batch.csv. Each dataset is corresponding to one parameter setting.
  3. Run the file.
  4. The output files will be saved in subfolders of 'p0'.

Fiji plugin

  1. Download here.
  2. Put the downloaded Aqua.jar to the plugins folder of Fiji.
  3. Open Fiji.
  4. In the Plugins menu, click Aqua.
  5. Open movie and choose project path in AQuA GUI.

Some browsers may show a warning when downloading the 'jar' file. Please choose 'keep file'. Note: The Fiji version do not save the results in 'res' data structure in 'mat' file. If users want to obtain the results and process by themselves, please use MATLAB version.

Getting started

If you are using AQuA for the first time, please read the step by step user guide.

Or you can check the details on output files, extracted features, and parameter settings.

Example datasets

You can try these real data sets in AQuA. These data sets are used in the supplemental of the paper.

Ex-vivo GCaMP dataset

In-vivo GCaMP dataset

GluSnFr dataset

We also provide some synthetic data sets. These are used in the simulation part of the paper.

Synthetic data sets

Reference

Yizhi Wang$, Nicole V. DelRosso$, Trisha V. Vaidyanathan, Michelle K. Cahill, Michael E. Reitman, Silvia Pittolo, Xuelong Mi, Guoqiang Yu#, Kira E. Poskanzer#, Accurate quantification of astrocyte and neurotransmitter fluorescence dynamics for single-cell and population-level physiology, Nature Neuroscience, 2019, https://www.nature.com/articles/s41593-019-0492-2 ($ co-first authors, # co-corresponding authors)

Yizhi Wang, Nicole V. DelRosso, Trisha Vaidyanathan, Michael Reitman, Michelle K. Cahill, Xuelong Mi, Guoqiang Yu, Kira E. Poskanzer, An event-based paradigm for analyzing fluorescent astrocyte activity uncovers novel single-cell and population-level physiology, BioRxiv 504217; doi: https://doi.org/10.1101/504217. [Link to BioRxiv]

Updates

8/20/2020:

This update makes loading preset step compatible with Matlab 2020b.

5/13/2020:

This update changes the exported table's extension from '.xlsx' to '.csv' to avoid the error when the number of detected events is huge.

5/9/2020:

Some users think the results in first step are all they need. This update allows users to skip step 2,3 and 4 so that the first step can be directly used to extract features.

5/8/2020:

This update changes the estimated noise in step 1. Previous version estimated the noise before smoothing and used it to detect active regions, which created inconsistency since the detection is based on the smoothed data. This updated version estimates the noise after smoothing. With the accurate estimation, users can feel safe to set the intensity threshold as 2 or 3 instead of adjusting this parameter extensively and empirically.

2/5/2020:

The update solves the problem that AQuA cannot detect event in the first frame and end frame.

1/18/2020:

Add 'Save waves' button in favorite list part. Users could export the waves data of selected events as '.csv' files.

1/17/2020:

Add area under the curve feature for each event. Users could find them in 'fts.curve' structure. Update the step by step user guide and details on output files, extracted features, and parameter settings.

1/16/2020:

The update adds the features of favorited events into the '.mat' result.

12/20/2019:

Add new functin for cell regions and landmark reigons. The button "->" in the top-left corner of the GUI can let users to drag regions.

12/19/2019:

Solve the issue that the detected events are forced to merge in "aqua_cmd.m" and "aqua_cmd_batch.m".

12/18/2019:

The update fixes one bug existing in 'fix_events'.

12/3/2019:

The update fixes one bug. Now each time "Update features" in GUI is clicked , the proof reading table will be updated.

11/25/2019:

The update changes the GUI panel. Now users could select whether to output feature table or not.

11/22/2019:

The update saves the use of memory, while the results will not change.

10/30/2019:

The update adds the random seed and makes the random variables controllable. Now with same parameter setting, AQuA will give same results. (Due to the randomness, the results will have a little difference before.)

10/19/2019:

Repair the bug in Fiji version that 'minimum correlation' in merging step cannot be set to float data.

10/17/2019:

  1. The update avoids the error report when nothing is detected for aqua_batch.m.

  2. Allow aqua_batch.m to read a batch of cell boundaries and landmarks.

10/16/2019:

The update adds the new script aqua_batch.m which can let users deal with multiple files. MATLAB Without GUI shows how to use it.

aqua's People

Contributors

freemanwyz avatar xuelongmi avatar yu-lab-vt avatar

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.