def getExonFromLine(bedline):
    """Extract ALL exon regions from input bed line (must be 12-column). return list of [chrom st end]"""
    ret_lst = []
    line = bedline
    fields = line.rstrip('\r\n').split()
    txStart = int(fields[1])
    chrom = fields[0]
    strand = fields[5]
    geneName = fields[3]
    score = fields[4]
    exon_start = list(map(int, fields[11].rstrip(',').split(',')))
    exon_start = list(map(lambda x: x + txStart, exon_start))
    exon_end = list(map(int, fields[10].rstrip(',').split(',')))
    exon_end = list(map(lambda x, y: x + y, exon_start, exon_end))
    for st, end in zip(exon_start, exon_end):
        ret_lst.append([chrom, st, end])
    return ret_lst
