trace_raw_signal
The UNPROCESSED signal of a Sanger trace: how many scans the instrument recorded, where each channel's baseline sits, the peak raw value, and how many scans analysis discarded off the front as dye front. This separates an instrument problem from an analysis problem — a read whose analyzed trace looks wrong while its raw channels are clean was mis-analyzed, not mis-run, and a baseline spread far above the others names the channel responsible. ABIF only: SCF and ZTR store no raw channels, and this refuses rather than substituting the processed ones.
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. | |
| document | No | which trace file to read: its name (`read_F.ab1`) or its project file id. A file id is project-specific, so a template ships this unset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseline | Yes | per-channel median raw sample (A/C/G/T) — the offset analysis subtracts | |
| rawScans | Yes | scans the instrument recorded, on its own time base | |
| peakRawValue | Yes | the largest raw sample across all four channels | |
| baselineSpread | Yes | highest channel baseline minus lowest. A large spread is one dye channel sitting high, which analysis removes and a raw view shows | |
| droppedFromFront | Yes | scans analysis discarded off the front (dye front and primer peak). Gate on it: an unusually long discard is a run that took a long time to resolve |