Skip to content

Commit

Permalink
make blacklist argument optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rfarouni committed Nov 30, 2017
1 parent f9e05dd commit 8626f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion haystack/find_hotspots.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def create_tiled_genome(genome_name,

sb.call(cmd, shell=True)

if blacklist=='':
if blacklist == 'none':
info('Tiled genome file created will not be blacklist filtered')

else:
Expand Down
2 changes: 1 addition & 1 deletion haystack/run_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_args_pipeline():
help='Exclude blacklisted regions. Blacklisted regions are not excluded by default. '
'Use hg19 to blacklist regions for the human genome 19, '
'otherwise provide the filepath for a bed file with blacklisted regions.',
default='')
default='none')
parser.add_argument('--chrom_exclude',
type=str,
help='Exclude chromosomes that contain given (regex) string. For example _random|chrX|chrY excludes random, X, and Y chromosome regions',
Expand Down

0 comments on commit 8626f42

Please sign in to comment.