check_color_balance
Will the sequencer SEE these indexes? Per-cycle channel occupancy for a set of index sequences under an instrument's own SBS chemistry, checked against Illumina's rules (no dark cycle, both channels preferred, no GG in the first two cycles), each violation citing the vendor article it comes from — and the same set scored across EVERY chemistry generation at once, because XLEAP moved the dual-color base from A to C and a set balanced on a NovaSeq 6000 is not balanced on a NovaSeq X. This is the color question alone; check_index_pool asks it alongside distance, duplicates and hopping for a whole pool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| barcodes | Yes | the index sequences to score, one per sample. | |
| instrument | No | the instrument whose chemistry the set is judged under, and whose index-2 orientation applies. | NovaSeq X / X Plus |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | whether the set clears every rule for this chemistry | |
| tier | Yes | Illumina's own grading of this set on this instrument: `ideal`, `acceptable` or `unacceptable` | |
| cycles | Yes | per-cycle channel occupancy — the census the tier is computed from | |
| violations | Yes | each rule broken, the cycles it was broken at, and the vendor article it comes from | |
| acrossChemistries | Yes | the SAME set scored under every chemistry generation, so a set that passes here and fails on another instrument says so before the run |