comparison 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
comparison
equal deleted inserted replaced
18:2c95c899d0a4 19:f33afecac67a
300 line = [self.sample_name, key[0], self.chromosomes[key[0]], 300 line = [self.sample_name, key[0], self.chromosomes[key[0]],
301 key[1], key[2], clustered_dic[key][0], 301 key[1], key[2], clustered_dic[key][0],
302 str(start) + "-" + str(end), str(size), str(density)] 302 str(start) + "-" + str(end), str(size), str(density)]
303 line = [str(i) for i in line] 303 line = [str(i) for i in line]
304 if size > skip: 304 if size > skip:
305 bedline = [key[0], str(start-1), str(end), 'cluster', '.', 305 bedline = [key[0], str(start-1), str(end), 'cluster',
306 polarity] 306 str(clustered_dic[key][0]), polarity]
307 bed.write('\t'.join(bedline) + '\n') 307 bed.write('\t'.join(bedline) + '\n')
308 out.write('\t'.join(line) + '\n') 308 out.write('\t'.join(line) + '\n')
309 bed.close() 309 bed.close()
310 310
311 311