Closed kelsi-kw closed 2 years ago
Hi, thanks for reporting this. Do you have any message in the pdf report in place of the image?
If not, then the problem is likely the version of Python, described here: https://github.com/Edinburgh-Genome-Foundry/DnaChisel/issues/58#issuecomment-828569548
The solution is to use Python v3.6 as described here: How to install and use EGF packages , until we update the packages for a later version.
Thank you so much for the quick response. I will try that!
Hello! I have ran
dnachisel.reports.write_optimization_report(problem=problem, target=".")
and the report consists of every component except for the gene graphs/ geneblocks.The only way I have been able to see the geneblocks image is by running separate code, shown below, and it is saved as an extra PNG file.
seq_1 = dnachisel.sequence_to_biopython_record(problem.sequence_before) seq_2 = problem.to_record() diff_blocks = DiffBlocks.from_sequences(seq_1, seq_2) ax1, ax2 = diff_blocks.merged().plot(figure_width=8)
But I would really like to see them in the optimization report. Any help would be appreciated. Thanks!