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

Fix paired-end tests.

parent 6fddf146
No related merge requests found
......@@ -21,8 +21,8 @@ def test_annotate_peaks_singleend():
@pytest.mark.pairedend
def test_annotate_peaks_pairedend():
assert os.path.exists(os.path.join(test_output_path, 'ENCSR217LRF.chipseeker_pie.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'ENCSR217LRF.chipseeker_upsetplot.pdf'))
annotation_file = test_output_path + 'ENCSR217LRF.chipseeker_annotation.csv'
assert os.path.exists(os.path.join(test_output_path, 'ENCSR217LGA.chipseeker_pie.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'ENCSR217LGA.chipseeker_upsetplot.pdf'))
annotation_file = test_output_path + 'ENCSR217LGA.chipseeker_annotation.csv'
assert os.path.exists(annotation_file)
assert utils.count_lines(annotation_file) == 25390
assert utils.count_lines(annotation_file) == 25391
......@@ -21,4 +21,4 @@ def test_call_peaks_macs_pairedend():
assert os.path.exists(os.path.join(test_output_path, 'ENCLB568IYX.fc_signal.bw'))
assert os.path.exists(os.path.join(test_output_path, 'ENCLB568IYX.pvalue_signal.bw'))
peak_file = test_output_path + 'ENCLB568IYX_peaks.narrowPeak'
assert utils.count_lines(peak_file) == 112652
assert utils.count_lines(peak_file) == 138827
......@@ -33,7 +33,7 @@ def test_annotate_peaks_pairedend_single_rep():
assert os.path.exists(os.path.join(test_output_path, 'heatmap.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'pca.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'normcount_peaksets.txt'))
assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA_vs_ENCSR757EMK_diffbind.bed'))
diffbind_file = test_output_path + 'ENCSR729LGA_vs_ENCSR757EMK_diffbind.csv'
assert os.path.exists(os.path.join(test_output_path, 'ENCSR757EMK_vs_ENCSR729LGA_diffbind.bed'))
diffbind_file = test_output_path + 'ENCSR757EMK_vs_ENCSR729LGA_diffbind.csv'
assert os.path.exists(diffbind_file)
assert utils.count_lines(diffbind_file) == 112652
assert utils.count_lines(diffbind_file) == 66201
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