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