Mercurial > repos > eric-rasche > circos
changeset 4:4ff5ff4c84fa draft
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit e4192d8d51efd2bf52c8094df65c164d90168e66
author | eric-rasche |
---|---|
date | Sun, 05 Mar 2017 17:02:17 -0500 |
parents | b56f47c58779 |
children | b25b3518c2ce |
files | macros.xml unified-histogram.py wiggle.py |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/macros.xml Wed Mar 01 23:56:56 2017 -0500 +++ b/macros.xml Sun Mar 05 17:02:17 2017 -0500 @@ -3,6 +3,7 @@ <token name="@WRAPPER_VERSION@">0.9-RC1</token> <xml name="requirements"> <requirements> + <requirement type="package" version="2.7">python</requirement> <requirement type="package" version="0.6.2">bcbiogff</requirement> <requirement type="package" version="0.69.2">circos</requirement> </requirements>
--- a/unified-histogram.py Wed Mar 01 23:56:56 2017 -0500 +++ b/unified-histogram.py Sun Mar 05 17:02:17 2017 -0500 @@ -37,7 +37,7 @@ if chrom not in data: data[chrom] = {} - for i in xrange(chromStart, chromEnd): + for i in range(chromStart, chromEnd): if i not in data[chrom]: data[chrom][i] = {} @@ -55,7 +55,7 @@ for feature in record.features: if 'score' in feature.qualifiers: - for i in xrange(feature.location.start, feature.location.end): + for i in range(feature.location.start, feature.location.end): if i not in data[record.id]: data[record.id][i] = {}
--- a/wiggle.py Wed Mar 01 23:56:56 2017 -0500 +++ b/wiggle.py Sun Mar 05 17:02:17 2017 -0500 @@ -6,7 +6,7 @@ stop_position = start_position + self.parserConfig['span'] - 1 self.stepIdx += 1 - for position in xrange(start_position, stop_position): + for position in range(start_position, stop_position): yield (self.parserConfig['chrom'], position, value) def variableStepParser(self, line): @@ -15,7 +15,7 @@ start_position = start stop_position = start + self.parserConfig['span'] - for position in xrange(start_position, stop_position): + for position in range(start_position, stop_position): yield (self.parserConfig['chrom'], position, value) def walk(self, handle):