A run needs up to three small text files next to your images:
| File | What it says | Needed |
|---|---|---|
| Samplesheet | Where the images are: one row per cycle, or per stitched image. | Always |
| Marker sheet | What each channel is: its name, and whether it is a nuclear stain. | Raw cycles; not pre-stitched images |
params.yml | What to run: segmentation method, patch size, optional steps. | Always, in practice |
Which samplesheet you write depends on where your images start:
| Your images are | Samplesheet | Marker sheet | Example |
|---|---|---|---|
| Raw tiles, one file per cycle | Cycle sheet, one row per cycle | Yes | Exemplar-001 |
| Already stitched elsewhere | Stitched-image sheet, one row per image | No | Pre-stitched image |
All three files are plain text. Write the sheets in a spreadsheet and save as CSV, and the parameters in any text editor.
Samplesheet: the columns, path rules, and reusing illumination profiles.
Marker sheet: channel roles, compartments, and the columns optional steps need.
Parameters: the ones most runs change, by topic.
All parameters: every parameter with its type and default.
The run checks the sheets and parameters when it starts, and stops with a message naming the sample, the sheet and the column when something is wrong.