-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
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:
- circular connection graph pdf
- final assembly genbank file
- summary.csv with one correct assembly consiting of frag1, frag2 and frag3 and no error.csv file
If i run the code with three fragments that are suitable for linear assembly, but cannot be circularized it get:
- linear connection graph pdf
- no final assembly genbank file
- no summary.csv file and error.csv contains "unused_parts: FRAG1 & FRAG2 & FRAG3"
Is there a way to specify that I am expecting a linear assembly and not a cirucular?
repository = dc.SequenceRepository()
repository.import_records(files=['seqs.fa'])
parts_list = list(repository.collections["parts"])
assembly = dc.Type2sRestrictionAssembly(
name="golden_gate",
parts=parts_list,
expected_constructs="any_number",
)
simulation = assembly.simulate(sequence_repository=repository)
report_writer = dc.AssemblyReportWriter(include_mix_graphs=True, include_part_plots=True)
simulation.write_report(
target="output",
report_writer=report_writer,
)