Repository 'fsd_regions'
hg clone https://toolshed.g2.bx.psu.edu/repos/mheinzl/fsd_regions

Changeset 13:63432e6f6a61 (2018-12-07)
Previous changeset 12:fa3ff1c5280d (2018-11-26) Next changeset 14:6879295d3f11 (2019-01-08)
Commit message:
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd_regions commit edbe0509294e5c23c26cdae659ce5cf3ff69c363
modified:
fsd_regions.py
b
diff -r fa3ff1c5280d -r 63432e6f6a61 fsd_regions.py
--- 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)