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

Fix error if only a single replciate control used.

parent 07d73df9
Branches
Tags
No related merge requests found
Pipeline #1357 failed with stage
in 3 hours, 40 minutes, and 2 seconds
......@@ -242,7 +242,7 @@ def main():
# Check controls against cutoff_ratio
# if so replace with pool_control
path_to_pool_control = cwd + '/' + pool_control
if control_df.values.max() > 1.2:
if control_df.values.max() > 1.2 and not single_control:
logger.info("Number of reads in controls differ by " +
" > factor of %f. Using pooled controls." % (cutoff_ratio))
design_new_df['control_tag_align'] = path_to_pool_control
......
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