Repository 'rdata_camera_datatypes'
hg clone https://toolshed.g2.bx.psu.edu/repos/lecorguille/rdata_camera_datatypes

Changeset 0:4a51ab3d8ecf (2015-08-07)
Commit message:
planemo upload
added:
datatypes_conf.xml
rdata_camera_datatype.py
b
diff -r 000000000000 -r 4a51ab3d8ecf datatypes_conf.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/datatypes_conf.xml Fri Aug 07 10:45:01 2015 -0400
b
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<datatypes>
+    <datatype_files>
+        <datatype_file name="rdata_camera_datatype.py"/>
+    </datatype_files>
+    <registration>
+        <datatype extension="rdata.camera.positive" type="galaxy.datatypes.rdata_camera_datatype:RdataCameraPositive" mimetype="application/x-gzip" subclass="true" display_in_upload="true" />
+        <datatype extension="rdata.camera.negative" type="galaxy.datatypes.rdata_camera_datatype:RdataCameraNegative" mimetype="application/x-gzip" subclass="true" display_in_upload="true" />
+        <datatype extension="rdata.camera.quick" type="galaxy.datatypes.rdata_camera_datatype:RdataCameraQuick" mimetype="application/x-gzip" subclass="true" display_in_upload="true" />
+    </registration>
+</datatypes>
b
diff -r 000000000000 -r 4a51ab3d8ecf rdata_camera_datatype.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rdata_camera_datatype.py Fri Aug 07 10:45:01 2015 -0400
b
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+"""
+xcms datatypes
+
+Author: lecorguille@sb-roscoff.fr
+"""
+
+import logging
+import os,os.path,re
+from galaxy.datatypes.data import *
+from galaxy.datatypes.sniff import *
+from galaxy.datatypes.binary import * 
+
+log = logging.getLogger(__name__)
+    
+
+class RdataCameraPositive( Binary ):
+    file_ext = "rdata.camera.positive"
+    blurb = "Output of CAMERA.annotate using positif acquisition mode\nInput of ProbMetab or CAMERA.combinexcAnnos"
+    
+    #TODO: sniff
+
+
+class RdataCameraNegative( Binary ):
+    file_ext = "rdata.camera.negative"
+    blurb = "Output of CAMERA.annotate using negatif acquisition mode\nInput of ProbMetab or CAMERA.combinexcAnnos"
+    
+    #TODO: sniff
+
+
+class RdataCameraQuick( Binary ):
+    file_ext = "rdata.camera.quick"
+    blurb = "Output of CAMERA.annotate using the quick mode"
+    
+    #TODO: sniff
+
+