diff --git a/binaries/noarch/fasta_generate_regions.py b/binaries/noarch/fasta_generate_regions.py index 0433410..fde1518 100755 --- a/binaries/noarch/fasta_generate_regions.py +++ b/binaries/noarch/fasta_generate_regions.py @@ -4,9 +4,9 @@ if len(sys.argv) == 1: - print "usage: ", sys.argv[0], " " - print "generates a list of freebayes/bamtools region specifiers on stdout" - print "intended for use in creating cluster jobs" + print("usage: ", sys.argv[0], " ") + print("generates a list of freebayes/bamtools region specifiers on stdout") + print("intended for use in creating cluster jobs") exit(1) fasta_index_file = sys.argv[1] @@ -29,7 +29,7 @@ end = region_start + region_size if end > chrom_length: end = chrom_length - print chrom_name + ":" + str(region_start) + "-" + str(end) + print(chrom_name + ":" + str(region_start) + "-" + str(end)) region_start = end