Add customtrack datatype. This is a skeleton class for now, allows viewing at ucsc and formatted

peeking.
This commit is contained in:
Daniel Blankenberg
2007-03-09 21:28:09 +00:00
parent 496ba08a30
commit 5f67a58a9b
6 changed files with 24 additions and 7 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ from galaxy import datatypes
def exec_before_job( trans, inp_data, out_data, param_dict, tool=None):
"""Sets the name of the data"""
outputType = param_dict.get( 'hgta_outputType', "interval" ) #assume all data is interval, we will fix later if not the case
#list for converting ucsc to galaxy exts, if not in here, use raw reported value
outputType_to_ext = {'wigData':'wig','tab':'interval','hyperlinks':'html','sequence':'fasta'}
outputType = param_dict.get( 'hgta_outputType', "interval" ).lower() #assume all data is interval, we will fix later if not the case
#list for converting ucsc to galaxy exts, if not in following dictionary, use provided datatype
outputType_to_ext = {'wigdata':'wig','tab':'interval','hyperlinks':'html','sequence':'fasta'}
items = out_data.items()
description = param_dict.get('hgta_regionType',"")
organism = param_dict.get('org',"unkown species")