You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The short answer is that DnaCauldron can export linear assembly sequences, but the interface you are using doesn't support it yet.There are two ways forward:
Use a restriction mix instead and its compute_linear_assemblies method. It's just a few more line to get the records and the plots. Should be something like that:
mix=dc.RestrictionLigationMix(parts, enzyme)
forassemblyinmix.compute_linear_assemblies():
SeqIO.write(assembly, "record.gb") # assemly should be a biopython recordax=mix.plot_connections_graph()
ax.figure.savefig("connections_graph.pdf")
There may be a way to expand the Type2sRestrictionAssembly class and in particular this line in the code so it will support linear assemblies.
Great, I found the method compute_linear_assemblies() on the ConstructsMixin class but was scratching my head trying to figure out how to apply it. Will try you snippet asap. Thank you,.
I am trying to simulate a three fragment golden gate type assembly where the end product is not a circular dna but a linear dna.
If i run the below code with three fragments suitable for circular assembly i get the expected ouput of:
If i run the code with three fragments that are suitable for linear assembly, but cannot be circularized it get:
Is there a way to specify that I am expecting a linear assembly and not a cirucular?
golden_gate_type2s_mix_parts_graph.pdf
The text was updated successfully, but these errors were encountered: