diff bigPsl.py @ 21:884ee2a71680 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 6ac76e7da539ca1773fb809054679f0bf8a06972-dirty
author yating-l
date Wed, 12 Apr 2017 15:05:33 -0400
parents 40469b265ddb
children 2677f1899aa8
line wrap: on
line diff
--- a/bigPsl.py	Fri Jan 20 17:12:03 2017 -0500
+++ b/bigPsl.py	Wed Apr 12 15:05:33 2017 -0400
@@ -2,6 +2,7 @@
 
 import os
 import tempfile
+import string
 
 from Datatype import Datatype
 from Track import Track
@@ -29,6 +30,7 @@
         # bedToBigBed processing
         # TODO: Change the name of the bb, to tool + genome + .bb
         trackName = "".join( ( self.name_bigpsl, '.bb' ) )
+
         myBigBedFilePath = os.path.join(self.myTrackFolderPath, trackName)
 
         auto_sql_option = os.path.join(self.tool_directory, 'bigPsl.as')
@@ -41,15 +43,15 @@
                                  tab='True',
                                  autoSql=auto_sql_option)
 
-        # Create the Track Object
         self.createTrack(file_path=trackName,
                          track_name=trackName,
-                         long_label=self.name_bigpsl, track_type='bigBed 12 +', visibility='dense',
+                         long_label=self.name_bigpsl, track_type='bigPsl', visibility='dense',
                          priority=self.priority,
                          track_file=myBigBedFilePath,
                          track_color=self.track_color,
                          group_name=self.group_name)
 
+
         # dataURL = "tracks/%s" % trackName
         #
         # trackDb = TrackDb(