Skip to content

Commit 8626f42

Browse files
committed
make blacklist argument optional
1 parent f9e05dd commit 8626f42

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

haystack/find_hotspots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def create_tiled_genome(genome_name,
252252

253253
sb.call(cmd, shell=True)
254254

255-
if blacklist=='':
255+
if blacklist == 'none':
256256
info('Tiled genome file created will not be blacklist filtered')
257257

258258
else:

haystack/run_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_args_pipeline():
8282
help='Exclude blacklisted regions. Blacklisted regions are not excluded by default. '
8383
'Use hg19 to blacklist regions for the human genome 19, '
8484
'otherwise provide the filepath for a bed file with blacklisted regions.',
85-
default='')
85+
default='none')
8686
parser.add_argument('--chrom_exclude',
8787
type=str,
8888
help='Exclude chromosomes that contain given (regex) string. For example _random|chrX|chrY excludes random, X, and Y chromosome regions',

0 commit comments

Comments
 (0)