call_bases_from_trace
Call the bases of a Sanger trace from the signal, discarding the instrument's calls and deriving the bases, their positions and their quality from the peaks. The read can come back a DIFFERENT LENGTH than the file's. This ANSWERS the question; adopt_trace_calls is what puts the answer onto the read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | the instrument/polymer calibration table to score against. The same signal scores differently under each, so a quality value is only interpretable with the table named. Defaults to ABI 3730 POP-7. | 3730pop7 |
| _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 to run on: a file name (`read_F.ab1`) or its project file id. Leave unset to use the trace tab on screen. A file id is project-specific, so a template ships this unset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bases | Yes | how many bases the reading called | |
| meanQuality | Yes | the mean Phred of the reading, on the calibration table it names | |
| instrumentBases | Yes | how many the FILE carries, so a gate can see a de-novo reading change the read's length |