comparison BigWig.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
17 17
18 self.input_bigwig_path = input_bigwig_path 18 self.input_bigwig_path = input_bigwig_path
19 self.name_bigwig = data_bigwig["name"] 19 self.name_bigwig = data_bigwig["name"]
20 self.priority = data_bigwig["order_index"] 20 self.priority = data_bigwig["order_index"]
21 self.track_color = data_bigwig["track_color"] 21 self.track_color = data_bigwig["track_color"]
22 # TODO: Think about how to avoid repetition of the group_name everywhere
23 self.group_name = data_bigwig["group_name"]
22 24
23 #print "Creating TrackHub BigWig from (falsePath: %s; name: %s)" % ( self.input_bigwig_path, self.name_bigwig ) 25 #print "Creating TrackHub BigWig from (falsePath: %s; name: %s)" % ( self.input_bigwig_path, self.name_bigwig )
24 26
25 trackName = "".join( ( self.name_bigwig, ".bigwig" ) ) 27 trackName = "".join( ( self.name_bigwig, ".bigwig" ) )
26 28
32 track_name=trackName, 34 track_name=trackName,
33 long_label=self.name_bigwig, 35 long_label=self.name_bigwig,
34 track_type='bigWig', visibility='full', 36 track_type='bigWig', visibility='full',
35 priority=self.priority, 37 priority=self.priority,
36 track_file=myBigWigFilePath, 38 track_file=myBigWigFilePath,
37 track_color=self.track_color) 39 track_color=self.track_color,
40 group_name=self.group_name)
38 41
39 # dataURL = "tracks/%s" % trackName 42 # dataURL = "tracks/%s" % trackName
40 # 43 #
41 # # Return the BigBed track 44 # # Return the BigBed track
42 # 45 #