def sambamba_exons(exon_lines): _exons = sambamba.depth_output(exon_lines) return _exons
def test_depth_output(): exon_lines = ['# chrom chromStart chromEnd\n', '1 10 100\n'] with pytest.raises(BedFormattingError): list(sambamba.depth_output(exon_lines))