# HG changeset patch # User galaxyp # Date 1586273433 0 # Node ID f270ac79c0a1b483a4380444bdd65d8fa72b1b1e # Parent 7b2642f6c0047b6cc43ae0f39a6d98e5d64a4ecb "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/bed_to_protein_map commit 2a470e2c775a7427aa530e058510e4dc7b6d8e80" diff -r 7b2642f6c004 -r f270ac79c0a1 bed_to_protein_map.py --- a/bed_to_protein_map.py Thu Jan 04 16:33:42 2018 -0500 +++ b/bed_to_protein_map.py Tue Apr 07 15:30:33 2020 +0000 @@ -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 7b2642f6c004 -r f270ac79c0a1 bed_to_protein_map.xml --- a/bed_to_protein_map.xml Thu Jan 04 16:33:42 2018 -0500 +++ b/bed_to_protein_map.xml Tue Apr 07 15:30:33 2020 +0000 @@ -1,6 +1,7 @@ - + genomic location of proteins for MVP + python