Skip to content
Snippets Groups Projects
Commit 7022e417 authored by Holly Ruess's avatar Holly Ruess
Browse files

fix pool and pseudo

parent fd1e0176
Branches
Tags
1 merge request!12Resolve "Fix Pool and Pseudoreps"
...@@ -102,7 +102,7 @@ def xcor(tag, paired): ...@@ -102,7 +102,7 @@ def xcor(tag, paired):
# Subsample tagAlign file # Subsample tagAlign file
number_reads = 15000000 number_reads = 15000000
subsampled_tag_filename = \ subsampled_tag_filename = \
tag_basename + ".%d.tagAlign.gz" % (numReads/1000000) tag_basename + ".%d.tagAlign.gz" % (number_reads/1000000)
steps = [ steps = [
'zcat %s' % (tag), 'zcat %s' % (tag),
......
...@@ -41,15 +41,22 @@ def test_check_replicates_single(design_experiment_2): ...@@ -41,15 +41,22 @@ def test_check_replicates_single(design_experiment_2):
assert no_reps == 1 assert no_reps == 1
@pytest.mark.integration @pytest.mark.singleend_human
def test_pool_and_psuedoreplicate_single_end(): def test_pool_and_psuedoreplicate_singleend_human():
design_file = os.path.join(test_output_path, 'ENCSR265ZXX_ppr.tsv') design_file = os.path.join(test_output_path, 'ENCSR265ZXX_ppr.tsv')
assert os.path.exists(design_file) assert os.path.exists(design_file)
design_df = pd.read_csv(design_file, sep="\t") design_df = pd.read_csv(design_file, sep="\t")
assert design_df.shape[0] == 6 assert design_df.shape[0] == 6
@pytest.mark.integration @pytest.mark.pairedend_mouse
def test_experiment_design_paired_end(): def test_experiment_design_pairedend_mouse():
# Do the same thing for paired end data # Do the same thing for paired end data
pass pass
@pytest.mark.pairedend_mouse
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
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