code: def hydra_parser(in_file, options=None):
      
      if options is None: options = {}
      BedPe = namedtuple('BedPe', ["chrom1", "start1", "end1",
                                   "chrom2", "start2", "end2",
                                   "name", "strand1", "strand2",
                                   "support"])
      with open(in_file) as in_handle:
          reader = csv.reader(in_handle, dialect="excel-tab")
          for line in reader:
              cur = BedPe(line[0], int(line[1]), int(line[2]),
                          line[3], int(line[4]), int(line[5]),
                          line[6], line[8], line[9],
                          float(line[18]))
              if cur.support >= options.get("min_support", 0):
                  yield cur
docs: Parse hydra input file into namedtuple of values.