Mercurial > repos > yufei-luo > s_mart
comparison SMART/Java/Python/GetDistribution.py @ 18:94ab73e8a190
Uploaded
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:20:15 -0400 |
parents | 769e306b7933 |
children |
comparison
equal
deleted
inserted
replaced
17:b0e8584489e6 | 18:94ab73e8a190 |
---|---|
286 transcript.setChromosome(chromosome) | 286 transcript.setChromosome(chromosome) |
287 transcript.setStart(bin) | 287 transcript.setStart(bin) |
288 if self.nbBins > 0: | 288 if self.nbBins > 0: |
289 transcript.setEnd(bin + self.sliceSize) | 289 transcript.setEnd(bin + self.sliceSize) |
290 else: | 290 else: |
291 transcript.setEnd(start) | 291 transcript.setEnd(self.start) |
292 transcript.setDirection(1 if strand == 0 else strand) | 292 transcript.setDirection(1 if strand == 0 else strand) |
293 transcript.setTagValue("ID", "region%d" % (cpt)) | 293 transcript.setTagValue("ID", "region%d" % (cpt)) |
294 cpt += 1 | 294 cpt += 1 |
295 writer.write() | 295 writer.write() |
296 if self.verbosity > 1: | 296 if self.verbosity > 1: |