Mercurial > repos > yating-l > jbrowsearchivecreator
comparison 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 |
comparison
equal
deleted
inserted
replaced
7:5d5fdcb798da | 8:56d9d10b4990 |
---|---|
22 self.extraSettings['style']['color'] = self.extraSettings['color'] | 22 self.extraSettings['style']['color'] = self.extraSettings['color'] |
23 track = dict() | 23 track = dict() |
24 track['type'] = 'JBrowse/View/Track/' + self.trackType | 24 track['type'] = 'JBrowse/View/Track/' + self.trackType |
25 track['storeClass'] = 'JBrowse/Store/SeqFeature/GFF3Tabix' | 25 track['storeClass'] = 'JBrowse/Store/SeqFeature/GFF3Tabix' |
26 if self.dataType == 'gff': | 26 if self.dataType == 'gff': |
27 # need .gff3.gz extension to index the name of the track with generate-name.pl | |
27 track['urlTemplate'] = os.path.join('tracks', self.trackName + '.gff3.gz') | 28 track['urlTemplate'] = os.path.join('tracks', self.trackName + '.gff3.gz') |
29 # needed to show match_part in Blat and Blast alignment as subfeatures | |
30 track['glyph'] = "JBrowse/View/FeatureGlyph/Segments" | |
28 else: | 31 else: |
29 track['urlTemplate'] = os.path.join('tracks', self.trackName) | 32 track['urlTemplate'] = os.path.join('tracks', self.trackName) |
30 track['label'] = self.trackLabel | 33 track['label'] = self.trackLabel |
31 track['category'] = self.extraSettings['category'] | 34 track['category'] = self.extraSettings['category'] |
32 track['style'] = self.extraSettings['style'] | 35 track['style'] = self.extraSettings['style'] |