comparison 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
comparison
equal deleted inserted replaced
10:e2ebf58c9068 11:8886033b4f84
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 # need .gff3.gz extension to index the name of the track with generate-name.pl
28 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"
31 else: 29 else:
32 track['urlTemplate'] = os.path.join('tracks', self.trackName) 30 track['urlTemplate'] = os.path.join('tracks', self.trackName)
31 if 'glyph' in self.extraSettings:
32 track['glyph'] = self.extraSettings['glyph']
33 if 'subfeatureClasses' in self.extraSettings: 33 if 'subfeatureClasses' in self.extraSettings:
34 track['subfeatureClasses'] = self.extraSettings['subfeatureClasses'] 34 track['subfeatureClasses'] = self.extraSettings['subfeatureClasses']
35 track['label'] = self.trackLabel 35 track['label'] = self.trackLabel
36 track['category'] = self.extraSettings['category'] 36 track['category'] = self.extraSettings['category']
37 track['style'] = self.extraSettings['style'] 37 track['style'] = self.extraSettings['style']