# HG changeset patch # User artbio # Date 1508109269 14400 # Node ID ae9ea0488850473fbd8b8fb192ed774e9634ce7c # Parent 2a1a2bc6ae8ba5622e308ca91bf3c450d8709a92 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 9aec415b3fcc66bf3ed2aad43fd70b57bfe2fb18 diff -r 2a1a2bc6ae8b -r ae9ea0488850 bamparse.py --- a/bamparse.py Fri Oct 13 02:59:36 2017 -0400 +++ b/bamparse.py Sun Oct 15 19:14:29 2017 -0400 @@ -62,13 +62,13 @@ countlists = [] for dic in diclist: counts = sorted(dic.items()) - counts = [j for (i,j) in counts] + counts = [j for (i, j) in counts] countlists.append(counts) if number == "unique": out = open("outputdir/table.tabular", "w") out.write("gene\t%s\n" % "\t".join(labels)) for countline in zip(sorted(diclist[0]), *countlists): - line = [ str(i) for i in countline] + line = [str(i) for i in countline] out.write("%s\n" % "\t".join(line)) out.close() else: @@ -80,7 +80,6 @@ out.close() - def main(alignments, labels, polarity, output, number): diclist = [] for file in alignments: diff -r 2a1a2bc6ae8b -r ae9ea0488850 bamparse.xml --- a/bamparse.xml Fri Oct 13 02:59:36 2017 -0400 +++ b/bamparse.xml Sun Oct 15 19:14:29 2017 -0400 @@ -1,4 +1,4 @@ - + in a BAM file bowtie