diff cuffdata.py @ 5:9d25b0fd882b

Add cuffdatadb datatype (cummeRbund SQLite DB) to cuffdata.py
author Jim Johnson <jj@umn.edu>
date Tue, 09 Oct 2012 07:43:58 -0500
parents 6a9bc26ab8d9
children 45275147ac1e
line wrap: on
line diff
--- a/cuffdata.py	Mon Oct 08 16:20:35 2012 -0500
+++ b/cuffdata.py	Tue Oct 09 07:43:58 2012 -0500
@@ -5,6 +5,7 @@
 import os,os.path,re
 import galaxy.datatypes.data
 from galaxy.datatypes.images import Html
+from galaxy.datatypes.binary import Binary
 from galaxy import util
 from galaxy.datatypes.metadata import MetadataElement
 
@@ -36,7 +37,7 @@
     tss_groups.read_group_tracking
     """
     file_ext = 'cuffdata'
-    is_binary = True
+    is_binary = False
     composite_type = 'auto_primary_file'
     allow_datatype_change = False
 
@@ -71,3 +72,7 @@
     def sniff( self, filename ):
         return False
 
+class CuffDataDB( Binary ):
+    file_ext = 'cuffdata'
+    is_binary = True
+    allow_datatype_change = False