OpenReadout
v0.4.0Read 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.
| Parameter | Type | Description |
|---|---|---|
analysis * | string | What 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 * | string | Path to the file or data-set directory. |
blank_wells | string | Wells to mark as blanks (`H1,H2`, `H1:H12`). |
confidence | number | curve, dose-response: confidence level of intervals. Default 0.95. |
fields | array | Rows 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_on | string | curve: 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_threshold | number | growth: values at or below this are left out of the log-scale fit. Default 5 % of each well's maximum. |
layout | string | Plate-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. |
lloq | number | curve: lower limit of quantification (overrides the recovery rule). |
model | string | curve, 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_wells | string | Wells to mark as negative controls (no effect / vehicle). |
normalize | string | wells, 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_options | Rarely needed plate options. | |
plot | boolean | curve, dose-response: also return a PNG of the points and the fitted curve. |
positive_wells | string | Wells to mark as positive controls (full effect / maximum signal). |
reduce | string | wells, 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; `… |
standards | string | curve: standards as `WELLS=CONCENTRATION` items separated by `;` (`A1,A2=100;B1:B2=50`). Default: the layout's. |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
uloq | number | curve: upper limit of quantification (overrides the recovery rule). |
weighting | string | curve, 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). |
wells | string | Only these wells (`A1:H6`); the layout's blanks and controls are still used. |
window | integer | Points 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…
| Parameter | Type | Description |
|---|---|---|
measure * | string | What 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,… |
by | array | Summarize by these columns (e.g. `["condition"]`): n, mean, sd, sem, median, min, max, cv_percent per group; channels/parameters/populations stay apart automatically. |
control | string | The control group. |
exact_by | boolean | Group by exactly `by` (do not add the measurement columns that vary). |
fields | array | Columns to keep (info: index field names, or `["all"]`). |
formats | array | Only these format ids (e.g. `["fcs"]`). |
from_index | string | Also take the data sets an index query selects: the index directory … |
keys | array | Fixed join keys `SHEET_COLUMN=FIELD` (path, file, stem, sample_id, sample_name, barcode, well, position, run_order, column:NAME). |
limit | integer | Rows to return (default 20, max 500; 0 with `output`: the rows are in the file). |
offset | integer | First row returned. |
options | object | The 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… |
output | string | Write the full table (or the summary, with `by`) to this .csv/.tsv/.jsonl/.json/.parquet file (verified; never overwrites without `overwrite`). |
overwrite | boolean | Replace an existing output file. |
paths | array | Files, directories or glob patterns. |
query | string | … and the query (search syntax, e.g. "format=fcs channel~CD4"). |
recursive | boolean | Walk sub-directories. |
replicate | string | Average rows within each replicate first. |
sample_sheets | array | Sample 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… |
test | string | `welch` or `mann-whitney` against `control` (a value of the first `by` column). |
values | array | Value columns to summarize (default: the measure's main values). |
where | array | Row filters `COLUMN=VALUE` / `COLUMN!=VALUE` (e.g. "parameter=FITC-A"). |
worksheet | string | Worksheet 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
headers_only | boolean | Check headers and structure only (offsets, declared sizes and counts, missing parts): no decompression, decoding or checksums over the data. |
strict | boolean | Refuse 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'.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
aggregate | string | `sum` (default) or `max` of the points inside an XIC window. |
bpc | boolean | Base-peak chromatogram. |
channel | integer | Channel of the traces (e.g. one DAD wavelength). Default: the first signal channel. |
da | number | XIC tolerance in m/z units instead of ppm. |
max_points | integer | Points 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_level | integer | MS level of the scans. Default 1 (2 with `precursor`). |
mz | array | Extracted-ion chromatograms at these m/z values (one streaming pass for all). |
mz_range | array | TIC/BPC over this m/z range only, `[low, high]`. |
polarity | string | `positive` or `negative`: only scans of this polarity. |
ppm | number | XIC tolerance (half-width) in ppm. Default 10. |
precursor | number | Only MS/MS scans of this precursor m/z (product-ion XIC). |
precursor_tol | number | Precursor tolerance, m/z units. Default 0.5. |
profile | boolean | Use profile data where scans store both profile and centroids. Default false (the instrument's centroids). |
rt_range | array | Retention-time range `[start, end]`, minutes. |
run | integer | Spectra run. Default 0. |
scan_filter | string | Only scans whose scan filter/description contains this text (case-insensitive). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
sweep | integer | Sweep of the traces (one spectrum of a map or series, one injection). Default 0. |
tic | boolean | Total-ion chromatogram (the default for mass-spectrometry files when nothing else is chosen). |
traces | array | Stored chromatograms or detector signals (UV/DAD, FID, TCD, stored TIC/SRM): trace indices from openreadout_info → traces[]. |
transition_tol | number | Q1/Q3 tolerance of transitions, m/z units. Default 0.5. |
transitions | array | SRM/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.
| Parameter | Type | Description |
|---|---|---|
against * | string | The second file (e.g. an OME-TIFF export of `file`). |
file * | string | The first file (e.g. the raw file). |
ignore | array | JSON pointers (into openreadout_info output) to leave out of the metadata diff; `*` matches one segment. |
image | integer | Only this image index (in both files). |
level | integer | Pyramid level (0 = full resolution, the default). |
no_pixels | boolean | Metadata and geometry only, no pixels. |
select | array | Plane 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. |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
tolerance | number | Largest 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
channel | integer | Channel (default: the first voltage channel, else the first current channel). |
dvdt_threshold | number | dV/dt onset criterion, V/s (default 10). |
max_spikes | integer | Per-spike rows returned (default 25, the first spikes in sweep order; counts stay complete). |
min_rise_mv | number | A 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_mv | number | Spike voltage threshold, mV (default −20). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
sweeps | array | Sweeps to analyse (default all). |
trace | integer | Trace 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…
| Parameter | Type | Description |
|---|---|---|
centroid | boolean | mzML, Parquet, Arrow: write the instrument's centroid lists instead of profiles where a scan has both. |
dpi | integer | Figures: print resolution (e.g. 300), recorded in .png, .jpg and .tiff files; .svg and .pdf pages get the size the raster would print at. |
file | string | Path to the file (not with plot or preview). |
format | string | `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_frames | integer | MRC: sum every N time points into one section (dose fractions of a movie). |
image | integer | Images: only this image index. |
labels | boolean | CSV: add a second header line with column labels (FCS `$PnS`). |
level | integer | Images: export this source pyramid level as the full resolution (default 0). |
output | string | Output 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… |
overwrite | boolean | Replace an existing output file or directory. |
plot | object | Save a figure: the arguments of an openreadout_plot call. `output` names the file. |
preview | object | Save 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… |
region | Images: 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). | |
rows | string | CSV, Parquet, Arrow, NWB, JCAMP-DX: rows (samples of each sweep for traces) `A-B`, `A-` or `A`, zero-based and inclusive. |
run | integer | mzML, Parquet, Arrow: spectra run index (default 0). |
scale | number | Figures: pixels per figure pixel in .png, .jpg and .tiff files (default 2, up to 8); image previews are read again at max_size × scale. |
select | array | Images: plane selection strings such as `c=0`, `z=2-5`, `t=0,3`. |
spectra | boolean | Parquet, 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. |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
sweep | integer | CSV, Parquet, Arrow, NWB, JCAMP-DX: only this sweep (CSV default 0; the others: every sweep). |
table | integer | CSV, Parquet, Arrow: this table index (FCS data set, plate read, event or peak table). |
trace | integer | CSV, Parquet, Arrow, NWB, JCAMP-DX: this trace index (NWB default: every trace). |
wells | array | OME-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.
| Parameter | Type | Description |
|---|---|---|
attachment * | string | The attachment: a name as openreadout_info view=structure lists it (a CZI's `Thumbnail`, `Label` or `SlidePreview` image, `TimeStamps`), or `#<index>`. |
file * | string | Absolute or working-directory-relative path to the file that holds the attachment. |
output | string | Output path. Default: `<input stem>.<attachment name>.<ext>` next to the input. |
overwrite | boolean | Replace 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
gatingml | string | Gating-ML 2.0 document (instead of workspace). |
medians | array | Parameters 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… |
populations | array | Report only these populations (paths or unique names) and their descendants. |
sample | string | Workspace sample name or id (default: matched by file name, then $FIL, then the only one). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
table | integer | FCS data set index. Default 0. |
workspace | string | FlowJo 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.
| Parameter | Type | Description |
|---|---|---|
index_dir * | string | Index directory (from openreadout_index or `openreadout index`). |
max_list | integer | Most entries listed per section (default 50; counts are complete). |
no_hash | boolean | Do 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.
| Parameter | Type | Description |
|---|---|---|
index_dir * | string | Index directory to create or update (never inside a root). |
roots * | array | Directories (or files) to crawl. |
check | string | Integrity check per data set: `headers` (default; structure only), `full` or `none`. |
exclude | array | Glob patterns of names or root-relative paths to skip. |
follow_symlinks | boolean | Crawl directories behind symbolic links too (links to files are always read). |
full_rescan | boolean | Read every file again instead of reusing unchanged records. |
max_files | integer | Stop after this many files in this call (default 20000); call again to continue. |
max_seconds | number | Stop after this many seconds in this call (default 45); call again to continue. |
pii | boolean | Look for personal data (default true). |
restart | boolean | Discard an interrupted crawl instead of resuming it. |
threads | integer | Worker 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
ask | string | A 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_entry | integer | view=structure with kind: skip this many elements of that kind first (paging). |
kind | string | view=structure: list only elements of this kind (as entries_total names them), e.g. "attachment" or "subblock". |
max_entries | integer | view=structure: list at most this many elements of each kind (0 = all). Default 50. |
max_frames | integer | view=full: per-frame records per image under images[].extra.frames. Default 100; 0 omits them; -1 embeds all. |
max_images | integer | List 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). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
thumbnail | boolean | view=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. |
vendor | boolean | view=full: include the vendor's raw metadata tree (can be megabytes). Default false. |
view | string | What 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_link
Groups files that measured the same sample across instruments and formats (sample id, barcode, plate well + plate, a conversion naming its source, the same acquisition or the same spectra), from headers; every link has its evidence and a confidence (high/medium/low; links below min_confidence are listed in weak_links).
| Parameter | Type | Description |
|---|---|---|
formats | array | Only these format ids. |
from_index | string | Also take the data sets an index query selects: the index directory … |
min_confidence | string | `low`, `medium` (default) or `high`: weaker links are listed in weak_links, not grouped. |
no_recursive | boolean | Only the top level of directories. |
paths | array | Directories (walked recursively), files or glob patterns. |
query | string | … and the query. |
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).
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
auto_integrate | boolean | Without integrate: integrate every multiplet (peaks closer than 15 Hz, ±10 Hz). |
baseline | string | Baseline: `default` (order-1 polynomial), `none`, `poly:N`. Stored spectra are used as stored unless this is given. |
from | string | `auto` (default: the vendor's processed spectrum if present, else process the FID), `fid` (always process the FID), `processed` (stored spectrum only). |
integral_reference | array | Normalise integrals so region `[index, value]` has that value (default `[0, 1]`). |
integrate | array | Regions to integrate, `[[a, b], …]` in ppm. |
lb | number | Exponential line broadening in Hz (0 = none; default stored, else 0.3 Hz 1H / 1 Hz other). |
max_peaks | integer | Keep at most this many peaks (tallest; default 200). |
min_height_fraction | number | Minimum height as a fraction of the tallest point (default 0; e.g. 0.01). |
min_prominence | number | Minimum prominence in noise SDs (default 5). |
min_snr | number | Minimum peak height in noise SDs (default 10). |
negative | boolean | Also report negative peaks (DEPT/APT). |
phase | string | `default` (stored phases, else automatic), `stored`, `auto`, `magnitude`, `none`, or `"P0,P1"` in degrees. |
range_ppm | array | Only pick between two shifts, `[a, b]` ppm. |
size | integer | Transform size in complex points (power of two). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
sweep | integer | Row of a ser/arrayed FID (default 0). |
trace | integer | Trace 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
aggregate | string | `sum` (default) or `max` of the points inside an XIC window. |
area_seconds | boolean | Areas in signal × seconds instead of signal × minutes. Default false. |
baseline | string | Baseline 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… |
bpc | boolean | Base-peak chromatogram. |
channel | integer | Channel of the traces (e.g. one DAD wavelength). Default: the first signal channel. |
compounds | array | Targeted compounds: `[{name, mz? | q1+q3? | trace?, rt?, window?, ppm?, polarity?, ms_level?, precursor?}]`; one result row each under `compounds`. |
da | number | XIC tolerance in m/z units instead of ppm. |
integrate | array | Manual integrations `[[start, end], ...]` in minutes. |
min_height | number | Detection threshold in signal units. |
min_snr | number | Detection threshold, height / noise σ. Default 3. |
min_width | number | Smallest width at half height, minutes. |
ms_level | integer | MS level of the scans. Default 1 (2 with `precursor`). |
mz | array | Extracted-ion chromatograms at these m/z values (one streaming pass for all). |
mz_range | array | TIC/BPC over this m/z range only, `[low, high]`. |
pick | string | `largest` (default) or `nearest` peak in the window. |
polarity | string | `positive` or `negative`: only scans of this polarity. |
ppm | number | XIC tolerance (half-width) in ppm. Default 10. |
precursor | number | Only MS/MS scans of this precursor m/z (product-ion XIC). |
precursor_tol | number | Precursor tolerance, m/z units. Default 0.5. |
profile | boolean | Use profile data where scans store both profile and centroids. Default false (the instrument's centroids). |
rt | number | Expected retention time (minutes): also report the peak there as `picked`. |
rt_range | array | Retention-time range `[start, end]`, minutes. |
run | integer | Spectra run. Default 0. |
scan_filter | string | Only scans whose scan filter/description contains this text (case-insensitive). |
smooth | integer | Savitzky–Golay window in points (below 5: none). Default automatic. |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
summary_only | boolean | Leave out the full peak tables (keep compounds, picked and manual results). Default false. |
sweep | integer | Sweep of the traces (one spectrum of a map or series, one injection). Default 0. |
tic | boolean | Total-ion chromatogram (the default for mass-spectrometry files when nothing else is chosen). |
traces | array | Stored chromatograms or detector signals (UV/DAD, FID, TCD, stored TIC/SRM): trace indices from openreadout_info → traces[]. |
transition_tol | number | Q1/Q3 tolerance of transitions, m/z units. Default 0.5. |
transitions | array | SRM/MRM transitions as `"Q1>Q3"` strings, e.g. `"279.2>179.2"`. |
window | number | Half-width of the `rt` window (and of compounds without one), minutes. Default 0.5. |
x_range | array | Axis 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
baseline_end | integer | Baseline window for `compute_cq`, last cycle. |
baseline_start | integer | Baseline window for `compute_cq`, first cycle. |
compute_cq | boolean | Also compute our own Cq. |
control_sample | string | ΔΔCq control (calibrator) sample; default: the file's. |
cq_method | string | How `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… |
ddcq | boolean | ΔΔCq relative quantification (rows: one per sample × target). |
fields | array | Rows 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_records | integer | At most this many records (default 500). |
reference_targets | array | ΔΔCq reference targets; default: the file's. |
run | string | Only this run. |
sample | string | Only this sample, case-insensitive. |
standard_curve | boolean | Standard curve per target (rows: one per target). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
target | string | Only this target, case-insensitive. |
threshold | number | Threshold for `compute_cq`. |
undetermined_cq | number | Cq for undetermined results in means and ΔΔCq; default: left out and counted. |
well | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | The file (or data-set directory) that is refused, fails or is not validated. |
include_text | boolean | Keep 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. |
output | string | Also 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the mass-spectrometry file. |
activation | string | Only this activation: HCD, CID, ETD, ... (case-insensitive). |
charge | integer | Only precursors of this charge state. |
count | boolean | Only count the matching scans (matched, ms_level_counts); list none. |
limit | integer | List at most this many matching scans (default 100, at most 5000); all are counted. |
ms_level | integer | Only scans of this MS level (1 = full scans, 2 = MS/MS). |
offset | integer | Skip this many matching scans (paging; default 0). |
polarity | string | Only `positive` or `negative` scans. |
precursor | number | Only MS/MS scans whose precursor m/z is within the tolerance of this. |
precursor_ppm | number | Precursor tolerance in ppm instead. |
precursor_tol | number | Precursor tolerance in m/z units (default 0.01). |
rt_range | array | Retention-time window `[start, end]` in minutes. |
run | integer | Run index for files with several runs (Sciex samples; default 0). |
scan_filter | string | Only scans whose filter string contains this text (case-insensitive). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
openreadout_search
Query an index from openreadout_index: 'format=nd2 objective=60x', 'channel~CD4', 'events>100000', 'rate>=20kHz', 'acquired<2015', 'status=truncated|corrupt'. Returns {total, returned, results[]}: total counts every match, results is capped by limit (default 50); fields=['all'] returns every column.
| Parameter | Type | Description |
|---|---|---|
index_dir * | string | Index directory (from openreadout_index or `openreadout index`). |
fields | array | Columns to return (aliases allowed); default: path, format, size, acquired, sample, instrument model, technique, channels, objective, check status, what. `["all"]`: every column. |
limit | integer | Most results (default 50, max 1000). |
query | string | Query: space-separated terms, all must match; `OR` between alternatives. `field=value`, `!=`, `~` (contains), `<`/`<=`/`>`/`>=` with units (`size>1GB`, `rate>=20kHz`) or dates (`acquired<2020`), `fiel… |
sort | string | Sort field (`size`, `-acquired` for descending). Default: path order. |
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[].
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the mass-spectrometry file. |
centroid | boolean | The stored centroid list instead of the profile when a scan has both. |
lock_mass | string | Waters .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_points | integer | At most this many points, the most intense kept (default 1000; point_count reports the full size). |
ms_level | integer | Count 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. |
rt | number | The MS scan (of ms_level, default 1) nearest this retention time, minutes: the spectrum at a chromatogram's apex. |
run | integer | Run index for files with several runs (Sciex samples; default 0). |
scan | integer | The scan number as the instrument counts it (1-based in Thermo files; mzML `scan=N` native ids, mzXML `num`, timsTOF spectrum position + 1). |
spectrum | integer | The zero-based spectrum index, counted within ms_level when it is given. |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
top_peaks | integer | Most 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file or data-set directory. |
band_hz | array | Band-pass `[low, high]` Hz (default [300, 6000]). |
channels | array | Channels (default all). |
max_seconds | number | Only the first N seconds of each sweep. |
max_times | integer | Spike times per channel returned (default 200). |
sign | string | `neg` (default), `pos` or `both`. |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
sweeps | array | Sweeps/segments (default all). |
threshold | number | Threshold in MAD noise units (default 5). |
trace | integer | Trace 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.
| Parameter | Type | Description |
|---|---|---|
by * | array | Group by these columns. |
table * | string | A table file written by an openreadout_batch `output` (or any CSV, TSV, JSON Lines, JSON or Parquet table). |
control | string | The control group (a value of the first `by` column). |
exact_by | boolean | Group by exactly `by`. |
output | string | Write the summary to this file. |
overwrite | boolean | Replace an existing output file. |
replicate | string | Average rows within each replicate first. |
test | string | `welch` or `mann-whitney` against `control`. |
values | array | Value columns (default: the measure's main values). |
where | array | Row 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file. |
compensate | string | FCS 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… |
count | boolean | Return only the count (`filter.matched_rows`, `total_rows`, `percent`), no rows. |
filter | array | Row 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_row | integer | Zero-based first row. Default 0. |
gatingml | string | FCS only: Gating-ML 2.0 file (same uses as workspace). |
max_rows | integer | Maximum rows to return. Default 100 (fewer for wide tables: about 5000 values), capped at 10000. |
parameters | array | FCS only: parameters ($PnN) to transform; default every fluorescence parameter. |
populations | array | FCS only: populations (paths like `/Lymphocytes/Singlets` or unique names) whose 0/1 membership is appended as `gate:<path>` columns. |
sample | string | Workspace sample name or id (default: matched by file name or $FIL). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
table | integer | Table index (FCS data set or plate read; see openreadout_info → tables[]). Default 0. |
transform | string | FCS 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=… |
workspace | string | FCS 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file. |
channels | array | Channel indices to return. Default: all channels. |
count | integer | Window length in samples (statistics cover the whole window). Default: to the end of the sweep. |
first_sample | integer | First sample of the window, zero-based within the sweep. Default 0. |
max_samples | integer | Samples returned per channel. Default 200, capped at 10000. |
process | boolean | NMR: return FID traces as spectra processed by OpenReadout (group delay, apodization, zero filling, FT, stored or automatic phase, baseline, ppm axis). |
strict | boolean | Refuse values the file's assurance does not validate (exit_code 6). Default: the server's. |
sweep | integer | Sweep (episode or segment) index. Default 0. |
trace | integer | Trace index (see openreadout_info → traces[]). Default 0. |
x_range | array | Window 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.
| Parameter | Type | Description |
|---|---|---|
dirs * | array | Directories (or files) to watch. The same list (in any order) continues the same watcher across calls. |
cursor | integer | Return events with a sequence number greater than this (the `cursor` of the previous call); 0 or absent on the first call. |
follow_symlinks | boolean | First call only: walk into directories behind symbolic links too (links to files are always followed). |
limit | integer | Most events returned (default 200, max 5000); call again with the new cursor for more. |
qc | boolean | First call only: evaluate the built-in live QC rules on each new plane or scan. |
since | string | First 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_after | number | First call only: seconds without growth before `dataset_stalled` (default 120). |