# HG changeset patch # User mvdbeek # Date 1454515610 18000 # Node ID a118d511a27cb7cfa3b47c4e9c5587229aa92e03 # Parent 70f4385534f96a63fcb9f1b7bb7f218219c0ab55 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_readmap_and_size_histograms commit 032b3f084f3b2a6d42ba476ef55f4de593b58606-dirty diff -r 70f4385534f9 -r a118d511a27c readmap.py --- a/readmap.py Wed Feb 03 09:08:13 2016 -0500 +++ b/readmap.py Wed Feb 03 11:06:50 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 = []