Mercurial > repos > artbio > small_rna_maps
comparison small_rna_maps.py @ 5:12c14642e6ac draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_maps commit 24a21619d79d83b38cef7f1a7b858c621e4c8449
author | artbio |
---|---|
date | Sun, 08 Oct 2017 17:56:13 -0400 |
parents | a6b9a081064b |
children | 1827b74f872b |
comparison
equal
deleted
inserted
replaced
4:a6b9a081064b | 5:12c14642e6ac |
---|---|
184 | 184 |
185 def main(inputs, samples, methods, outputs): | 185 def main(inputs, samples, methods, outputs): |
186 for method, output in zip(methods, outputs): | 186 for method, output in zip(methods, outputs): |
187 F = open(output, 'w') | 187 F = open(output, 'w') |
188 if method == 'Size': | 188 if method == 'Size': |
189 header = ["Dataset", "Chromosome", "Polarity", method, "Count"] | 189 header = ["Dataset", "Chromosome", "Polarity", method, "Counts"] |
190 else: | 190 else: |
191 header = ["Dataset", "Chromosome", "Chrom_length", "Coordinate", | 191 header = ["Dataset", "Chromosome", "Chrom_length", "Coordinate", |
192 "Polarity", method] | 192 "Polarity", method] |
193 F.write('\t'.join(header) + '\n') | 193 F.write('\t'.join(header) + '\n') |
194 for input, sample in zip(inputs, samples): | 194 for input, sample in zip(inputs, samples): |