diff tracks/CanvasFeatures.py @ 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 3f9971a91096
line wrap: on
line diff
--- 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