comparison BigBed.py @ 26:df42241d3731 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit c11beb58525fe6453a2180fe7783f6e8b0151901-dirty
author yating-l
date Mon, 03 Jul 2017 17:30:20 -0400
parents fcc1021bd496
children
comparison
equal deleted inserted replaced
25:99dad5f9444c 26:df42241d3731
19 self.input_bigbed_path = input_bigbed_path 19 self.input_bigbed_path = input_bigbed_path
20 self.name_bigbed = data_bigbed["name"] 20 self.name_bigbed = data_bigbed["name"]
21 self.priority = data_bigbed["order_index"] 21 self.priority = data_bigbed["order_index"]
22 self.track_color = data_bigbed["track_color"] 22 self.track_color = data_bigbed["track_color"]
23 self.group_name = data_bigbed["group_name"] 23 self.group_name = data_bigbed["group_name"]
24 self.database = data_bigbed["database"]
24 25
25 track_name = "".join((self.name_bigbed, ".bigbed")) 26 track_name = "".join((self.name_bigbed, ".bigbed"))
26 if data_bigbed["long_label"]: 27 if data_bigbed["long_label"]:
27 self.long_label = data_bigbed["long_label"] 28 self.long_label = data_bigbed["long_label"]
28 else: 29 else:
41 track_type=track_type, 42 track_type=track_type,
42 visibility='hide', 43 visibility='hide',
43 priority=self.priority, 44 priority=self.priority,
44 track_file=bigbed_file_path, 45 track_file=bigbed_file_path,
45 track_color=self.track_color, 46 track_color=self.track_color,
46 group_name=self.group_name) 47 group_name=self.group_name,
48 database=self.database)
47 49
48 print "- BigBed %s created" % self.name_bigbed 50 print "- BigBed %s created" % self.name_bigbed
49 51
50 52
51 def determine_track_type(self, bb_file): 53 def determine_track_type(self, bb_file):