Mercurial > repos > rmarenco > hubarchivecreator
comparison BigWig.py @ 16:3233451a3bd6 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit fc73ec22a0db3ab09c4ac13dc58f0b54ae37845c
author | rmarenco |
---|---|
date | Sun, 25 Sep 2016 11:25:38 -0400 |
parents | 25809f699cb3 |
children | c02720d1afee |
comparison
equal
deleted
inserted
replaced
15:2a45cd656e8e | 16:3233451a3bd6 |
---|---|
16 self.track = None | 16 self.track = None |
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 | 22 |
22 #print "Creating TrackHub BigWig from (falsePath: %s; name: %s)" % ( self.input_bigwig_path, self.name_bigwig ) | 23 #print "Creating TrackHub BigWig from (falsePath: %s; name: %s)" % ( self.input_bigwig_path, self.name_bigwig ) |
23 | 24 |
24 trackName = "".join( ( self.name_bigwig, ".bigwig" ) ) | 25 trackName = "".join( ( self.name_bigwig, ".bigwig" ) ) |
25 | 26 |
30 self.createTrack(file_path=trackName, | 31 self.createTrack(file_path=trackName, |
31 track_name=trackName, | 32 track_name=trackName, |
32 long_label=self.name_bigwig, | 33 long_label=self.name_bigwig, |
33 track_type='bigWig', visibility='full', | 34 track_type='bigWig', visibility='full', |
34 priority=self.priority, | 35 priority=self.priority, |
35 track_file=myBigWigFilePath) | 36 track_file=myBigWigFilePath, |
37 track_color=self.track_color) | |
36 | 38 |
37 # dataURL = "tracks/%s" % trackName | 39 # dataURL = "tracks/%s" % trackName |
38 # | 40 # |
39 # # Return the BigBed track | 41 # # Return the BigBed track |
40 # | 42 # |