def parse_methyl_bed(path_to_bed):
    """Parse a 9+2 methyl bed file and yield each field
    :param path_to_bed: path to
    """
    with open(path_to_bed, 'r') as fh:
        for line in fh:
            (chromosome, start1, stop1, name, coverage1, strand, start2,
                stop2, color, coverage2, percentage) = line.split()
            yield chromosome, int(start1), int(stop1), name, int(coverage1
                ), strand, int(start2), int(stop2), color, int(coverage2), int(
                percentage)
