Skip to content

Commit

Permalink
balance_flag fix
Browse files Browse the repository at this point in the history
fixed balance_flag  for updated cooltools
  • Loading branch information
azkalot1 authored and golobor committed Feb 13, 2019
1 parent d474c87 commit d97d6d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distiller.nf
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ process bin_zoom_library_pairs{
def balance_options = params['bin'].get('balance_options','')
balance_options = ( balance_options ? "--balance-args \"${balance_options}\"": "")
// balancing flag if it's requested
def balance_flag = ( params['bin'].get('balance','true').toBoolean() ? "--balance ${balance_options}" : "--no-balance" )
def balance_flag = ( params['bin'].get('balance','true').toBoolean() ? "--balance ${balance_options}" : " " )
def filter_command = (filter_expr == '' ? '' : "| pairtools select '${filter_expr}'")

"""
Expand Down

0 comments on commit d97d6d9

Please sign in to comment.