comparison pima_report.py @ 19:c509e6819795 draft

Uploaded
author greg
date Thu, 30 Mar 2023 20:35:32 +0000
parents e948214a9e3c
children 4fe8c35cd176
comparison
equal deleted inserted replaced
18:e948214a9e3c 19:c509e6819795
526 if len(self.circos_files) > 0: 526 if len(self.circos_files) > 0:
527 # Add circos PNG files. 527 # Add circos PNG files.
528 for circos_file in self.circos_files: 528 for circos_file in self.circos_files:
529 contig = os.path.basename(circos_file) 529 contig = os.path.basename(circos_file)
530 contig_title = 'Alignment to %s' % contig 530 contig_title = 'Alignment to %s' % contig
531 self.doc.new_line('Blue indicates aligned sequences (to the reference) and yellow indicates missing sequences')
531 self.doc.new_line() 532 self.doc.new_line()
532 self.doc.new_header(level=3, title=contig_title) 533 self.doc.new_header(level=3, title=contig_title)
533 self.doc.new_line(self.doc.new_inline_image(text='contig_title', path=os.path.abspath(circos_file))) 534 self.doc.new_line(self.doc.new_inline_image(text='contig_title', path=os.path.abspath(circos_file)))
534 self.doc.new_line('<div style="page-break-after: always;"></div>') 535 self.doc.new_line('<div style="page-break-after: always;"></div>')
535 self.doc.new_line() 536 self.doc.new_line()