changeset 11:8886033b4f84 draft

planemo upload for repository https://github.com/goeckslab/jbrowse-archive-creator.git commit 4e8e5448a54f794bced67046e236988031616180
author yating-l
date Mon, 14 May 2018 23:30:31 -0400
parents e2ebf58c9068
children 9161beae834f
files datatypes/interval/BigPsl.py jbrowseArchiveCreator.xml tracks/CanvasFeatures.py
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/datatypes/interval/BigPsl.py	Mon May 14 21:37:50 2018 -0400
+++ b/datatypes/interval/BigPsl.py	Mon May 14 23:30:31 2018 -0400
@@ -26,7 +26,7 @@
     def initSettings(self):
         super(BigPsl, self).initSettings()
         self.extraSettings["glyph"] = "JBrowse/View/FeatureGlyph/Segments"  
-        #self.extraSettings["subfeatureClasses"] = "match_part"
+
 
     def validateData(self):
         self.validateOptions = self.getValidateOptions(tab="True", autoSql=self.autoSql)
--- a/jbrowseArchiveCreator.xml	Mon May 14 21:37:50 2018 -0400
+++ b/jbrowseArchiveCreator.xml	Mon May 14 23:30:31 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="jbrowse_hub" name="JBrowse Archive Creator" version="2.1.3">
+<tool id="jbrowse_hub" name="JBrowse Archive Creator" version="2.1.4">
     <description>
         This Galaxy tool is used to prepare your files to be ready for displaying on JBrowse with Apollo plugin
     </description>
--- a/tracks/CanvasFeatures.py	Mon May 14 21:37:50 2018 -0400
+++ b/tracks/CanvasFeatures.py	Mon May 14 23:30:31 2018 -0400
@@ -26,10 +26,10 @@
         if self.dataType == 'gff':
             # need .gff3.gz extension to index the name of the track with generate-name.pl
             track['urlTemplate'] = os.path.join('tracks', self.trackName + '.gff3.gz')
-            # needed to show match_part in Blat and Blast alignment as subfeatures
-            track['glyph'] = "JBrowse/View/FeatureGlyph/Segments"
         else:
             track['urlTemplate'] = os.path.join('tracks', self.trackName)
+        if 'glyph' in self.extraSettings:
+            track['glyph'] = self.extraSettings['glyph']
         if 'subfeatureClasses' in self.extraSettings:
             track['subfeatureClasses'] = self.extraSettings['subfeatureClasses']
         track['label'] = self.trackLabel