diff small_rna_maps.py @ 19:f33afecac67a draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_maps commit ee61e232fbde2e4f9b222607ba928bceaf271289
author artbio
date Thu, 22 Nov 2018 20:05:32 -0500
parents 2c95c899d0a4
children de7fbcb1348c
line wrap: on
line diff
--- a/small_rna_maps.py	Thu Nov 22 03:07:41 2018 -0500
+++ b/small_rna_maps.py	Thu Nov 22 20:05:32 2018 -0500
@@ -302,8 +302,8 @@
                     str(start) + "-" + str(end), str(size), str(density)]
             line = [str(i) for i in line]
             if size > skip:
-                bedline = [key[0], str(start-1), str(end), 'cluster', '.',
-                           polarity]
+                bedline = [key[0], str(start-1), str(end), 'cluster',
+                           str(clustered_dic[key][0]), polarity]
                 bed.write('\t'.join(bedline) + '\n')
             out.write('\t'.join(line) + '\n')
         bed.close()