comparison util/subtools.py @ 18:79b23a8afb15 draft

planemo upload for repository https://github.com/goeckslab/jbrowse-archive-creator.git commit 398c2fd8d1cb38decddf8cd58574cf39b1b52eaa
author yating-l
date Fri, 20 Jul 2018 12:25:36 -0400
parents 315a40b0b694
children 62dee5369e80
comparison
equal deleted inserted replaced
17:315a40b0b694 18:79b23a8afb15
382 p = _handleExceptionAndCheckCall(array_call) 382 p = _handleExceptionAndCheckCall(array_call)
383 return p 383 return p
384 384
385 def generate_names(outputFolder, nameIndexTrackList, hashBits=4): 385 def generate_names(outputFolder, nameIndexTrackList, hashBits=4):
386 array_call = ['generate-names.pl', '--hashBits', str(hashBits), '-v', '--completionLimit', '0', '--out', outputFolder] 386 array_call = ['generate-names.pl', '--hashBits', str(hashBits), '-v', '--completionLimit', '0', '--out', outputFolder]
387 array_call.append('--tracks') 387 if nameIndexTrackList:
388 array_call.append(','.join(nameIndexTrackList)) 388 array_call.append('--tracks')
389 array_call.append(','.join(nameIndexTrackList))
389 p = _handleExceptionAndCheckCall(array_call) 390 p = _handleExceptionAndCheckCall(array_call)
390 return p 391 return p
391 392
392 def validateFiles(input_file, chrom_sizes_file_name, file_type, options=None): 393 def validateFiles(input_file, chrom_sizes_file_name, file_type, options=None):
393 """ 394 """