message: Update fasta_generate_regions.py
diff: #!/usr/bin/env python
  -
  +from __future__ import print_function
  import sys
  -
  if len(sys.argv) == 1:
  - print "usage: ", sys.argv[0], " <fasta file or index file> <region size>"
  - print "generates a list of freebayes/bamtools region specifiers on stdout"
  - print "intended for use in creating cluster jobs"
  + print("usage: {} <fasta file or index file> <region size>").format(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]
  @@ -17,19 +16,14 @@ fasta_index_file = open(fasta_index_file)
  region_size = int(sys.argv[2])
  for line in fasta_index_file:
  -
  fields = line.strip().split("\t")
  -
  chrom_name = fields[0]
  chrom_length = int(fields[1])
  region_start = 0
  -
  while region_start < chrom_length:
  start = region_start
  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
  -
  -
  