From 87a7d5d86881269158342e55a207ad3a1d30f039 Mon Sep 17 00:00:00 2001
From: Holly Ruess <s185797@biohpcwsc012.biohpc.swmed.edu>
Date: Mon, 30 Dec 2019 13:39:12 -0600
Subject: [PATCH] fix pool and pseuod

---
 workflow/scripts/xcor.py                        | 2 +-
 workflow/tests/test_pool_and_psuedoreplicate.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/workflow/scripts/xcor.py b/workflow/scripts/xcor.py
index 8e0dd6b..4a87843 100644
--- a/workflow/scripts/xcor.py
+++ b/workflow/scripts/xcor.py
@@ -27,7 +27,7 @@ logger.setLevel(logging.INFO)
 # strip_extensions strips from the right inward, so
 # the expected right-most extensions should appear first (like .gz)
 # Modified from J. Seth Strattan
-STRIP_EXTENSIONS = ['.gz', '.tagAlign']
+STRIP_EXTENSIONS = ['.gz', '.tagAlign', '.bedse', '.bedpe']
 
 
 def get_args():
diff --git a/workflow/tests/test_pool_and_psuedoreplicate.py b/workflow/tests/test_pool_and_psuedoreplicate.py
index f969dfc..0a6c899 100644
--- a/workflow/tests/test_pool_and_psuedoreplicate.py
+++ b/workflow/tests/test_pool_and_psuedoreplicate.py
@@ -46,7 +46,7 @@ def test_pool_and_psuedoreplicate_singleend_human():
     design_file = os.path.join(test_output_path, 'ENCSR265ZXX_ppr.tsv')
     assert os.path.exists(design_file)
     design_df = pd.read_csv(design_file, sep="\t")
-    assert design_df.shape[0] == 6
+    assert design_df.shape[0] == 7
 
 
 @pytest.mark.pairedend_mouse
@@ -59,4 +59,4 @@ def test_pool_and_psuedoreplicate_pairedend_mouse():
     design_file = os.path.join(test_output_path, 'ENCSR451NAE_ppr.tsv')
     assert os.path.exists(design_file)
     design_df = pd.read_csv(design_file, sep="\t")
-    assert design_df.shape[0] == 5
+    assert design_df.shape[0] == 6
-- 
GitLab