changeset 10:93911bac43da

Modifications for ToolShed proprietary data types
author Jim Johnson <jj@umn.edu>
date Thu, 05 Jan 2012 14:31:24 -0600
parents 7f032685214b
children 6adc485b6dc0
files lib/galaxy/datatypes/gmap.py tool-data/datatypes_conf.xml
diffstat 2 files changed, 27 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/galaxy/datatypes/gmap.py	Thu Dec 08 11:16:03 2011 -0600
+++ b/lib/galaxy/datatypes/gmap.py	Thu Jan 05 14:31:24 2012 -0600
@@ -3,10 +3,10 @@
 """
 import logging
 import os,os.path,re
-import data
-from data import Text
+import galaxy.datatypes.data
+from galaxy.datatypes.data import Text
 from galaxy import util
-from metadata import MetadataElement
+from galaxy.datatypes.metadata import MetadataElement
 
 log = logging.getLogger(__name__)
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool-data/datatypes_conf.xml	Thu Jan 05 14:31:24 2012 -0600
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<datatypes>
+    <datatype_files>
+        <datatype_file name="gmap.py"/>
+    </datatype_files>
+    <registration>
+        <datatype extension="gmapdb" type="galaxy.datatypes.gmap:GmapDB" display_in_upload="False"/>
+        <datatype extension="gmapsnpindex" type="galaxy.datatypes.gmap:GmapSnpIndex" display_in_upload="False"/>
+        <datatype extension="iit" type="galaxy.datatypes.gmap:IntervalIndexTree" display_in_upload="True"/>
+        <datatype extension="splicesites.iit" type="galaxy.datatypes.gmap:SpliceSitesIntervalIndexTree" display_in_upload="True"/>
+        <datatype extension="introns.iit" type="galaxy.datatypes.gmap:IntronsIntervalIndexTree" display_in_upload="True"/>
+        <datatype extension="snps.iit" type="galaxy.datatypes.gmap:SNPsIntervalIndexTree" display_in_upload="True"/>
+        <datatype extension="gmap_annotation" type="galaxy.datatypes.gmap:IntervalAnnotation" display_in_upload="False"/>
+        <datatype extension="gmap_splicesites" type="galaxy.datatypes.gmap:SpliceSiteAnnotation" display_in_upload="True"/>
+        <datatype extension="gmap_introns" type="galaxy.datatypes.gmap:IntronAnnotation" display_in_upload="True"/>
+        <datatype extension="gmap_snps" type="galaxy.datatypes.gmap:SNPAnnotation" display_in_upload="True"/>
+    </registration>
+    <sniffers>
+        <sniffer type="galaxy.datatypes.gmap:IntervalAnnotation"/>
+        <sniffer type="galaxy.datatypes.gmap:SpliceSiteAnnotation"/>
+        <sniffer type="galaxy.datatypes.gmap:IntronAnnotation"/>
+        <sniffer type="galaxy.datatypes.gmap:SNPAnnotation"/>
+    </sniffers>
+</datatypes>