Mercurial > repos > rmarenco > hubarchivecreator
comparison cytoBand.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 | 6aa28a85cc38 |
comparison
equal
deleted
inserted
replaced
25:99dad5f9444c | 26:df42241d3731 |
---|---|
18 self.name_bed_cytoBand = data_bed_cytoBand["name"] | 18 self.name_bed_cytoBand = data_bed_cytoBand["name"] |
19 self.priority = data_bed_cytoBand["order_index"] | 19 self.priority = data_bed_cytoBand["order_index"] |
20 self.track_color = data_bed_cytoBand["track_color"] | 20 self.track_color = data_bed_cytoBand["track_color"] |
21 # TODO: Think about how to avoid repetition of the group_name everywhere | 21 # TODO: Think about how to avoid repetition of the group_name everywhere |
22 self.group_name = data_bed_cytoBand["group_name"] | 22 self.group_name = data_bed_cytoBand["group_name"] |
23 self.database = data_bed_cytoBand["database"] | |
23 if data_bed_cytoBand["long_label"]: | 24 if data_bed_cytoBand["long_label"]: |
24 self.long_label = data_bed_cytoBand["long_label"] | 25 self.long_label = data_bed_cytoBand["long_label"] |
25 else: | 26 else: |
26 self.long_label = self.name_bed_cytoBand | 27 self.long_label = self.name_bed_cytoBand |
27 sortedBedFile = tempfile.NamedTemporaryFile(suffix=".sortedBed") | 28 sortedBedFile = tempfile.NamedTemporaryFile(suffix=".sortedBed") |
50 track_type='bigBed', | 51 track_type='bigBed', |
51 visibility='dense', | 52 visibility='dense', |
52 priority=self.priority, | 53 priority=self.priority, |
53 track_file=myBigBedFilePath, | 54 track_file=myBigBedFilePath, |
54 track_color=self.track_color, | 55 track_color=self.track_color, |
55 group_name=self.group_name) | 56 group_name=self.group_name, |
57 database=self.database) | |
56 | 58 |
57 # dataURL = "tracks/%s" % trackName | 59 # dataURL = "tracks/%s" % trackName |
58 # | 60 # |
59 # trackDb = TrackDb( | 61 # trackDb = TrackDb( |
60 # trackName=trackName, | 62 # trackName=trackName, |