Verify a claimed construct
verify_constructRe-derive a construct's insert from the PCR (template + primers) claimed to have produced it, then check — independently of that claim — whether the expected insert actually appears (either orientation) in the claimed final construct, at what identity, and with exact mismatch positions if not. Optionally also checks for a premature stop in a declared reading frame. Primers may carry a non-templated 5' tail (a restriction site, a Gibson arm, a tag): a construct missing ONLY tail bases still passes, since that is exactly what digesting a tailed amplicon removes before ligation — see match.templateCoveragePct and match.unalignedIsTailOnly, and note the pass does not establish that the right enzyme made the cut. This re-derives from the claim's own stated inputs; it does not review the claim's prose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| insertTemplate | Yes | PCR template the insert was amplified from. | |
| claimedConstruct | Yes | The final sequence claimed to have been built. | |
| templateCircular | No | Treat insertTemplate as circular (e.g. amplifying from a plasmid). | |
| expectedFrameStart | No | 1-based position in claimedConstruct where the intended reading frame begins. If given, flags a premature stop before the end of the aligned insert region. | |
| insertForwardPrimer | Yes | Forward primer used to amplify the insert, 5'→3'. | |
| insertReversePrimer | Yes | Reverse primer used to amplify the insert, 5'→3'. | |
| maxPrimerMismatches | No | Mismatches tolerated per primer during PCR prediction (0–10). |