diff tracks/CanvasFeatures.py @ 8:56d9d10b4990 draft

planemo upload for repository https://github.com/goeckslab/jbrowse-archive-creator.git commit 2285eddcfe689d70d89571a045f204b74cc6890c
author yating-l
date Fri, 27 Apr 2018 15:36:51 -0400
parents 5d5fdcb798da
children e2ebf58c9068
line wrap: on
line diff
--- a/tracks/CanvasFeatures.py	Fri Apr 20 13:51:23 2018 -0400
+++ b/tracks/CanvasFeatures.py	Fri Apr 27 15:36:51 2018 -0400
@@ -24,7 +24,10 @@
         track['type'] = 'JBrowse/View/Track/' + self.trackType
         track['storeClass'] = 'JBrowse/Store/SeqFeature/GFF3Tabix'
         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)
         track['label'] = self.trackLabel