digest_reaction_conditions
The reaction a digest needs, from NEB's own data: the NEBuffer that serves every enzyme together (scored on the WORST enzyme's percent activity, a star-activity buffer disqualified at any percent), the incubation temperature(s), any cofactor that must be added (SAM or ATP), and each product's heat-inactivation step, or the products NEB cannot heat-inactivate. One call is one tube: enzymes that need different temperatures or have no common buffer come back with singleTube: false. Needs no open record.
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 or NEB product names in one tube (EcoRI, BamHI-HF). A name NEB does not sell is returned under `unknown`, never dropped. 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buffer | Yes | the recommended NEBuffer, or null when every buffer is starred or at 0% for one of the enzymes | |
| buffers | Yes | every NEBuffer scored, best first: worst percent, star-active enzymes, usable, per-enzyme activity | |
| unknown | Yes | names NEB does not sell, so no conditions exist for them | |
| cofactors | Yes | cofactors the reaction requires (SAM, ATP), from REBASE | |
| singleTube | Yes | true when one buffer AND one temperature serve every enzyme | |
| temperaturesC | Yes | incubation temperatures required, ascending; more than one means more than one step | |
| heatInactivation | Yes | whether the tube can be heat-killed, each product's NEB step (temperature, minutes), and the products that need a column or gel cleanup instead |