rank_strategies
Compare EVERY assembly chemistry this engine has against one set of parts, and say what each one costs and risks. It runs them all, keeps the ones that really produce a construct, and reports the rest with the refusal the chemistry itself gave — so 'Golden Gate is the only way to build this, and its overhangs ligate correctly 99.8% of the time' is one step rather than six runs and a spreadsheet. There is deliberately no single 'best' score: combining the criteria needs weights nobody has settled, and the one criterion every published ranking leads with (cost) has no price this app can honestly cache. So the comparison is the answer, and the sort is by whichever criterion you name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | No | the parts to assemble, in order — order is meaningful for Type-IIS. Wire records in, or name project documents. | |
| _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 for the chemistries that use one. `auto` is DnaCauldron's own default: it picks the enzyme from the sites the parts carry. | auto |
| _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. | |
| order_by | No | which criterion to order the feasible strategies by. Every criterion is reported for every strategy whichever one you pick. Values: steps (Steps (lower is better)), junctions (Junctions (lower is better)), primers (Primers (lower is better)), overhangFidelity (Overhang fidelity (higher is better)), weakestJunctionTm (Weakest junction Tm (higher is better)), framesBroken (Frames broken (lower is better)), diagnosticCutters (Diagnostic cutters (higher is better)), cost (Cost (lower is better)). | junctions |
| digest_enzymes | No | the enzymes a verification digest may use. Left unset the run uses your active enzyme collection; with neither, the diagnostic-digest criterion is reported as unavailable rather than guessed, because a digest is only meaningful against enzymes you have. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| best | Yes | the chemistry at the top of the order you asked for — a position in that order, not a verdict. Null when no chemistry built these parts | |
| ranked | Yes | every feasible strategy in order, each with every criterion and the reason for any it could not score | |
| refused | Yes | the chemistries that produced nothing, each with the refusal it gave. Never dropped: 'this cannot be built that way, and here is why' is half the answer | |
| criteria | Yes | the criteria themselves: what each one means and which direction is better | |
| feasible | Yes | how many chemistries produced a construct from these parts | |
| notScored | Yes | criteria NO strategy could score, with the reason — so an empty column says why it is empty |