Skip to main content

Gel Annotate

Gel Annotate is a Python package + GUI tool for automated detection and annotation of gel electrophoresis wells, ladders, and PCR bands.
It was developed for lab workflows to speed up gel image analysis and make the results reproducible and easy to share.


Features

  • Automatic detection of sample wells and ladder wells from gel images (TIFF, PNG, JPG, etc.).
  • PCR band detection with adjustable thresholds.
  • Interactive PyQt5 GUI:
    • View annotated gels with labeled wells/bands.
    • Edit probable wells manually by typing coordinates.
    • Save and reload results (.json).
    • Export results to CSV or JSON.
    • Save annotated PNGs for reports.
  • Command-line interface for batch processing.
  • Cross-platform (Windows, Linux, macOS).
  • Optional desktop/start menu shortcuts for quick access.

Installation

You can install from PyPI:

pip install aer-gel-annotate

On Windows (to allow shortcut creation), install with:

pip install aer-gel-annotate[windows]

Usage

Run the GUI

After installation:

gel-annotate

This opens the GUI application.

Run the CLI

For quick batch analysis:

gel-annotate-cli path/to/gel_image.tif --ladder --detect_bars

GUI Overview

  • Top row:

    • Select an image file.
    • Set detection parameters (comb size, combs per row, ladder/band detection).
    • Run detection.
  • Left sidebar:

    • Manual overrides (force YES/NO for PCR bands).
    • Detected wells and ladder wells (read-only).
    • Probable wells (editable — add/modify coordinates).
    • Save/export options (PNG, CSV, JSON).
    • Load JSON results.
  • Main area:

    • Annotated gel image with labeled wells and bands.

Export & Reload Results

  • CSV: table of wells, ladder wells, bands.
  • JSON: full structured result (including probable wells, ladder bands, etc.).

You can later reload a JSON file into the GUI, edit probable wells, and re-run detection.


Application Shortcuts

  • To create a desktop/start menu shortcut (after installation):
gel-annotate-shortcut
  • On Linux, this creates a .desktop entry under ~/.local/share/applications and your Desktop.
  • On Windows, it creates Gel Annotate.lnk on Desktop and in the Start Menu.
  • On macOS, it creates a Gel Annotate.command launcher on the Desktop.

️ Development

Clone the repository and install in editable mode:

git clone https://github.com/your-org/aer-gel-annotate
cd aer-gel-annotate
pip install -e .[windows]  # add [windows] on Windows

Run the GUI locally:

python -m annotation.gui.gel_gui_wrapper

License

MIT License © 2025 Manan Shah

Metadata

Release files for aer-gel-annotate 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aer-gel-annotate 0.2.4
File Size Uploaded Provenance
aer_gel_annotate-0.2.4.tar.gz 269.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aer-gel-annotate 0.2.4
File Interpreter ABI Platform
aer_gel_annotate-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 540.4 kB

Release files / aer_gel_annotate-0.2.4.tar.gz

Download URL aer_gel_annotate-0.2.4.tar.gz
Size 269.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5d45b7ccfe657f25d80fa05362f88e7392689ec9a895641b3ec80323a5ddacc3
BLAKE2b-256 checksum
How to use checksums
5a9b8b0ef4bbb5c6a3cd6f3d69359ec01e7c6ad4eadc885cbe5344d39e11116f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / aer_gel_annotate-0.2.4-py3-none-any.whl

Download URL aer_gel_annotate-0.2.4-py3-none-any.whl
Size 271.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc7c9cfbf4d5c1d60ebc905a2864067c6728fe4ed2998ec075f773ed264dd50f
BLAKE2b-256 checksum
How to use checksums
8188d2772361c5a103e5753dcc485946e1f0bf4d9cade134f4ad72a1da5ee8e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Security for aer-gel-annotate 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page