Exemple #1
0
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)
Exemple #2
0
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)
Exemple #3
0
def test_indexed_unsorted_bam():
    bam = os.path.join(DATA, "unsorted.bam")
    is_indexed(bam)
Exemple #4
0
def test_indexed_unsorted_bam():
    bam = os.path.join(DATA, "unsorted.bam")
    is_indexed(bam)