diff Bed.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
line wrap: on
line diff
--- a/Bed.py	Fri Sep 02 15:41:51 2016 -0400
+++ b/Bed.py	Sun Sep 25 11:25:38 2016 -0400
@@ -23,6 +23,7 @@
         self.data_bed_generic = data_bed_generic
         self.name_bed_generic = self.data_bed_generic["name"]
         self.priority = self.data_bed_generic["order_index"]
+        self.track_color = self.data_bed_generic["track_color"]
 
         # Sort processing
         subtools.sort(self.inputBedGeneric, self.sortedBedFile.name)
@@ -42,7 +43,8 @@
                          track_name=trackName,
                          long_label=self.name_bed_generic, track_type='bigBed', visibility='dense',
                          priority=self.priority,
-                         track_file=myBigBedFilePath)
+                         track_file=myBigBedFilePath,
+                         track_color=self.track_color)
 
         # dataURL = "tracks/%s" % trackName
         #