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

Make test data more generic.

parent 6d87301c
Branches
Tags
1 merge request!44Resolve "Change Tests for Peak comparison to be greater than or equal to"
Pipeline #3870 passed with stages
in 13 hours, 48 minutes, and 58 seconds
......@@ -24,7 +24,7 @@ def test_upsetplot_singleend():
def test_annotation_singleend():
annotation_file = test_output_path + 'ENCSR238SGC.chipseeker_annotation.tsv'
assert os.path.exists(annotation_file)
assert utils.count_lines(annotation_file) == 152255
assert utils.count_lines(annotation_file) == 149284
@pytest.mark.pairedend
......@@ -41,4 +41,4 @@ def test_upsetplot_pairedend():
def test_annotation_pairedend():
annotation_file = test_output_path + 'ENCSR729LGA.chipseeker_annotation.tsv'
assert os.path.exists(annotation_file)
assert utils.count_lines(annotation_file) == 25494
assert utils.count_lines(annotation_file) >= 25494
......@@ -44,7 +44,7 @@ def test_diffbind_singleend_multiple_rep():
assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC_vs_ENCSR272GNQ_diffbind.bed'))
diffbind_file = test_output_path + 'ENCSR238SGC_vs_ENCSR272GNQ_diffbind.csv'
assert os.path.exists(diffbind_file)
assert utils.count_lines(diffbind_file) == 201217
assert utils.count_lines(diffbind_file) >= 197471
@pytest.mark.paireddiff
......@@ -71,4 +71,4 @@ def test_diffbind_pairedend_single_rep():
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(diffbind_file)
assert utils.count_lines(diffbind_file) == 66201
assert utils.count_lines(diffbind_file) >= 66201
......@@ -37,11 +37,11 @@ def test_check_update_design(design_diff):
def test_overlap_peaks_singleend():
assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC.rejected.narrowPeak'))
peak_file = test_output_path + 'ENCSR238SGC.replicated.narrowPeak'
assert utils.count_lines(peak_file) == 152262
assert utils.count_lines(peak_file) >= 149291
@pytest.mark.pairedend
def test_overlap_peaks_pairedend():
assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA.rejected.narrowPeak'))
peak_file = test_output_path + 'ENCSR729LGA.replicated.narrowPeak'
assert utils.count_lines(peak_file) == 25758
assert utils.count_lines(peak_file) >= 25758
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