Mercurial > repos > glogobyte > isoread
comparison mirgene_graphs.py @ 24:1d8cdfb3a359 draft
Uploaded
author | glogobyte |
---|---|
date | Wed, 20 Oct 2021 14:27:07 +0000 |
parents | 2eebd59cc5ea |
children | 0bf751c64fe9 |
comparison
equal
deleted
inserted
replaced
23:6d3abc45aa49 | 24:1d8cdfb3a359 |
---|---|
622 pdf.ln(0.5) | 622 pdf.ln(0.5) |
623 h1=FPDF.get_y(pdf) | 623 h1=FPDF.get_y(pdf) |
624 pdf.image(images[2],x=1, w=6.5, h=5) | 624 pdf.image(images[2],x=1, w=6.5, h=5) |
625 h2=FPDF.get_y(pdf) | 625 h2=FPDF.get_y(pdf) |
626 FPDF.set_y(pdf,h1+0.2) | 626 FPDF.set_y(pdf,h1+0.2) |
627 pdf.set_font('Arial','', 16.0) | 627 pdf.set_font('Arial','B', 16.0) |
628 pdf.cell(pdf.w-0.5, 0.5, 'Template and non-template isomiRs',align='C') | 628 if analysis=="2": |
629 pdf.cell(pdf.w-0.5, 0.5, 'Templated and non-templated isomiRs',align='C') | |
630 else: | |
631 pdf.cell(pdf.w-0.5, 0.5, 'Templated isomiRs',align='C') | |
629 pdf.set_font('Arial', '', 11.0) | 632 pdf.set_font('Arial', '', 11.0) |
630 FPDF.set_y(pdf,h2) | 633 FPDF.set_y(pdf,h2) |
631 FPDF.set_y(pdf,9.5) | 634 FPDF.set_y(pdf,9.5) |
632 # Image caption | 635 # Image caption |
633 pdf.cell(0.2) | 636 pdf.cell(0.2) |
636 pdf.ln(0.2) | 639 pdf.ln(0.2) |
637 pdf.cell(0.2) | 640 pdf.cell(0.2) |
638 pdf.cell(3.0, 0.0, " of total sRNA reads in "+group_name1.lower()+" (left) and "+group_name2.lower()+" (right) groups") | 641 pdf.cell(3.0, 0.0, " of total sRNA reads in "+group_name1.lower()+" (left) and "+group_name2.lower()+" (right) groups") |
639 | 642 |
640 else: | 643 else: |
641 pdf.cell(3.0, 0.0, " RefSeq miRNAS, Templated isomiRs and unassigned sequences as percentage of total sRNA reads in") | 644 pdf.cell(3.0, 0.0, " RefSeq miRNAS, templated isomiRs and unassigned sequences as percentage of total sRNA reads in") |
642 pdf.ln(0.2) | 645 pdf.ln(0.2) |
643 pdf.cell(0.2) | 646 pdf.cell(0.2) |
644 pdf.cell(3.0, 0.0, " "+group_name1.lower()+" (left) and "+group_name2.lower()+" (right) groups") | 647 pdf.cell(3.0, 0.0, " "+group_name1.lower()+" (left) and "+group_name2.lower()+" (right) groups") |
645 | 648 |
646 pdf.add_page() | 649 pdf.add_page() |