diff 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
line wrap: on
line diff
--- a/util/subtools.py	Sat Jun 02 13:08:46 2018 -0400
+++ b/util/subtools.py	Tue Jun 19 17:59:51 2018 -0400
@@ -382,8 +382,10 @@
     p = _handleExceptionAndCheckCall(array_call)
     return p       
 
-def generate_names(outputFolder, hashBits=4):
-    array_call = ['generate-names.pl', '--hashBits', '4', '-v', '--out', outputFolder]
+def generate_names(outputFolder, nameIndexTrackList, hashBits=4):
+    array_call = ['generate-names.pl', '--hashBits', str(hashBits), '-v', '--completionLimit', '0', '--out', outputFolder]
+    array_call.append('--tracks')
+    array_call.append(','.join(nameIndexTrackList))
     p = _handleExceptionAndCheckCall(array_call)
     return p