changeset 24:1d8cdfb3a359 draft

Uploaded
author glogobyte
date Wed, 20 Oct 2021 14:27:07 +0000
parents 6d3abc45aa49
children 01e56d0bc409
files mirgene_graphs.py
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mirgene_graphs.py	Wed Oct 20 12:11:43 2021 +0000
+++ b/mirgene_graphs.py	Wed Oct 20 14:27:07 2021 +0000
@@ -624,8 +624,11 @@
   pdf.image(images[2],x=1, w=6.5, h=5)
   h2=FPDF.get_y(pdf)
   FPDF.set_y(pdf,h1+0.2)
-  pdf.set_font('Arial','', 16.0)
-  pdf.cell(pdf.w-0.5, 0.5, 'Template and non-template isomiRs',align='C')
+  pdf.set_font('Arial','B', 16.0)
+  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)
@@ -638,7 +641,7 @@
      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")