Repository 'msp_sr_readmap_and_size_histograms'
hg clone https://toolshed.g2.bx.psu.edu/repos/drosofff/msp_sr_readmap_and_size_histograms

Changeset 3:9b62e6b0d219 (2016-02-03)
Previous changeset 2:ebfc73c72652 (2016-02-03) Next changeset 4:4efe210c91f3 (2016-02-03)
Commit message:
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_readmap_and_size_histograms commit 032b3f084f3b2a6d42ba476ef55f4de593b58606-dirty
modified:
readmap.py
b
diff -r ebfc73c72652 -r 9b62e6b0d219 readmap.py
--- a/readmap.py Wed Feb 03 09:20:34 2016 -0500
+++ b/readmap.py Wed Feb 03 11:07:25 2016 -0500
[
@@ -89,11 +89,11 @@
   gene, coordinate, count, orientation = listify_plottable_item(first_line)
   if not coordinate == "0":
     new_line = "\t".join([gene, "0", "0", "F"])
-    plottable = new_line + plottable
+    plottable = [new_line] + plottable
   gene_length = str(lookup_gene_length(gene, readDict))
   if not coordinate == gene_length:
     last_line = "\t".join([gene, gene_length, "0", "F"])
-    plottable = plottable + last_line
+    plottable = plottable + [last_line]
 
 def write_readplot_dataframe(readDict, readmap_file):
   listoflines = []