Mercurial > repos > rmarenco > hubarchivecreator
diff util/subtools.py @ 26:df42241d3731 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit c11beb58525fe6453a2180fe7783f6e8b0151901-dirty
author | yating-l |
---|---|
date | Mon, 03 Jul 2017 17:30:20 -0400 |
parents | 99dad5f9444c |
children | 7e8a8b732db3 |
line wrap: on
line diff
--- a/util/subtools.py Fri Jun 02 17:36:24 2017 -0400 +++ b/util/subtools.py Mon Jul 03 17:30:20 2017 -0400 @@ -182,7 +182,7 @@ return p def bedToBigBed(sorted_bed_file_name, chrom_sizes_file_name, big_bed_file_name, - typeOption=None, autoSql=None, tab=False): + typeOption=None, autoSql=None, tab=False, extraIndex=None): """ Call bedToBigBed on sorted_bed_file_name, using chrom_sizes_file_name and write the result into big_bed_file_name :param sorted_bed_file_name: @@ -209,6 +209,9 @@ array_call.append(autoSql) if tab: array_call.append('-tab') + if extraIndex: + index = ''.join(['-extraIndex=', extraIndex]) + array_call.append(index) p = _handleExceptionAndCheckCall(array_call) return p