OpenReadout

v0.4.0
io.github.openreadout/openreadout Checked 2 hours ago Published 1 month ago

Read raw lab-instrument files offline: metadata, previews, integrity checks, open-format export.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

openreadout_assay

Plate-reader exports, with the layout the file stores or `layout`. analysis: wells (per-well values, blank subtraction, replicate mean/SD/CV, outliers), curve (standard curve, back-calculated concentrations, LLOQ/ULOQ), dose-response (IC50/EC50 per compound with CI and Hill slope), kinetics (Vmax, lag, AUC per well), growth (growth rate, doubling time, lag, logistic fit, and whether each well grew, crashed or regrew, with times), qc (Z′, S/B, S/N, SSMD). An argument that names analyses applies to those only.

ParameterTypeDescription
analysis *stringWhat to compute. `wells` = Per-well and per-replicate-group values: roles, blank subtraction, mean, SD, CV %, outliers; `curve` = Standard curve (linear, 4PL, 5PL) and back-calculated concentrations o…
file *stringPath to the file or data-set directory.
blank_wellsstringWells to mark as blanks (`H1,H2`, `H1:H12`).
confidencenumbercurve, dose-response: confidence level of intervals. Default 0.95.
fieldsarrayRows show their main fields to 4 significant digits (growth: pattern, growth_rate_per_h, doubling_time_h, lag_time_s, max_value, time_to_max_s, crash_s, trough_s, regrowth_s). fields adds others, e.g.…
fit_onstringcurve: fit every standard replicate or the level means. Default `replicates`. `replicates` = Every standard well (replicates as separate points); `means` = The mean of each standard level.
growth_thresholdnumbergrowth: values at or below this are left out of the log-scale fit. Default 5 % of each well's maximum.
layoutstringPlate-layout file: CSV/TSV, a plate-map grid (blocks whose corner cell names the field: role, sample, compound, concentration, dilution) or a long table with a `well` column.
lloqnumbercurve: lower limit of quantification (overrides the recovery rule).
modelstringcurve, dose-response: the model. Default `4pl`. `linear` = y = slope · x + intercept; `4pl` = Four-parameter logistic: y = d + (a − d) / (1 + (x/c)^b); `5pl` = Five-parameter logistic: y = d + (a â…
negative_wellsstringWells to mark as negative controls (no effect / vehicle).
normalizestringwells, dose-response, qc: percent effect from the controls. Default `none`. `none` = the (blank-subtracted) signal; `controls` = percent effect: 0 % = the negative control (vehicle) mean, 100 % = the…
plate_optionsRarely needed plate options.
plotbooleancurve, dose-response: also return a PNG of the points and the fitted curve.
positive_wellsstringWells to mark as positive controls (full effect / maximum signal).
reducestringwells, curve, dose-response, qc on a kinetic read: how each well's time course becomes one value. `first` = first time point; `last` = last time point; `max` = largest value; `min` = smallest value; `…
standardsstringcurve: standards as `WELLS=CONCENTRATION` items separated by `;` (`A1,A2=100;B1:B2=50`). Default: the layout's.
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
uloqnumbercurve: upper limit of quantification (overrides the recovery rule).
weightingstringcurve, dose-response: fit weighting. Default `none`. `none` = Every point weight 1 (ordinary least squares); `1/y` = w = 1/|y|; `1/y2` = w = 1/y²; `1/x` = w = 1/x (x > 0); `1/x2` = w = 1/x² (x > 0).
wellsstringOnly these wells (`A1:H6`); the layout's blanks and controls are still used.
windowintegerPoints per sliding window (reduce=max-slope, kinetics, growth). Default: 5 or a tenth of the time points, whichever is larger.

openreadout_batch

One measure over many files as one tidy table, optionally joined to sample sheets or plate maps (the join key is chosen from the data and reported in joins[] with unmatched rows) and summarized by group (by; test against a control). Analyses (peaks, chromatogram, nmr-peaks, ephys-features, spikes, qpcr, gate, assay) take the arguments of their tools as options. Inputs (paths): files, directories, globs or an index query. Returns at most limit rows (page with offset; output writes them all to a file); a failing file is a row with error. openreadout_summarize regroups a table written by an earli…

ParameterTypeDescription
measure *stringWhat to measure per data set. `stats` = pixel statistics per image × channel (per=well for screening plates); `trace` = statistics per trace × sweep × channel; `table` = FCS: events, median, mean,…
byarraySummarize by these columns (e.g. `["condition"]`): n, mean, sd, sem, median, min, max, cv_percent per group; channels/parameters/populations stay apart automatically.
controlstringThe control group.
exact_bybooleanGroup by exactly `by` (do not add the measurement columns that vary).
fieldsarrayColumns to keep (info: index field names, or `["all"]`).
formatsarrayOnly these format ids (e.g. `["fcs"]`).
from_indexstringAlso take the data sets an index query selects: the index directory …
keysarrayFixed join keys `SHEET_COLUMN=FIELD` (path, file, stem, sample_id, sample_name, barcode, well, position, run_order, column:NAME).
limitintegerRows to return (default 20, max 500; 0 with `output`: the rows are in the file).
offsetintegerFirst row returned.
optionsobjectThe measure's options. Analyses: the arguments of that analysis's tool (openreadout_peaks, openreadout_nmr_peaks, openreadout_assay with its `analysis`, ...), plus `rows` (which record list becomes ro…
outputstringWrite the full table (or the summary, with `by`) to this .csv/.tsv/.jsonl/.json/.parquet file (verified; never overwrites without `overwrite`).
overwritebooleanReplace an existing output file.
pathsarrayFiles, directories or glob patterns.
querystring… and the query (search syntax, e.g. "format=fcs channel~CD4").
recursivebooleanWalk sub-directories.
replicatestringAverage rows within each replicate first.
sample_sheetsarraySample sheets (CSV/TSV/XLSX) or plate layouts (plate-map grids) to join; the key is chosen from the data (file name, path, sample id recorded in the file, well, barcode, vial, run order) and reported…
teststring`welch` or `mann-whitney` against `control` (a value of the first `by` column).
valuesarrayValue columns to summarize (default: the measure's main values).
wherearrayRow filters `COLUMN=VALUE` / `COLUMN!=VALUE` (e.g. "parameter=FITC-A").
worksheetstringWorksheet of an XLSX sheet.

openreadout_check

Integrity check: ok plus findings (severity, code, message) for truncation, missing planes or parts, bad blocks; a plate folder reports missing files per well; a file still being written reports acquisition_in_progress.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
headers_onlybooleanCheck headers and structure only (offsets, declared sizes and counts, missing parts): no decompression, decoding or checksums over the data.
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.

openreadout_chromatogram

Chromatograms from mass spectra and detector signals: TIC, BPC, extracted-ion (mz with ppm or da), SRM/MRM transitions, stored chromatograms and UV/DAD/FID/TCD traces (traces). Per chromatogram: apex time and intensity, integral, and thinned arrays. Answers 'when does m/z X elute'.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
aggregatestring`sum` (default) or `max` of the points inside an XIC window.
bpcbooleanBase-peak chromatogram.
channelintegerChannel of the traces (e.g. one DAD wavelength). Default: the first signal channel.
danumberXIC tolerance in m/z units instead of ppm.
max_pointsintegerPoints returned per chromatogram (the most intense point of each of N equal slices). Default 500, max 20000; the summary (apex, integral) always covers every point.
ms_levelintegerMS level of the scans. Default 1 (2 with `precursor`).
mzarrayExtracted-ion chromatograms at these m/z values (one streaming pass for all).
mz_rangearrayTIC/BPC over this m/z range only, `[low, high]`.
polaritystring`positive` or `negative`: only scans of this polarity.
ppmnumberXIC tolerance (half-width) in ppm. Default 10.
precursornumberOnly MS/MS scans of this precursor m/z (product-ion XIC).
precursor_tolnumberPrecursor tolerance, m/z units. Default 0.5.
profilebooleanUse profile data where scans store both profile and centroids. Default false (the instrument's centroids).
rt_rangearrayRetention-time range `[start, end]`, minutes.
runintegerSpectra run. Default 0.
scan_filterstringOnly scans whose scan filter/description contains this text (case-insensitive).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
sweepintegerSweep of the traces (one spectrum of a map or series, one injection). Default 0.
ticbooleanTotal-ion chromatogram (the default for mass-spectrometry files when nothing else is chosen).
tracesarrayStored chromatograms or detector signals (UV/DAD, FID, TCD, stored TIC/SRM): trace indices from openreadout_info → traces[].
transition_tolnumberQ1/Q3 tolerance of transitions, m/z units. Default 0.5.
transitionsarraySRM/MRM transitions as `"Q1>Q3"` strings, e.g. `"279.2>179.2"`.

openreadout_compare

Compare two files, e.g. a raw file and its export: metadata differences, geometry, channel names, physical sizes, and per-plane hashes or the largest difference within tolerance. identical says whether they hold the same data.

ParameterTypeDescription
against *stringThe second file (e.g. an OME-TIFF export of `file`).
file *stringThe first file (e.g. the raw file).
ignorearrayJSON pointers (into openreadout_info output) to leave out of the metadata diff; `*` matches one segment.
imageintegerOnly this image index (in both files).
levelintegerPyramid level (0 = full resolution, the default).
no_pixelsbooleanMetadata and geometry only, no pixels.
selectarrayPlane selection strings such as `c=0`, `z=2-5`, `t=0,3`. A second file holding only the selected planes (an export with the same selection) is matched to them in order.
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
tolerancenumberLargest absolute sample difference that still counts as equal. Default: bit-identical planes (same xxh3-128).

openreadout_ephys_features

Patch-clamp features: action potentials per sweep, rheobase, f-I slope, input resistance, membrane time constant, capacitance, sag; in voltage clamp, holding current and access resistance.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
channelintegerChannel (default: the first voltage channel, else the first current channel).
dvdt_thresholdnumberdV/dt onset criterion, V/s (default 10).
max_spikesintegerPer-spike rows returned (default 25, the first spikes in sweep order; counts stay complete).
min_rise_mvnumberA spike's peak must rise this far above the lowest voltage since the previous spike, mV (default 15; 0 counts every crossing, as eFEL does).
peak_threshold_mvnumberSpike voltage threshold, mV (default −20).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
sweepsarraySweeps to analyse (default all).
traceintegerTrace index (default 0).

openreadout_export

Convert to an open format, or save a figure, as a new file read back and verified; the source is never touched. format: ome-tiff (images, default; pyramidal when the source is), ome-zarr (multiscale; plates as OME-NGFF HCS), mzml (mass spectra, default), csv (one table or one sweep of a trace, default for tables and traces), parquet or arrow (tables, traces with every sweep, spectra=true for MS points), nwb (electrophysiology), jcamp (NMR, IR/Raman, chromatograms), asm (plate readers), rdml (qPCR), nifti (volumes: CT, MRI). Figures: plot or preview = the arguments of that call, output .png, .j…

ParameterTypeDescription
centroidbooleanmzML, Parquet, Arrow: write the instrument's centroid lists instead of profiles where a scan has both.
dpiintegerFigures: print resolution (e.g. 300), recorded in .png, .jpg and .tiff files; .svg and .pdf pages get the size the raster would print at.
filestringPath to the file (not with plot or preview).
formatstring`ome-tiff` (one BigTIFF file; the default for images), `ome-zarr` (OME-NGFF 0.5 / Zarr v3 directory with a pyramid), `mzml` (indexed mzML 1.1.0; the default for mass spectra), `csv` (one table, or one…
group_framesintegerMRC: sum every N time points into one section (dose fractions of a movie).
imageintegerImages: only this image index.
labelsbooleanCSV: add a second header line with column labels (FCS `$PnS`).
levelintegerImages: export this source pyramid level as the full resolution (default 0).
outputstringOutput path; defaults to the input with `.ome.tiff`, `.ome.zarr`, `.mzML`, `.csv`, `.asm.json`, `.rdml`, `.fastq`, `.parquet`, `.arrow`, `.nwb`, `.jdx`, `.nii.gz` or `.mrc`. Its extension sets the for…
overwritebooleanReplace an existing output file or directory.
plotobjectSave a figure: the arguments of an openreadout_plot call. `output` names the file.
previewobjectSave a picture: the arguments of an openreadout_preview call (file, region, annotations, marks, dark, …); max_size up to 8192. Images are saved with a scale bar and no rulers (axes scale-bar; add ti…
regionImages: export only this rectangle `{x, y, width, height}` (pixels of `level`) of every plane, read tile by tile (cut a field out of a whole-slide image).
rowsstringCSV, Parquet, Arrow, NWB, JCAMP-DX: rows (samples of each sweep for traces) `A-B`, `A-` or `A`, zero-based and inclusive.
runintegermzML, Parquet, Arrow: spectra run index (default 0).
scalenumberFigures: pixels per figure pixel in .png, .jpg and .tiff files (default 2, up to 8); image previews are read again at max_size × scale.
selectarrayImages: plane selection strings such as `c=0`, `z=2-5`, `t=0,3`.
spectrabooleanParquet, Arrow: export the mass spectra of `run` (one row per point, plus a `<name>.scans.parquet` per-scan summary) instead of a table or trace.
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
sweepintegerCSV, Parquet, Arrow, NWB, JCAMP-DX: only this sweep (CSV default 0; the others: every sweep).
tableintegerCSV, Parquet, Arrow: this table index (FCS data set, plate read, event or peak table).
traceintegerCSV, Parquet, Arrow, NWB, JCAMP-DX: this trace index (NWB default: every trace).
wellsarrayOME-Zarr of a multi-well plate: only the fields of these wells (`C05`).

openreadout_extract

Write one attachment a file embeds (a slide label or thumbnail, a preview image, time stamps) to a new file as stored, verified. openreadout_info view=structure lists them.

ParameterTypeDescription
attachment *stringThe attachment: a name as openreadout_info view=structure lists it (a CZI's `Thumbnail`, `Label` or `SlidePreview` image, `TimeStamps`), or `#<index>`.
file *stringAbsolute or working-directory-relative path to the file that holds the attachment.
outputstringOutput path. Default: `<input stem>.<attachment name>.<ext>` next to the input.
overwritebooleanReplace an existing output file.

openreadout_gate

Flow-cytometry gating from a FlowJo workspace (workspace) or Gating-ML 2.0 file (gatingml): the event count, percentage and medians of every population of the FCS file. Without workspace or gatingml, file is the gating file and the answer describes its samples and gate tree.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
gatingmlstringGating-ML 2.0 document (instead of workspace).
mediansarrayParameters whose median over each population's events is reported under populations[].medians (`$PnN` or `$PnS`; `Comp-NAME` for compensated values), or `["all"]`: every parameter a gate uses, compens…
populationsarrayReport only these populations (paths or unique names) and their descendants.
samplestringWorkspace sample name or id (default: matched by file name, then $FIL, then the only one).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
tableintegerFCS data set index. Default 0.
workspacestringFlowJo workspace (.wsp); `file` is then the FCS file to count events in.

openreadout_health

Storage health of a share indexed by openreadout_index: truncated or corrupt files, unreadable formats, duplicates (confirmed by content hash unless no_hash), the same experiment stored twice, files at risk, totals and personal-data findings.

ParameterTypeDescription
index_dir *stringIndex directory (from openreadout_index or `openreadout index`).
max_listintegerMost entries listed per section (default 50; counts are complete).
no_hashbooleanDo not confirm duplicate candidates by hashing their content (no file is read).

openreadout_index

Catalog every data set under roots into index_dir (Parquet: one row per data set with format, size, sample, instrument, technique, method, operator, start, dimensions, channels, objective, events, scans, integrity status, personal-data flags). Headers only and resumable: a call stops after max_files/max_seconds with complete=false, and the same call again continues. openreadout_search queries the result. For one folder of files, openreadout_batch with measure info lists what each file is in one call.

ParameterTypeDescription
index_dir *stringIndex directory to create or update (never inside a root).
roots *arrayDirectories (or files) to crawl.
checkstringIntegrity check per data set: `headers` (default; structure only), `full` or `none`.
excludearrayGlob patterns of names or root-relative paths to skip.
follow_symlinksbooleanCrawl directories behind symbolic links too (links to files are always read).
full_rescanbooleanRead every file again instead of reusing unchanged records.
max_filesintegerStop after this many files in this call (default 20000); call again to continue.
max_secondsnumberStop after this many seconds in this call (default 45); call again to continue.
piibooleanLook for personal data (default true).
restartbooleanDiscard an interrupted crawl instead of resuming it.
threadsintegerWorker threads (default: the number of CPUs).

openreadout_info

What an instrument file or data-set directory holds, from its headers (fast on huge files): format, images[] (sizes, pixel type, µm/px, channels and dyes, objective), tables[], traces[], spectra[] (MS runs), plate, experiment (sample, instrument, method, operator, start) and assurance. view=summary attaches a ~384 px thumbnail of image 0 with full-resolution pixel rulers. ask answers a question in words, naming the fields it used.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
askstringA question in plain words ("what was the gradient?", "which channel is DAPI?", "how many MS/MS scans?"): answered under answers[] with the fields each came from. Implies view=explain.
first_entryintegerview=structure with kind: skip this many elements of that kind first (paging).
kindstringview=structure: list only elements of this kind (as entries_total names them), e.g. "attachment" or "subblock".
max_entriesintegerview=structure: list at most this many elements of each kind (0 = all). Default 50.
max_framesintegerview=full: per-frame records per image under images[].extra.frames. Default 100; 0 omits them; -1 embeds all.
max_imagesintegerList at most this many images (0 = all). Default: all, except screening plates (16; their field images are all alike and plate.wells[].images indexes every field).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
thumbnailbooleanview=summary: attach a small picture of image 0 (~384 px, with full-resolution pixel rulers) as image content. Default true; skipped (with a note) when it would decode too much.
vendorbooleanview=full: include the vendor's raw metadata tree (can be megabytes). Default false.
viewstringWhat to return. `summary` = the header summary (default); `full` = the summary with per-frame records (time stamps, stage positions, exposure) and per-field provenance; vendor=true adds the vendor's r…

openreadout_nmr_peaks

NMR peak list (ppm, height, width, S/N) and integrals of given regions or of every multiplet (auto_integrate), from the vendor's processed spectrum or a spectrum processed from the FID (from=fid: group delay, apodization, zero filling, FT, phase, baseline).

ParameterTypeDescription
file *stringPath to the file or data-set directory.
auto_integratebooleanWithout integrate: integrate every multiplet (peaks closer than 15 Hz, ±10 Hz).
baselinestringBaseline: `default` (order-1 polynomial), `none`, `poly:N`. Stored spectra are used as stored unless this is given.
fromstring`auto` (default: the vendor's processed spectrum if present, else process the FID), `fid` (always process the FID), `processed` (stored spectrum only).
integral_referencearrayNormalise integrals so region `[index, value]` has that value (default `[0, 1]`).
integratearrayRegions to integrate, `[[a, b], …]` in ppm.
lbnumberExponential line broadening in Hz (0 = none; default stored, else 0.3 Hz 1H / 1 Hz other).
max_peaksintegerKeep at most this many peaks (tallest; default 200).
min_height_fractionnumberMinimum height as a fraction of the tallest point (default 0; e.g. 0.01).
min_prominencenumberMinimum prominence in noise SDs (default 5).
min_snrnumberMinimum peak height in noise SDs (default 10).
negativebooleanAlso report negative peaks (DEPT/APT).
phasestring`default` (stored phases, else automatic), `stored`, `auto`, `magnitude`, `none`, or `"P0,P1"` in degrees.
range_ppmarrayOnly pick between two shifts, `[a, b]` ppm.
sizeintegerTransform size in complex points (power of two).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
sweepintegerRow of a ser/arrayed FID (default 0).
traceintegerTrace index (default: chosen by `from`).

openreadout_peaks

Detect and integrate peaks: chromatograms (detector traces, TIC, XIC, SRM) with retention time, area, height, widths, tailing, plates, resolution, S/N and area % (purity); one peak near rt; a compound list; bands and regions of IR, Raman, UV-Vis and NMR spectra and peaks of sized electropherograms in bp (x_range, integrate). Takes the openreadout_chromatogram arguments to choose the signal.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
aggregatestring`sum` (default) or `max` of the points inside an XIC window.
area_secondsbooleanAreas in signal × seconds instead of signal × minutes. Default false.
baselinestringBaseline under detected peaks: `auto` (default), `drop`, `valley` or `tangent`; or the baseline under `x_range` windows and manual integrations: `linear` (default: a straight line between the window's…
bpcbooleanBase-peak chromatogram.
channelintegerChannel of the traces (e.g. one DAD wavelength). Default: the first signal channel.
compoundsarrayTargeted compounds: `[{name, mz? | q1+q3? | trace?, rt?, window?, ppm?, polarity?, ms_level?, precursor?}]`; one result row each under `compounds`.
danumberXIC tolerance in m/z units instead of ppm.
integratearrayManual integrations `[[start, end], ...]` in minutes.
min_heightnumberDetection threshold in signal units.
min_snrnumberDetection threshold, height / noise σ. Default 3.
min_widthnumberSmallest width at half height, minutes.
ms_levelintegerMS level of the scans. Default 1 (2 with `precursor`).
mzarrayExtracted-ion chromatograms at these m/z values (one streaming pass for all).
mz_rangearrayTIC/BPC over this m/z range only, `[low, high]`.
pickstring`largest` (default) or `nearest` peak in the window.
polaritystring`positive` or `negative`: only scans of this polarity.
ppmnumberXIC tolerance (half-width) in ppm. Default 10.
precursornumberOnly MS/MS scans of this precursor m/z (product-ion XIC).
precursor_tolnumberPrecursor tolerance, m/z units. Default 0.5.
profilebooleanUse profile data where scans store both profile and centroids. Default false (the instrument's centroids).
rtnumberExpected retention time (minutes): also report the peak there as `picked`.
rt_rangearrayRetention-time range `[start, end]`, minutes.
runintegerSpectra run. Default 0.
scan_filterstringOnly scans whose scan filter/description contains this text (case-insensitive).
smoothintegerSavitzky–Golay window in points (below 5: none). Default automatic.
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
summary_onlybooleanLeave out the full peak tables (keep compounds, picked and manual results). Default false.
sweepintegerSweep of the traces (one spectrum of a map or series, one injection). Default 0.
ticbooleanTotal-ion chromatogram (the default for mass-spectrometry files when nothing else is chosen).
tracesarrayStored chromatograms or detector signals (UV/DAD, FID, TCD, stored TIC/SRM): trace indices from openreadout_info → traces[].
transition_tolnumberQ1/Q3 tolerance of transitions, m/z units. Default 0.5.
transitionsarraySRM/MRM transitions as `"Q1>Q3"` strings, e.g. `"279.2>179.2"`.
windownumberHalf-width of the `rt` window (and of compounds without one), minutes. Default 0.5.
x_rangearrayAxis windows `[[a, b], ...]` to integrate, in the axis's own units (either order): on a spectrum (IR/Raman cm⁻¹, UV nm, NMR ppm) each is a region under `spectra[].regions` (area with the `baseline`…

openreadout_plot

A finished figure from lab files in one call, as image content plus what was drawn (series, data read, ranges, units, marked peaks). Name data by file and selector, never by pasting numbers: traces and sweeps, chromatograms (TIC, XIC) and the spectrum at an rt or the TIC apex, plate wells by range or layout group (curves per well, or mean ± spread per group), FCS dot plots coloured by gate population and histograms, f–I curves, dose-response and standard-curve fits, a table file's columns (openreadout_batch output); small inline values are allowed. Several files overlay; facet=series gives…

openreadout_preview

A picture of the data as image content plus what was drawn: an image plane (default channel 0, middle z), a composite, a max projection (mip=z), a region (only the tiles needed are read), a trace or spectrum plot (largest peaks labelled; marks=spikes marks action potentials; x_range zooms), a Sanger chromatogram with base calls and quality or a sized electropherogram with the ladder, a plate heat map or, for kinetic reads, per-well growth curves coloured by layout group, or a flow-cytometry density plot. Image pictures carry rulers in full-resolution pixels and a µm scale bar, so a region rea…

openreadout_qpcr

Real-time PCR (RDML, .eds, .rex, ...): one record per well and target with sample, task, Cq and Tm; compute_cq recomputes Cq, ddcq gives 2^-ΔΔCq fold changes, standard_curve fits efficiency per target.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
baseline_endintegerBaseline window for `compute_cq`, last cycle.
baseline_startintegerBaseline window for `compute_cq`, first cycle.
compute_cqbooleanAlso compute our own Cq.
control_samplestringΔΔCq control (calibrator) sample; default: the file's.
cq_methodstringHow `compute_cq` computes Cq; default: `second-derivative` for LightCycler 480 `.ixo` files without a threshold or baseline window, else `threshold`. `threshold` = Where the baseline-corrected curve c…
ddcqbooleanΔΔCq relative quantification (rows: one per sample × target).
fieldsarrayRows show their main fields to 4 significant digits (records: well, sample, target, cq, tm; relative_quantities: cq means, delta_cq, delta_delta_cq, rq with rq_min and rq_max). fields adds others, e.g…
max_recordsintegerAt most this many records (default 500).
reference_targetsarrayΔΔCq reference targets; default: the file's.
runstringOnly this run.
samplestringOnly this sample, case-insensitive.
standard_curvebooleanStandard curve per target (rows: one per target).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
targetstringOnly this target, case-insensitive.
thresholdnumberThreshold for `compute_cq`.
undetermined_cqnumberCq for undetermined results in means and ΔΔCq; default: left out and counted.
wellstringOnly this well (`A1`).

openreadout_report

A privacy-reviewed diagnostic bundle for a file that is refused, fails or is not validated, for a new-variant issue: no data values, free text only with include_text, and the issue_url to file it at. Nothing is sent; the user files it.

ParameterTypeDescription
file *stringThe file (or data-set directory) that is refused, fails or is not validated.
include_textbooleanKeep free text from the file (sample, image and channel names, comments); the path and personal data are still replaced. Default false: only with the user's consent.
outputstringAlso write the bundle to this new local file. Default: only return it.

openreadout_scans

The scans of a mass-spectrometry run, without decoding peaks: scan number, MS level, retention time, polarity, precursor m/z and charge, isolation window, activation, collision energy, filter, stored TIC; filtered and paged, and every match counted (matched, ms_level_counts). IR, Raman, UV-Vis and NMR spectra are traces: openreadout_trace.

ParameterTypeDescription
file *stringPath to the mass-spectrometry file.
activationstringOnly this activation: HCD, CID, ETD, ... (case-insensitive).
chargeintegerOnly precursors of this charge state.
countbooleanOnly count the matching scans (matched, ms_level_counts); list none.
limitintegerList at most this many matching scans (default 100, at most 5000); all are counted.
ms_levelintegerOnly scans of this MS level (1 = full scans, 2 = MS/MS).
offsetintegerSkip this many matching scans (paging; default 0).
polaritystringOnly `positive` or `negative` scans.
precursornumberOnly MS/MS scans whose precursor m/z is within the tolerance of this.
precursor_ppmnumberPrecursor tolerance in ppm instead.
precursor_tolnumberPrecursor tolerance in m/z units (default 0.01).
rt_rangearrayRetention-time window `[start, end]` in minutes.
runintegerRun index for files with several runs (Sciex samples; default 0).
scan_filterstringOnly scans whose filter string contains this text (case-insensitive).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.

openreadout_spectrum

One mass spectrum, picked by retention time (rt, minutes: the scan nearest it), scan number or zero-based spectrum index: metadata, peaks[] (the most intense, with charge from the isotope spacing and neutral mass) and mz[]/intensity[].

ParameterTypeDescription
file *stringPath to the mass-spectrometry file.
centroidbooleanThe stored centroid list instead of the profile when a scan has both.
lock_massstringWaters .raw: correct m/z with the lock-spray reference scans, given the lock compound's m/z (e.g. 556.2771), or "auto" for the Lock Mass the file records. Default: m/z as stored.
max_pointsintegerAt most this many points, the most intense kept (default 1000; point_count reports the full size).
ms_levelintegerCount spectrum among the spectra of this MS level only (1 = full scans, 2 = MS/MS). MS1 and MS/MS scans interleave, and ms_level=2 with spectrum=0 is the first MS/MS scan.
rtnumberThe MS scan (of ms_level, default 1) nearest this retention time, minutes: the spectrum at a chromatogram's apex.
runintegerRun index for files with several runs (Sciex samples; default 0).
scanintegerThe scan number as the instrument counts it (1-based in Thermo files; mzML `scan=N` native ids, mzXML `num`, timsTOF spectrum position + 1).
spectrumintegerThe zero-based spectrum index, counted within ms_level when it is given.
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
top_peaksintegerMost intense peaks listed under peaks[] with charge and neutral mass (default 20).

openreadout_spikes

Extracellular spike detection per channel: band-pass, threshold at K x MAD noise, spike counts, rates and times.

ParameterTypeDescription
file *stringPath to the file or data-set directory.
band_hzarrayBand-pass `[low, high]` Hz (default [300, 6000]).
channelsarrayChannels (default all).
max_secondsnumberOnly the first N seconds of each sweep.
max_timesintegerSpike times per channel returned (default 200).
signstring`neg` (default), `pos` or `both`.
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
sweepsarraySweeps/segments (default all).
thresholdnumberThreshold in MAD noise units (default 5).
traceintegerTrace index (default 0; pick the broadband stream).

openreadout_stats

Pixel statistics per channel and image: count, min, max, mean, std, percentiles p1–p99, zero and saturated fractions (at the detector's 2^bits−1 when recorded), histogram; RGB images also per component. per=plane adds every plane; per=well or field gives rows per well of a screening plate. mip='z' measures the maximum-intensity projection; whole slides: a coarser level and/or a region. Measurements on one plane: line (intensity profile, FWHM), polygon (statistics inside), objects (count nuclei, cells or spots; preview marks=objects shows them), lanes (gel and blot lanes, band volumes and s…

openreadout_summarize

Group statistics of a table written by an earlier openreadout_batch output (or any CSV, TSV, JSON Lines, JSON or Parquet table): n, mean, sd, sem, median, min, max and CV % per group of `by`, optionally averaging replicates first and testing every group against a control.

ParameterTypeDescription
by *arrayGroup by these columns.
table *stringA table file written by an openreadout_batch `output` (or any CSV, TSV, JSON Lines, JSON or Parquet table).
controlstringThe control group (a value of the first `by` column).
exact_bybooleanGroup by exactly `by`.
outputstringWrite the summary to this file.
overwritebooleanReplace an existing output file.
replicatestringAverage rows within each replicate first.
teststring`welch` or `mann-whitney` against `control`.
valuesarrayValue columns (default: the measure's main values).
wherearrayRow filters `COLUMN=VALUE` / `COLUMN!=VALUE`.

openreadout_table

Rows of a table {columns, labels, rows, total_rows, truncated}: FCS events ($PnN columns), plate reads (well, row, col, read, wavelength_nm, time_s, value), event, spike or peak tables (including the vendor's own integration results). Values are raw; FCS can be compensated, transformed and given 0/1 population columns from a workspace or Gating-ML file. filter with count=true counts the events meeting conditions.

ParameterTypeDescription
file *stringPath to the file.
compensatestringFCS only: compensate the values: `auto` (the gating file's matrix when one is given, else the file's $SPILLOVER/$SPILL/SPILL), `fcs` or `gating`. Values become FCS scale values first ($PnE, $PnG, $TIM…
countbooleanReturn only the count (`filter.matched_rows`, `total_rows`, `percent`), no rows.
filterarrayRow conditions `COLUMN OP NUMBER` (OP: > >= < <= == !=; COLUMN: $PnN, $PnS or `gate:<path>`), all of which must hold, e.g. `["FITC-A > 1000"]`. Tested on the values returned (after compensate/transfor…
first_rowintegerZero-based first row. Default 0.
gatingmlstringFCS only: Gating-ML 2.0 file (same uses as workspace).
max_rowsintegerMaximum rows to return. Default 100 (fewer for wide tables: about 5000 values), capped at 10000.
parametersarrayFCS only: parameters ($PnN) to transform; default every fluorescence parameter.
populationsarrayFCS only: populations (paths like `/Lymphocytes/Singlets` or unique names) whose 0/1 membership is appended as `gate:<path>` columns.
samplestringWorkspace sample name or id (default: matched by file name or $FIL).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
tableintegerTable index (FCS data set or plate read; see openreadout_info → tables[]). Default 0.
transformstringFCS only: transform after compensation: `logicle`, `arcsinh`, `hyperlog`, `log`, `linear`, `biex`, `flowjo-log`, `arcsinh-cofactor`, with parameters as `NAME:K=V,…` (`logicle:T=262144,W=0.5,M=4.5,A=…
workspacestringFCS only: FlowJo workspace (.wsp) for compensate=gating, transform=workspace and populations.

openreadout_trace

One window of one sweep of a sampled signal or 1-D spectrum in physical units: electrophysiology sweeps, chromatography detector traces, ÄKTA curves, ITC thermograms, SPR sensorgrams, NMR FIDs and spectra (process=true turns an FID into a spectrum), IR/Raman/UV-Vis/CD spectra (each spectrum of a map is a sweep), qPCR curves, EPR, XRD, electrochemistry, thermal analysis. Per channel: min, max, mean, std and argmax_axis_value (the maximum's position on the axis: retention time, ppm, cm⁻¹, °2θ) over the window, plus the first max_samples values.

ParameterTypeDescription
file *stringPath to the file.
channelsarrayChannel indices to return. Default: all channels.
countintegerWindow length in samples (statistics cover the whole window). Default: to the end of the sweep.
first_sampleintegerFirst sample of the window, zero-based within the sweep. Default 0.
max_samplesintegerSamples returned per channel. Default 200, capped at 10000.
processbooleanNMR: return FID traces as spectra processed by OpenReadout (group delay, apodization, zero filling, FT, stored or automatic phase, baseline, ppm axis).
strictbooleanRefuse values the file's assurance does not validate (exit_code 6). Default: the server's.
sweepintegerSweep (episode or segment) index. Default 0.
traceintegerTrace index (see openreadout_info → traces[]). Default 0.
x_rangearrayWindow on the trace's own axis instead of first_sample/count, `[a, b]` either order: cm⁻¹, nm, ppm, a chromatogram's retention time in its axis unit; seconds for signals without an axis.

openreadout_watch

Follow directories an instrument writes to: each call looks once and returns events since cursor (dataset_new, plane_new, scan_new, frame_new, dataset_complete, dataset_stalled, qc with qc=true: saturation, focus drift, dropped frames, TIC drop, error). Poll with the returned cursor; files are never locked.

ParameterTypeDescription
dirs *arrayDirectories (or files) to watch. The same list (in any order) continues the same watcher across calls.
cursorintegerReturn events with a sequence number greater than this (the `cursor` of the previous call); 0 or absent on the first call.
follow_symlinksbooleanFirst call only: walk into directories behind symbolic links too (links to files are always followed).
limitintegerMost events returned (default 200, max 5000); call again with the new cursor for more.
qcbooleanFirst call only: evaluate the built-in live QC rules on each new plane or scan.
sincestringFirst call only: report data sets modified since then (`10m`, `2h`, `1d`, an ISO-8601 time, or `all`). Default: the live window (5 minutes) back from now.
stall_afternumberFirst call only: seconds without growth before `dataset_stalled` (default 120).