comparison Datatype.py @ 17:c02720d1afee draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
author rmarenco
date Fri, 30 Sep 2016 15:14:24 -0400
parents 3233451a3bd6
children 884ee2a71680
comparison
equal deleted inserted replaced
16:3233451a3bd6 17:c02720d1afee
74 # TODO: Use default parameters for some, like visibility 74 # TODO: Use default parameters for some, like visibility
75 def createTrack(self, 75 def createTrack(self,
76 file_path=None, 76 file_path=None,
77 track_name=None, long_label=None, thick_draw_item='off', 77 track_name=None, long_label=None, thick_draw_item='off',
78 short_label=None, track_type=None, visibility=None, priority=None, 78 short_label=None, track_type=None, visibility=None, priority=None,
79 track_file=None, track_color='#000000'): 79 track_file=None, track_color='#000000', group_name="Default"):
80 80
81 # TODO: Remove the hardcoded "tracks" by the value used as variable from myTrackFolderPath 81 # TODO: Remove the hardcoded "tracks" by the value used as variable from myTrackFolderPath
82 data_url = "tracks/%s" % file_path 82 data_url = "tracks/%s" % file_path
83 83
84 if not short_label: 84 if not short_label:
102 trackDataURL=data_url, 102 trackDataURL=data_url,
103 trackType=track_type, 103 trackType=track_type,
104 visibility=visibility, 104 visibility=visibility,
105 thickDrawItem=thick_draw_item, 105 thickDrawItem=thick_draw_item,
106 priority=priority, 106 priority=priority,
107 track_color=rgb_ucsc 107 track_color=rgb_ucsc,
108 group_name=group_name
108 ) 109 )
109 110
110 # Return the Bam Track Object 111 # Return the Bam Track Object
111 self.track = Track( 112 self.track = Track(
112 trackFile=track_file, 113 trackFile=track_file,