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

Fix control file path.

parent 481f6287
No related merge requests found
Pipeline #1395 failed with stage
in 5 hours, 44 minutes, and 13 seconds
......@@ -242,8 +242,9 @@ def main():
# Check controls against cutoff_ratio
# if so replace with pool_control
# unless single control was used
path_to_pool_control = cwd + '/' + pool_control
if not single_control:
path_to_pool_control = cwd + '/' + pool_control
if control_df.values.max() > 1.2:
logger.info("Number of reads in controls differ by " +
" > factor of %f. Using pooled controls." % (cutoff_ratio))
......@@ -258,6 +259,8 @@ def main():
% row['replicate'])
design_new_df.loc[index, 'control_tag_align'] = \
path_to_pool_control
else:
path_to_pool_control = pool_control
# Add in pseudo replicates
tmp_metadata = design_new_df.loc[0].copy()
......
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