# HG changeset patch # User galaxyp # Date 1586273591 14400 # Node ID a7c58b43cbaacee9ed0ee196511c8048c38e693d # Parent 024ed7b0ad939333271ae2279303db648ca6cbb5 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/bed_to_protein_map commit 2a470e2c775a7427aa530e058510e4dc7b6d8e80" diff -r 024ed7b0ad93 -r a7c58b43cbaa bed_to_protein_map.py --- a/bed_to_protein_map.py Thu Jan 04 16:29:38 2018 -0500 +++ b/bed_to_protein_map.py Tue Apr 07 11:33:11 2020 -0400 @@ -34,14 +34,14 @@ try: for linenum, line in enumerate(input_rdr): if args.debug: - print >> sys.stderr, "%d: %s\n" % (linenum, line) + sys.stderr.write("%d: %s\n" % (linenum, line)) if line.startswith('#'): continue if line.strip() == '': continue fields = line.rstrip('\r\n').split('\t') if len(fields) < 12: - print >> sys.stderr, "%d: %s\n" % (linenum, line) + sys.stderr.write("%d: %s\n" % (linenum, line)) continue (chrom, _chromStart, _chromEnd, name, score, strand, _thickStart, _thickEnd, itemRgb, @@ -91,8 +91,8 @@ strand, cds_start, cds_end)) cds_start = cds_end pass - except Exception, e: - print >> sys.stderr, "failed: %s" % e + except Exception as e: + sys.stderr.write("failed: %s\n" % e) exit(1) diff -r 024ed7b0ad93 -r a7c58b43cbaa bed_to_protein_map.xml --- a/bed_to_protein_map.xml Thu Jan 04 16:29:38 2018 -0500 +++ b/bed_to_protein_map.xml Tue Apr 07 11:33:11 2020 -0400 @@ -1,6 +1,7 @@ - + genomic location of proteins for MVP + python