Mercurial > repos > mheinzl > fsd_regions
changeset 13:63432e6f6a61 draft
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd_regions commit edbe0509294e5c23c26cdae659ce5cf3ff69c363
author | mheinzl |
---|---|
date | Fri, 07 Dec 2018 07:23:07 -0500 |
parents | fa3ff1c5280d |
children | 6879295d3f11 |
files | fsd_regions.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/fsd_regions.py Mon Nov 26 04:59:56 2018 -0500 +++ b/fsd_regions.py Fri Dec 07 07:23:07 2018 -0500 @@ -201,8 +201,8 @@ .format(max(map(int, quant_ba)), count2[len(count2) - 1], float(count2[len(count2) - 1]) / sum(count2)) plt.text(0.45, 0.1475, legend, size=11, transform=plt.gcf().transFigure) - plt.text(0.55, 0.2125, "total nr. of tags:", size=11, transform=plt.gcf().transFigure) - plt.text(0.8, 0.2125, "{:,} ({:,})".format(length_regions, length_regions / 2), size=11, + plt.text(0.53, 0.2125, "total nr. of tags:", size=11, transform=plt.gcf().transFigure) + plt.text(0.85, 0.2125, "{:,} ({:,})".format(length_regions, length_regions / 2), size=11, transform=plt.gcf().transFigure) legend4 = "* In the plot, both family sizes of the ab and ba strands were used.\nWhereas the total numbers indicate only the single count of the tags per region.\n" @@ -210,8 +210,8 @@ space = 0 for i, count in zip(group, quantAfterRegion): - plt.text(0.55, 0.15 - space, "{}:\n".format(i), size=11, transform=plt.gcf().transFigure) - plt.text(0.8, 0.15 - space, "{:,}\n".format(len(count) / 2), size=11, transform=plt.gcf().transFigure) + plt.text(0.53, 0.15 - space, "{}:\n".format(i), size=11, transform=plt.gcf().transFigure) + plt.text(0.85, 0.15 - space, "{:,}\n".format(len(count) / 2), size=11, transform=plt.gcf().transFigure) space = space + 0.02 plt.legend(loc='upper right', fontsize=14, bbox_to_anchor=(0.9, 1), frameon=True)