Mercurial > repos > rmarenco > hubarchivecreator
comparison Psl.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 | 2677f1899aa8 |
comparison
equal
deleted
inserted
replaced
16:3233451a3bd6 | 17:c02720d1afee |
---|---|
15 | 15 |
16 self.input_psl_path = input_psl_path | 16 self.input_psl_path = input_psl_path |
17 self.name_psl = data_psl["name"] | 17 self.name_psl = data_psl["name"] |
18 self.priority = data_psl["order_index"] | 18 self.priority = data_psl["order_index"] |
19 self.track_color = data_psl["track_color"] | 19 self.track_color = data_psl["track_color"] |
20 # TODO: Think about how to avoid repetition of the group_name everywhere | |
21 self.group_name = data_psl["group_name"] | |
20 | 22 |
21 # Temporary files | 23 # Temporary files |
22 unsorted_bed_formatted_psl_file = tempfile.NamedTemporaryFile(suffix='.psl') | 24 unsorted_bed_formatted_psl_file = tempfile.NamedTemporaryFile(suffix='.psl') |
23 sorted_bed_formatted_psl_file = tempfile.NamedTemporaryFile(suffix='psl') | 25 sorted_bed_formatted_psl_file = tempfile.NamedTemporaryFile(suffix='psl') |
24 | 26 |
50 track_name=trackName, | 52 track_name=trackName, |
51 long_label=self.name_psl, | 53 long_label=self.name_psl, |
52 track_type='bigPsl', visibility='dense', | 54 track_type='bigPsl', visibility='dense', |
53 priority=self.priority, | 55 priority=self.priority, |
54 track_file=my_big_psl_file_path, | 56 track_file=my_big_psl_file_path, |
55 track_color=self.track_color) | 57 track_color=self.track_color, |
58 group_name=self.group_name) | |
56 | 59 |
57 print("- BigPsl %s created" % self.name_psl) | 60 print("- BigPsl %s created" % self.name_psl) |