golden_gate_assemble
Assemble parts with a Type-IIS enzyme (Golden Gate / MoClo, DnaCauldron). Emits the first construct as a NEW record for downstream nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | No | the parts to assemble — wire upstream `record` outputs here, or list library document names/ids. | |
| _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. | |
| enzyme | No | Type-IIS enzyme, or leave unset to let DnaCauldron pick one. | |
| _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. | |
| connectors | No | candidate bridging LINKERS, a library distinct from `parts`. The engine reaches for one as a FALLBACK, where the parts alone do not close a construct, and names the ones it added in `warnings`; a candidate it does not need is silently unused. | |
| max_constructs | No | cap on enumerated constructs. Advanced. | |
| include_subject | No | also include the node's subject as a part. | |
| expected_constructs | No | expect exactly this many constructs and fail when the count differs. Leave unset to enumerate every valid one. | |
| expect_no_unused_parts | No | treat a part the assembly did not consume as an error, which is DnaCauldron's own default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enzyme | Yes | the Type-IIS enzyme actually used | |
| errors | Yes | assembly errors — the structured flaws DnaCauldron's errors spreadsheet is built from | |
| record | Yes | the first assembled construct, as a record | |
| products | Yes | every enumerated construct | |
| warnings | Yes | assembly warnings | |
| overhangs | Yes | the first construct’s junction overhangs, in assembly order: wire this into score_overhang_fidelity | |
| productCount | Yes | number of constructs |