def add_summary_section(self):
""" Coverage section.
"""
#image = self.create_embedded_png(self.chromosome.plot_coverage,
# input_arg="filename")
import textwrap
command = "\n".join(textwrap.wrap(self.jinja['command'], 80))
command = self.jinja['command']
html = "<p>Data type: {} </p>".format(self.jinja["mode"])
html += '<div style="textwidth:80%">Command: <pre>{}</pre></div>'.format(command)
self.sections.append({
"name": "Data and command used",
"anchor": "cutadapt",
"content": html
})
评论列表
文章目录