lightsaver
Fluorescent analysis of individualized C. elegans without using neural networks
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.8%) to scientific vocabulary
Keywords
Repository
Fluorescent analysis of individualized C. elegans without using neural networks
Basic Info
Statistics
- Stars: 6
- Watchers: 1
- Forks: 4
- Open Issues: 0
- Releases: 2
Topics
Metadata Files
readme.md
LightSaver

LightSaver is a powerful data analysis package designed for fluorescent C. elegans imaging. Developed by Samuel Freitas with contributions from Raul Castro-Portugez, Vanessa Hofschneider, and Lainey Wait 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.
Installation (github desktop)
Install Github Desktop (URL below) and register a Github account (highly suggested to NOT use your .edu account)
https://github.com/apps/desktop
copy this URL
https://github.com/Sam-Freitas/LightSaver
Go to File>Clone repository (Ctrl+Shift+O) On the top bar click on the URL tab Paste the previously copied URL and click 'Clone'
Required MATLAB Packages
- 'Image Processing Toolbox'
'Computer Vision Toolbox' (Install this one first, it should install the Image Processing Toolbox as well)
- Can be found under APPs (top bar) > Get More APPs > search and install 'Computer Vision Toolbox'
Required Python Modules
matplotlib, natsort, numpy, opencvpython, opencvpythonheadless, pandas, PyQt6, PyQt6sip, scipy, scikit-image
- Can be installed via pip from the requirements.txt in the
python_scriptsfolder in a terminal (powershell, cmd, etc)python -m pip install -r /path/to/scripts_python/requirements.txt
- Can be installed via pip from the requirements.txt in the
File Parameters Setup

This directory structure is essential for the proper functioning of the
multiple_samples -> Lightsaver_batch.mscript. 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.
- The Data analysis and export section of the code will check for a number at the end of each file name (replicateN), additionally the system groups by removing any and all items that are consistent between ALL of the image names. Therefore if an unexpected result pops up the first check should be the image names and MAKING SURE that they are consistent with each other
- Please be aware the system automatically removes anything matching 001,002.....009 from the image names, these are usually an unwanted addition by the "export" feature of microscopes
Usage: Automatic Data Processing/Exporting/Analyzing of an Entire Experiment (Recommended)
- Set up data as shown above.
- Open
Lightsaver_batch.morLightSaver_batch.pyunder the respective python or matlab directories. - Run the script (press F5 or the run button in MATLAB or your choice of python IDE -- vscode tested).
- The parameters prompt will ask for experiment-specific details (press OK when completed).
- Choose the overarching experiment folder in the selection prompt.
- The script will display progress bars and export the data.
- 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 "Badimagesfix.m" Must Be Used)
- Open
Ligthsaver_script.m. - Set parameters.
- Run
lightsaver_script.m. - Choose the directory containing the .tiff images.
- 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)
- Open and run
Data_analysis_and_export.m. - Choose the overarching experiment folder from the dropdown menu.
- Verify that "Analyzeddata.csv" is correct and the `outputfigures` directory is present.
Owner
- Name: Samuel "Sam" Freitas
- Login: Sam-Freitas
- Kind: user
- Location: Tucson, Arizona
- Company: University of Arizona
- Website: https://scholar.google.com/citations?user=_vYUUR4AAAAJ&hl=en
- Repositories: 7
- Profile: https://github.com/Sam-Freitas
R&D Engineer at the University of Arizona studying the biology of aging || Robotics || AI || Data science || Biology ||
Citation (CITATION.cff)
cff-version: 1.2.0
title: LightSaver
message: Please Cite LightSaver if Used
type: software
authors:
- given-names: Samuel
family-names: Freitas
email: samfreitas@arizona.edu
name-particle: Samuel
affiliation: University of Arizona
orcid: 'https://orcid.org/0000-0002-9129-4715'
identifiers:
- type: doi
value: 10.1101/2021.06.01.446651
description: First published usage
repository-code: 'https://github.com/Sam-Freitas/LightSaver'
abstract: Fluorescent analysis of individualized C. elegans
keywords:
- fluorescent-imaging
- C. elegans
- bioengineering
license: GPL-3.0
commit: Beta release
version: '0.1'
date-released: '2023-02-06'
GitHub Events
Total
- Create event: 1
Last Year
- Create event: 1