about this app
gigaseal is a batch electrophysiology feature-extraction toolkit for
.abf and .nwb recordings. This page is a
browser-based equivalent of the desktop GUI: pick a file, choose an
analysis module, edit parameters, run, view results, export CSV / Excel.
two deployment profiles, one codebase
The same Flask app ships in two profiles, switched by a single env var:
- public — caps uploads at 5 files × 50 MB, anonymous, rate-limited. The instance you're using right now.
- lab — no caps, optional bearer-token auth, optional NFS-mounted server-side file picker. Run it on a lab VM.
public data from DANDI
You can analyse public recordings from the DANDI Archive without downloading them yourself. Paste a link into import public data from DANDI and press fetch:
- a dandiset, e.g.
https://dandiarchive.org/dandiset/000020,DANDI:000020or just000020. A list of its.nwbfiles opens; filter it by name and add the ones you want. A…/files?location=sub-…link opens that folder. - one file: the file's download link
(
https://api.dandiarchive.org/api/assets/<id>/download/), a Neurosift link, adandi://dandi/<id>/<path>.nwbURL or a bare asset id. The file is imported straight away.
The server downloads the file from DANDI into your session, where it behaves exactly like an upload: it counts toward the same 5 files × 50 MB limit and is deleted with the session. Only intracellular (icephys) NWB files with current-clamp sweeps can be analysed; other files are rejected on import. Published dandisets open at their latest published version.
Most DANDI data is shared under CC-BY-4.0: if you use results derived from it, cite the dandiset. Hover the DANDI badge next to an imported file for its citation and licence, or click it to open the dandiset.
self-host with Docker
git clone https://github.com/smestern/gigaseal
cd gigaseal
docker build -t gigaseal-web .
docker run -p 8000:8000 \
-e GIGASEAL_WEB_PROFILE=lab \
-e GIGASEAL_API_TOKEN=changeme \
-v /path/to/abfs:/data:ro \
-e GIGASEAL_SERVER_PATH_ROOT=/data \
gigaseal-web
pulling features
- Presets (“what to extract”) run one or more analyses.
Each analysis's parameters are listed under parameters;
edited fields are highlighted and reset restores the defaults.
Multi-analysis presets add a
Cell Summary sheet: one row per file, columns prefixed by
analysis (e.g.
spike.threshold_v). - Protocols: an NWB file can hold several protocols
(e.g. Long Pulse / Short Pulse). Each one is listed under the file and
is its own recording: click it to plot it, and “run current recording”
analyses only that protocol. “run all files” analyses every protocol,
or only the one picked in protocols for “run all files”.
Results carry a
protocolcolumn with one row per (file, protocol). - Custom runs a single module with your own parameters.
- features… picks which columns to show and export; the choice is remembered in your browser per analysis and sheet.
- Exports: Excel (every sheet in one workbook), a zip
of CSVs, or the current sheet as CSV. List-valued cells (per-spike
values) are written as
;-separated text. - Scripted access:
POST /api/jobswith{"preset": "full_profile", "params": {"spike": {"dv_cutoff": 10}}}or{"module": "spike", "params": {…}}, pollGET /api/jobs/<id>, thenGET /api/jobs/<id>/export.xlsx.
architecture
The analysis logic itself is unchanged: every job runs through
gigaseal.analysis.run_batch, the same entry point the
desktop GUI uses. The web layer is a thin shell — session storage,
a job queue with a concurrency cap, and a Plotly / Tabulator
frontend served by Flask.