Mercurial > repos > yating-l > hubarchivecreator
diff util/subtools.py @ 57:b39dd0b5a166 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit ce28781f52a4f84039de300cb41e3982f2e8bf51-dirty
author | yating-l |
---|---|
date | Fri, 30 Jun 2017 14:49:14 -0400 |
parents | 04cc7c2e7b47 |
children | 4ca7cbf2d9b8 |
line wrap: on
line diff
--- a/util/subtools.py Fri Jun 02 17:28:01 2017 -0400 +++ b/util/subtools.py Fri Jun 30 14:49:14 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