comparison pima_report.py @ 33:f5a9f1969199 draft default tip

Uploaded
author greg
date Thu, 31 Aug 2023 20:55:23 +0000
parents 163260afc1b1
children
comparison
equal deleted inserted replaced
32:163260afc1b1 33:f5a9f1969199
477 'SNPs', 477 'SNPs',
478 '{:,}'.format(quast_mismatches), 478 '{:,}'.format(quast_mismatches),
479 'Small indels', 479 'Small indels',
480 '{:,}'.format(quast_indels) 480 '{:,}'.format(quast_indels)
481 ] 481 ]
482 self.doc.new_table(columns=2, rows=3, text=Table_1, text_align='left')
483 self.doc.new_line('<div style="page-break-after: always;"></div>')
484 self.doc.new_line()
482 except Exception: 485 except Exception:
483 # Likely a high dissimilarity bewteen the sample 486 # Likely a high dissimilarity bewteen the sample
484 # and the reference, resulting in a failed alignment. 487 # and the reference, resulting in a failed alignment.
485 pass 488 pass
486 self.doc.new_table(columns=2, rows=3, text=Table_1, text_align='left')
487 self.doc.new_line('<div style="page-break-after: always;"></div>')
488 self.doc.new_line()
489 # TODO: self.alignment_notes is not currently populated. 489 # TODO: self.alignment_notes is not currently populated.
490 if len(self.alignment_notes) > 0: 490 if len(self.alignment_notes) > 0:
491 self.doc.new_header(level=3, title=self.alignment_notes_title) 491 self.doc.new_header(level=3, title=self.alignment_notes_title)
492 for note in self.alignment_notes: 492 for note in self.alignment_notes:
493 self.doc.new_line(note) 493 self.doc.new_line(note)