diff Gff3.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/Gff3.py	Fri Sep 02 15:41:51 2016 -0400
+++ b/Gff3.py	Sun Sep 25 11:25:38 2016 -0400
@@ -19,6 +19,7 @@
         self.input_Gff3_false_path = input_Gff3_false_path
         self.name_gff3 = data_gff3["name"]
         self.priority = data_gff3["order_index"]
+        self.track_color = data_gff3["track_color"]
 
         # TODO: See if we need these temporary files as part of the generated files
         unsorted_genePred_file = tempfile.NamedTemporaryFile(bufsize=0, suffix=".genePred")
@@ -57,6 +58,7 @@
                          long_label=self.name_gff3,
                          track_type='bigGenePred', visibility='dense',
                          priority=self.priority,
-                         track_file=myBigBedFilePath)
+                         track_file=myBigBedFilePath,
+                         track_color=self.track_color)
 
         print("- Gff3 %s created" % self.name_gff3)