changeset 25:01e56d0bc409 draft

Uploaded
author glogobyte
date Wed, 20 Oct 2021 14:27:18 +0000
parents 1d8cdfb3a359
children 0bf751c64fe9
files mirbase_graphs.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mirbase_graphs.py	Wed Oct 20 14:27:07 2021 +0000
+++ b/mirbase_graphs.py	Wed Oct 20 14:27:18 2021 +0000
@@ -585,7 +585,10 @@
   h2=FPDF.get_y(pdf)
   FPDF.set_y(pdf,h1+0.2)
   pdf.set_font('Arial','B', 16.0)
-  pdf.cell(pdf.w-0.5, 0.5, 'Templated and non-templated isomiRs',align='C')
+  if analysis=="2":
+     pdf.cell(pdf.w-0.5, 0.5, 'Templated and non-templated isomiRs',align='C')
+  else:
+     pdf.cell(pdf.w-0.5, 0.5, 'Templated isomiRs',align='C')
   pdf.set_font('Arial', '', 11.0)
   FPDF.set_y(pdf,h2)
   FPDF.set_y(pdf,9.5)
@@ -597,7 +600,7 @@
      pdf.cell(0.2)
      pdf.cell(3.0, 0.0, "  of total sRNA reads in "+group_name1.lower()+" (left) and "+group_name2.lower()+" (right) groups")
   else:
-     pdf.cell(3.0, 0.0, "  RefSeq miRNAS, Templated isomiRs and unassigned sequences as percentage of total sRNA reads in")
+     pdf.cell(3.0, 0.0, "  RefSeq miRNAS, templated isomiRs and unassigned sequences as percentage of total sRNA reads in")
      pdf.ln(0.2)
      pdf.cell(0.2)
      pdf.cell(3.0, 0.0, "  "+group_name1.lower()+" (left) and "+group_name2.lower() + " (right) groups")