# HG changeset patch # User glogobyte # Date 1634740038 0 # Node ID 01e56d0bc409b9ab57a36ba7bf25f566404a5836 # Parent 1d8cdfb3a3598c83dddda22efd7df83074b01458 Uploaded diff -r 1d8cdfb3a359 -r 01e56d0bc409 mirbase_graphs.py --- 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")