diff tracks/CanvasFeatures.py @ 20:85971ec2a527 draft default tip

planemo upload for repository https://github.com/goeckslab/jbrowse-archive-creator.git commit 81d946d4544a4ea7e5b55f90caef971eca6abba0
author sargentl
date Fri, 21 Sep 2018 16:30:54 -0400
parents 62dee5369e80
children
line wrap: on
line diff
--- a/tracks/CanvasFeatures.py	Thu Sep 13 17:43:23 2018 -0400
+++ b/tracks/CanvasFeatures.py	Fri Sep 21 16:30:54 2018 -0400
@@ -23,6 +23,8 @@
         track = dict()
         track['type'] = 'JBrowse/View/Track/' + self.trackType
         track['storeClass'] = 'JBrowse/Store/SeqFeature/GFF3Tabix'
+        if self.dataType == 'bed':
+            track['storeClass'] = 'JBrowse/Store/SeqFeature/BEDTabix'
         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')
@@ -40,4 +42,3 @@
             #self.track["menuTemplate"] += [{"label" : "View details"}, {"label" : "Highlight this gene"}, self.extraSettings["menuTemplate"]]
         extraConfigs = track
         return extraConfigs
-