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

Add in test cross-correlation.

parent a8c27eae
1 merge request!18Resolve "Add in current chip-analysis functionality."
...@@ -20,5 +20,9 @@ def test_convert_reads_singleend(): ...@@ -20,5 +20,9 @@ def test_convert_reads_singleend():
@pytest.mark.integration @pytest.mark.integration
def test_map_qc_pairedend(): def test_map_qc_pairedend():
# Do the same thing for paired end data assert os.path.exists(os.path.join(test_output_path, 'ENCFF582IOZ_val_2ENCFF957SQS_val_1.filt.nodup.tagAlign.15.tagAlign.gz.cc.plot.pdf'))
pass qc_file = os.path.join(test_output_path,"ENCFF582IOZ_val_2ENCFF957SQS_val_1.filt.nodup.tagAlign.15.tagAlign.gz.cc.qc")
df_xcor = pd.read_csv(qc_file, sep="\t", header=None)
assert df_xcor[2].iloc[0] == '205,410,430'
assert df_xcor[8].iloc[0] == 1.060266
assert df_xcor[9].iloc[0] == 4.308793
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