Skip to content
Snippets Groups Projects
Commit dbdf865f authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Update read comparison and decorator

parent a3564b7c
Branches
Tags
2 merge requests!37v0.0.1,!15Resolve "process_align"
Pipeline #5806 failed with stages
in 34 minutes and 21 seconds
......@@ -13,12 +13,13 @@ logs_output_path = os.path.dirname(os.path.abspath(__file__)) + \
@pytest.mark.alignData
def test_alignData_se():
assert os.path.exists(os.path.join(data_output_path, '16-1ZX4.unal.gz'))
assert utils.count_lines(os.path.join(data_output_path, '16-1ZX4.unal.gz')) == 3070504
assert utils.count_lines(os.path.join(data_output_path, '16-1ZX4.unal.gz')) == 3070528
assert os.path.exists(os.path.join(data_output_path, 'Q-Y5JA.sorted.bam'))
assert utils.count_lines(os.path.join(data_output_path, 'Q-Y5JA.sorted.bam')) == 5805611
assert os.path.exists(os.path.join(data_output_path, 'Q-Y5JA.sorted.bai'))
assert utils.count_lines(os.path.join(data_output_path, 'Q-Y5JA.sorted.bai')) == 12824
@pytest.mark.alignData
def test_alignData_pe():
assert os.path.exists(os.path.join(data_output_path, 'Q-Y5JA.unal.gz'))
assert utils.count_lines(os.path.join(data_output_path, 'Q-Y5JA.unal.gz')) == 0
......@@ -36,6 +37,7 @@ def test_alignLogs_se():
assert os.path.exists(os.path.join(logs_output_path, '16-1ZX4.align.out'))
assert utils.count_lines(os.path.join(logs_output_path, '16-1ZX4.align.out')) == 0
@pytest.mark.alignLogs
def test_alignLogs_pe():
assert os.path.exists(os.path.join(logs_output_path, 'Q-Y5JA.align.err'))
assert utils.count_lines(os.path.join(logs_output_path, 'Q-Y5JA.align.err')) == 7
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment