Mercurial > repos > jjohnson > cummerbund
comparison 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 |
comparison
equal
deleted
inserted
replaced
4:77ca14d2bb3d | 5:9d25b0fd882b |
---|---|
3 """ | 3 """ |
4 import logging | 4 import logging |
5 import os,os.path,re | 5 import os,os.path,re |
6 import galaxy.datatypes.data | 6 import galaxy.datatypes.data |
7 from galaxy.datatypes.images import Html | 7 from galaxy.datatypes.images import Html |
8 from galaxy.datatypes.binary import Binary | |
8 from galaxy import util | 9 from galaxy import util |
9 from galaxy.datatypes.metadata import MetadataElement | 10 from galaxy.datatypes.metadata import MetadataElement |
10 | 11 |
11 log = logging.getLogger(__name__) | 12 log = logging.getLogger(__name__) |
12 | 13 |
34 tss_groups.count_tracking | 35 tss_groups.count_tracking |
35 tss_groups.fpkm_tracking | 36 tss_groups.fpkm_tracking |
36 tss_groups.read_group_tracking | 37 tss_groups.read_group_tracking |
37 """ | 38 """ |
38 file_ext = 'cuffdata' | 39 file_ext = 'cuffdata' |
39 is_binary = True | 40 is_binary = False |
40 composite_type = 'auto_primary_file' | 41 composite_type = 'auto_primary_file' |
41 allow_datatype_change = False | 42 allow_datatype_change = False |
42 | 43 |
43 def generate_primary_file( self, dataset = None ): | 44 def generate_primary_file( self, dataset = None ): |
44 """ | 45 """ |
69 self.regenerate_primary_file(dataset) | 70 self.regenerate_primary_file(dataset) |
70 | 71 |
71 def sniff( self, filename ): | 72 def sniff( self, filename ): |
72 return False | 73 return False |
73 | 74 |
75 class CuffDataDB( Binary ): | |
76 file_ext = 'cuffdata' | |
77 is_binary = True | |
78 allow_datatype_change = False |