Giter Site home page Giter Site logo

sam-freitas / lightsaver Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 4.0 1.58 GB

Fluorescent analysis of individualized C. elegans

License: GNU General Public License v3.0

MATLAB 98.51% Python 1.49%
caenorhabditis-elegans data-science fluorescence fluorescence-microscopy-imaging matlab

lightsaver's Introduction

LightSaver

LightSaver

LightSaver is a powerful data analysis package designed for fluorescent C. elegans imaging. Developed by Samuel Freitas with contributions from Raul Castro-Portugez at the University of Arizona, Sutphin Lab in the Microbiology (MCB) and Biomedical Engineering (BME) departments.

Please note: We're actively working on both a Python version and a standalone application for enhanced accessibility.

Required MATLAB Packages

  • 'Image Processing Toolbox'
  • 'Computer Vision Toolbox'

File Parameters Setup

File Setup

This directory structure is essential for the proper functioning of the multiple_samples -> Lightsaver_batch.m script. In this example, the overarching experiment is the "Example Experiment" folder under the data directory.

Important Notes:

  • The script scans files recursively, sorting them by timepoint (following the nomenclature DN, Day N).
  • Even if there's only a single timepoint, this directory format must still be followed, but with a single sub-experiment folder.

Image Naming Guidelines:

  • Each image should have a descriptive name (e.g., skn-1-HT115-EV_D1_1.tiff, skn-1-HT115-EV_D1_2.tiff). The naming convention typically follows exp-name-and-sumbnames_dayN_replicateN.tiff.

Usage: Automatic Data Processing/Exporting/Analyzing of an Entire Experiment (Recommended)

  1. Set up data as shown above.
  2. Open Lightsaver_batch.m under the multiple_samples directory.
  3. Run the script (press F5 or the run button in MATLAB).
  4. The parameters prompt will ask for experiment-specific details (press OK when completed).
  5. Choose the overarching experiment folder in the selection prompt.
  6. The script will display progress bars and export the data.
  7. Check the "Exported images" folder (usually in documents/github/lightsaver) for the output. Rerun with the "Use large blob fix" flag if needed.

Usage: Data Processing Single Sub-Experiments Individually (Not Recommended Unless Data Is Extremely Noisy and "Bad_images_fix.m" Must Be Used)

  1. Open Ligthsaver_script.m.
  2. Set parameters.
  3. Run lightsaver_script.m.
  4. Choose the directory containing the .tiff images.
  5. Check output data if necessary.

If there are problems:

  • Large blobs? Use the large_blob_fix option in lightsaver_script.m.
  • Major issues? Employ bad_images_fix.m.

Now, you should find a data.csv file in the directory containing the *.tifs.

Usage: Data Analysis (Automatically Analyzed When Using Recommended Settings)

  1. Open and run Data_analysis_and_export.m.
  2. Choose the overarching experiment folder from the dropdown menu.
  3. Verify that "Analyzed_data.csv" is correct and the output_figures directory is present.

lightsaver's People

Contributors

00vsilbar avatar sam-freitas avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.