Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choosing enzyme in AssemblyPlan.from_spreadsheet() #9

Closed
veghp opened this issue Oct 14, 2021 · 0 comments
Closed

Choosing enzyme in AssemblyPlan.from_spreadsheet() #9

veghp opened this issue Oct 14, 2021 · 0 comments

Comments

@veghp
Copy link
Member

veghp commented Oct 14, 2021

When the backbone contains 2 sets of correctly oriented enzyme sites (BsaI and BsmBI), then autoselect may not correctly choose the one we want to use.
This can be addressed by specifying an enzyme for each assembly:

assembly_plan = dc.AssemblyPlan.from_spreadsheet(
    name="Assembly",
    path=assembly_plan_path,
    assembly_class=dc.Type2sRestrictionAssembly
)
for assembly in assembly_plan.assemblies:
    assembly.enzyme = "BsaI"

so this is not an issue in DNA Cauldron, but causes a bug in CUBA where the enzyme selected in the dropdown menu is ignored.

A possible solution is to make a note about this in the documentation and add the above code in CUBA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant