# HG changeset patch # User yating-l # Date 1532103936 14400 # Node ID 79b23a8afb15c4415768a7c0cd8ebe91795d0e2f # Parent 315a40b0b69436ba17b0f26a592813931595ad84 planemo upload for repository https://github.com/goeckslab/jbrowse-archive-creator.git commit 398c2fd8d1cb38decddf8cd58574cf39b1b52eaa diff -r 315a40b0b694 -r 79b23a8afb15 TrackHub.py --- a/TrackHub.py Mon Jun 25 16:05:01 2018 -0400 +++ b/TrackHub.py Fri Jul 20 12:25:36 2018 -0400 @@ -106,9 +106,8 @@ subtools.prepare_refseqs(self.reference_genome.false_path, self.mySpecieFolderPath) def _indexName(self): - if self.nameIndexTrackList: - subtools.generate_names(self.mySpecieFolderPath, self.nameIndexTrackList) - print "finished name index \n" + subtools.generate_names(self.mySpecieFolderPath, self.nameIndexTrackList) + print "finished name index \n" def _outHtml(self): mylookup = TemplateLookup(directories=[os.path.join(self.tool_directory, 'templates')], diff -r 315a40b0b694 -r 79b23a8afb15 jbrowseArchiveCreator.xml --- a/jbrowseArchiveCreator.xml Mon Jun 25 16:05:01 2018 -0400 +++ b/jbrowseArchiveCreator.xml Fri Jul 20 12:25:36 2018 -0400 @@ -1,4 +1,4 @@ - + This Galaxy tool is used to prepare your files to be ready for displaying on JBrowse with Apollo plugin diff -r 315a40b0b694 -r 79b23a8afb15 util/subtools.py --- a/util/subtools.py Mon Jun 25 16:05:01 2018 -0400 +++ b/util/subtools.py Fri Jul 20 12:25:36 2018 -0400 @@ -384,8 +384,9 @@ 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)) + if nameIndexTrackList: + array_call.append('--tracks') + array_call.append(','.join(nameIndexTrackList)) p = _handleExceptionAndCheckCall(array_call) return p