diff TrackHub.py @ 4:7e471cdd9e71 draft

planemo upload for repository https://github.com/Yating-L/jbrowse-archive-creator.git commit 8d93b27353190eb23490c9480e560d84cb60c973
author yating-l
date Fri, 07 Jul 2017 16:17:57 -0400
parents eda851e52060
children 237707a6b74d
line wrap: on
line diff
--- a/TrackHub.py	Wed May 31 15:45:47 2017 -0400
+++ b/TrackHub.py	Fri Jul 07 16:17:57 2017 -0400
@@ -13,7 +13,7 @@
         self.input_files = inputFiles.tracks
         self.outfile = outputDirect
         self.outfolder = extra_files_path
-        self.out_path = os.path.join(extra_files_path, genome)
+        self.out_path = os.path.join(extra_files_path, 'myHub')
         self.reference = reference
         self.tool_dir = tool_dir
         self.metaData = metaData
@@ -153,6 +153,8 @@
             metadata['category'] = "Default group"
         if track['dataType'] == 'blastxml':
             metadata['type'] = "G-OnRamp_plugin/BlastAlignment"
+        elif track['dataType'] == 'bigpsl':
+            metadata['type'] = "G-OnRamp_plugin/BlatAlignment"
         elif track['dataType'] == 'gff3_transcript' or track['dataType'] == 'gff3_mrna':
             metadata['type'] = "G-OnRamp_plugin/GenePred"
         else: