def test_indexed_sorted_bam(): bam = os.path.join(DATA, "ordered_umi.bam") bai = os.path.join(DATA, "ordered_umi.bam.bai") if os.path.exists(bai): os.remove(bai) is_indexed(bam) assert os.path.exists(bai) os.remove(bai)
def test_indexed_unsorted_bam(): bam = os.path.join(DATA, "unsorted.bam") is_indexed(bam)