# HG changeset patch # User galaxyp # Date 1586273458 0 # Node ID 2e24ff66228f47688c906e6d35ae47d5c0f8d9de # Parent 23f34d9dd8e6504df12cb9cf536e98a6fb094c5e "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 2a470e2c775a7427aa530e058510e4dc7b6d8e80" diff -r 23f34d9dd8e6 -r 2e24ff66228f gffcompare_to_bed.py --- a/gffcompare_to_bed.py Fri Apr 26 14:42:07 2019 -0400 +++ b/gffcompare_to_bed.py Tue Apr 07 15:30:58 2020 +0000 @@ -31,13 +31,13 @@ self.thickEnd = int(thickEnd) if thickEnd else self.chromEnd self.itemRgb = str(itemRgb) if itemRgb is not None else r'100,100,100' self.blockCount = int(blockCount) - if isinstance(blockSizes, str) or isinstance(blockSizes, unicode): + if isinstance(blockSizes, str): self.blockSizes = [int(x) for x in blockSizes.split(',')] elif isinstance(blockSizes, list): self.blockSizes = [int(x) for x in blockSizes] else: self.blockSizes = blockSizes - if isinstance(blockStarts, str) or isinstance(blockSizes, unicode): + if isinstance(blockStarts, str): self.blockStarts = [int(x) for x in blockStarts.split(',')] elif isinstance(blockStarts, list): self.blockStarts = [int(x) for x in blockStarts] @@ -93,10 +93,9 @@ for j in attributes.rstrip(';').split(';')]} if feature == 'transcript': if args.debug: - print >> sys.stderr, "%s\t%s"\ - % ('\t'.join([seqname, source, feature, - start, end, score, strand, frame]), - attribute) + sys.stderr.write("%s\t%s\n" % ('\t'.join([seqname, source, + feature, start, end, score, strand, frame]), + attribute)) if bed is not None: write_bed_entry(bed) bed = None diff -r 23f34d9dd8e6 -r 2e24ff66228f gffcompare_to_bed.xml --- a/gffcompare_to_bed.xml Fri Apr 26 14:42:07 2019 -0400 +++ b/gffcompare_to_bed.xml Tue Apr 07 15:30:58 2020 +0000 @@ -1,5 +1,8 @@ - + for StringTie results + + python +