scrub_restriction_sites
Propose the minimal SILENT synonymous edits that remove forbidden restriction sites from a CDS (a design/write).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dna | Yes | the CDS nucleotide sequence (in frame). | |
| table | No | the codon-usage table to guide synonym choice, BY NAME, as the Codon Usage panel lists it. This is the way to pass a table: it resolves against the tables loaded in this project, so the numbers come from one someone built or fetched. Leave unset and the active table is used. | |
| _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. | |
| protein | Yes | the CDS translation (for silence checking). | |
| _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. | |
| table_tsv | No | ONLY for a table you are pasting yourself, measured elsewhere — prefer `table`, which names one this project already has. Do NOT write a table out from memory: codon frequencies are measured data, and a typed one is indistinguishable from a real one in the result. TSV: codon<TAB>count. Advanced. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dna | Yes | the scrubbed CDS (silent edits applied) | |
| fixes | Yes | one entry per synonymous swap made | |
| fixCount | Yes | number of codons changed |