Cloning failure diagnosis (ranked causes from design + observation)
cloning_diagnoseWork out why a cloning experiment failed: no colonies, every clone empty vector, or no PCR band. Takes your design (method, parts, enzymes, primers, host methylation state) plus what you actually observed (colony counts on the plate and on each control, screening tally, band sizes, whether the ladder ran) and returns causes ranked by evidence — each with the deterministic fact from the design or the observation that implicates it, the cheapest observation that would separate it from the next candidate, and the next experiment. Causes the observations eliminate are reported as eliminated, naming the observation that did it; causes the design makes impossible are not listed. No probability is computed anywhere — the ordering is of evidence, not of likelihood, and ranking.evidenceBased says so when the inputs separate nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | No | Parts in assembly order (Golden Gate / Gibson), or [vector, insert] for a restriction ligation. Raw or FASTA. Up to 8; 300,000 bp total across parts and template. | |
| method | Yes | How the construct was made. Decides which cause set applies and which design checks can run. | |
| enzymes | No | The Type IIS enzyme for Golden Gate (BsaI, BbsI, Esp3I (BsmBI)), or the one or two restriction enzymes the insert and vector were cut with. An unrecognised name is rejected rather than skipped: every methylation and site-geometry verdict here reads "no site found" when the enzyme is missing, so a typo would come back as a clean bill of health. | |
| symptom | Yes | The complaint. "no_colonies" = the plate is blank; "wrong_clones" = colonies grew but the clones are empty vector / rearranged / the original template; "no_pcr_band" = the gel lane is empty or the band is the wrong size. | |
| colonies | No | Colonies on the experimental plate. Omitting this is different from giving 0. | |
| screened | No | Screening tally, up to 100,000 clones. The buckets must not add up to more than total — an inconsistent tally is rejected rather than reasoned over, because every verdict drawn from the screen compares a count against that total. | |
| template | No | PCR template, raw or FASTA. | |
| ladderRan | No | Was the ladder itself visible in the same gel? A true here eliminates the whole stain-and-imaging branch in one observation. | |
| partNames | No | Labels for the parts, in the same order ("backbone", "promoter", "CDS"). Used in every fact that names a part. | |
| overlapLen | No | Gibson only — the homology arm length the assembly was designed with. | |
| insertSource | No | Where the insert came from. Only "plasmid_pcr" changes a verdict: a plasmid template replicates and selects on its own, so it can give colonies with no ligation at all. | |
| vectorMarker | No | Selection marker on the vector. Compared against the plate's antibiotic by identity, not by guessing at free text. | |
| primerForward | No | Forward primer, up to 200 nt. | |
| primerReverse | No | Reverse primer, up to 200 nt. | |
| agarosePercent | No | Agarose percentage of the gel. Snapped to the nearest tabulated value; decides the resolving window a band is placed against. | |
| annealingTempC | No | Annealing temperature actually used, °C. Compared against each primer's own nearest-neighbour Tm. | |
| hostMethylation | No | Dam/Dcm state of the DNA that was CUT — a property of the strain the plasmid was prepared from, not the one it was transformed into. Standard cloning strains are dam+/dcm+. "dam_dcm_minus" eliminates every methylation-blocking cause; "unknown" leaves the sequence overlap stated as a fact and the methylation as an open question. | unknown |
| plateAntibiotic | No | Antibiotic on the plate. amp and carbenicillin count as the same selection (both select bla). | |
| templateCircular | No | Treat the template as a plasmid, so a product across the origin is found. | |
| gelBandsObservedBp | No | Band sizes read off the lane, bp. An empty array ("I looked and there was nothing") is not the same as omitting the field. | |
| phosphataseTreated | No | Was the cut vector dephosphorylated (rSAP/CIP) before ligation? | |
| noDnaControlColonies | No | Colonies from the same cells and plate with NO DNA added. Non-zero means the plate is not selecting. | |
| noInsertControlColonies | No | Colonies from the identical reaction with the insert (or one part) left out. | |
| positiveControlColonies | No | Colonies from an intact, uncut plasmid into the same cell aliquot. Non-zero eliminates "the cells never took up DNA". | |
| positiveControlSameMarker | No | Did that control plasmid carry the SAME selection marker? If not, it eliminates the cells but says nothing about the plate — the tool reports the difference. | |
| uncutVectorControlColonies | No | Colonies from the digested but UNLIGATED vector. Measures intact vector that survived the digest, with no help from the ligase. | |
| transformationEfficiencyCfuPerUg | No | cfu/µg from a control transformation, where it was measured. |