Skip to main content

Input files

The input files Cells2Stats reads

Input files​

The following table lists the input files for Cells2Stats. Parquet files are column-based files that efficiently store data. For more information, see the Apache Parquet Documentation.

FileDirectory and File NameDescriptionQuantity
Run manifest, CSV{root}/RunManifest.csvCSV file that records biological sample information and analysis settingsOne per run
Run manifest, JSON{root}/RunManifest.jsonJSON file reserved for Element Biosciences processesOne per run
Run parameters{root}/RunParameters.jsonJSON file that records information about the run configurationOne per run
Panel{root}/Panel.jsonJSON file that records information about the targets for the runOne per run
Bases{root}/BaseCalling/BaseCalls/{batch}_C{cycle}.zipBinary files that contain the raw cell screening base call dataOne per batch per cycle
Filter{root}/BaseCalling/Filter/{batch}/{tile}.filterBinary files for use with future applicationsOne per tile per batch
Location{root}/BaseCalling/Location/{batch}/{tile}.locBinary files that identify polony locations on the flow cellOne per tile per batch
Transform{root}/BaseCalling/CellXform/{batch}/{tile}.xformBinary files that transform polony locations onto cellsOne per tile per batch
Projection Image{root}/Projection/{well}/{batch}_{tile}_{target}.tifZ-projected images of cell paint targetsOne per target per tile
Raw Projection Image{root}/Projection/{well}/{batch}_{tile}_{target}_Raw.tifUncorrected raw projection TIFFs. Present only when the Raw Projections advanced run setting is enabled (RawProjections). Required input for process_imaging_targets.One per target per tile when enabled
Cell Segmentation Mask{root}/CellSegmentation/{well}/{tile}_Cell.tif or {tile}_Cell.zarrCell segmentation masks for a well, where the value for a pixel in a cell is the cell ID. TIFF and Zarr are both accepted, as described in Segmentation mask formatsOne per tile per well
Nuclear Segmentation Mask{root}/CellSegmentation/{well}/{tile}_Nuclear.tif or {tile}_Nuclear.zarrNuclear segmentation masks for a well, where the value for a pixel in a nucleus is 1. TIFF and Zarr are both accepted, as described in Segmentation mask formatsOne per tile per well
Note:

By default, Cells2Stats reads projection images from {root}/Projection and segmentation masks from {root}/CellSegmentation. Options are available to read projection images or segmentation masks from alternate directories instead. For more information, see the CLI reference.

Segmentation mask formats​

Cells2Stats accepts cell and nuclear segmentation masks as either TIFF or Zarr files, in both the run directory and an alternate directory. The format a run carries depends on the AVITI OS version that produced it:

AVITI OS versionCell maskNuclear mask
4.1.0 and later{tile}_Cell.zarr{tile}_Nuclear.zarr
Earlier than 4.1.0{tile}_Cell.tif{tile}_Nuclear.tif

No configuration is required to select a format. Cells2Stats detects the format a run carries and reads it, so a run from either AVITI OS version analyzes with the same command. Cells2Stats also copies masks to its output without converting them, so the output carries whichever format the run used. For the output paths, see Segmentation mask formats.