comparison util/subtools.py @ 13:43a700afd457 draft

planemo upload for repository https://github.com/goeckslab/jbrowse-archive-creator.git commit bcb239c4045d2c47a8acad5fbd29eea03663e187
author yating-l
date Tue, 19 Jun 2018 17:59:51 -0400
parents 5d5fdcb798da
children 8bcec8dbb8be
comparison
equal deleted inserted replaced
12:9161beae834f 13:43a700afd457
380 createFastaIndex(fastaFile) 380 createFastaIndex(fastaFile)
381 array_call = ['prepare-refseqs.pl', '--indexed_fasta', fastaFile, '--out', outputFolder] 381 array_call = ['prepare-refseqs.pl', '--indexed_fasta', fastaFile, '--out', outputFolder]
382 p = _handleExceptionAndCheckCall(array_call) 382 p = _handleExceptionAndCheckCall(array_call)
383 return p 383 return p
384 384
385 def generate_names(outputFolder, hashBits=4): 385 def generate_names(outputFolder, nameIndexTrackList, hashBits=4):
386 array_call = ['generate-names.pl', '--hashBits', '4', '-v', '--out', outputFolder] 386 array_call = ['generate-names.pl', '--hashBits', str(hashBits), '-v', '--completionLimit', '0', '--out', outputFolder]
387 array_call.append('--tracks')
388 array_call.append(','.join(nameIndexTrackList))
387 p = _handleExceptionAndCheckCall(array_call) 389 p = _handleExceptionAndCheckCall(array_call)
388 return p 390 return p
389 391
390 def validateFiles(input_file, chrom_sizes_file_name, file_type, options=None): 392 def validateFiles(input_file, chrom_sizes_file_name, file_type, options=None):
391 """ 393 """