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

Fix cutoff ratio as int.

parent d1037a81
No related merge requests found
Pipeline #2041 canceled with stages
in 1 hour, 50 minutes, and 57 seconds
......@@ -40,6 +40,7 @@ def get_args():
parser.add_argument('-c', '--cutoff',
help="Cutoff ratio used for choosing controls.",
type=int,
default=1.2)
args = parser.parse_args()
......@@ -247,7 +248,7 @@ def main():
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." % (str(cutoff_ratio)))
" > factor of %f. Using pooled controls." % (cutoff_ratio))
design_new_df['control_tag_align'] = path_to_pool_control
else:
for index, row in design_new_df.iterrows():
......
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