def bed_exons(bed_lines): _exons = bed.chanjo(bed_lines) return _exons
def test_chanjo(bed_lines): exons = list(bed.chanjo(bed_lines)) assert len(exons) == 19 exon = exons[0] assert exon['chrom'] == '1' assert exon['name'] == '1-11-18'