digest_fragments
Digest the subject with the given enzymes into real fragments (sequence + both overhangs). Emits the selected fragment as a NEW record, so a downstream gel/map/ORF runs on that fragment — the digest→assembly hand-off.
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. | |
| enzymes | Yes | enzymes to digest with — resolved against the bundled cut catalog (REBASE spellings; smaller than the REBASE dossier the editor shows). Left unset, the run uses your active enzyme collection. | |
| _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. | |
| fragment_index | No | which fragment to emit as the downstream record (0-based, in cut order). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | number of fragments | |
| record | Yes | the selected fragment as a linear record | |
| lengths | Yes | fragment lengths in cut order | |
| fragments | Yes | every fragment (sequence + left/right overhang + enzyme) | |
| parentSpan | Yes | where the emitted fragment sat on the parent, [start, end). A start above the end spans the origin |