diff CADDSuite-1.6/galaxyconfigs/tools/InputPartitioner.xml @ 8:dbb480e39d95 draft

Uploaded
author marcel
date Sat, 15 Dec 2012 13:15:46 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CADDSuite-1.6/galaxyconfigs/tools/InputPartitioner.xml	Sat Dec 15 13:15:46 2012 -0500
@@ -0,0 +1,28 @@
+
+<!--This is a configuration file for the integration of a CADDSuite tool into Galaxy (http://usegalaxy.org). This file was automatically generated using GalaxyConfigGenerator, so do not bother to make too many manual modifications.-->
+<tool id="inputpartitioner" name="InputPartitioner" version="1.6">
+    <description>split QSAR data set</description>
+    <command interpreter="bash"><![CDATA[../../InputPartitioner 
+#if str( $i ) != ''  and str( $i ) != 'None' :
+   -i "$i"
+#end if
+#if str( $o ) != ''  and str( $o ) != 'None' :
+   -o "$o"
+#end if
+#if str( $n ) != ''  and str( $n ) != 'None' :
+   -n "$n"
+#end if
+ | tail -n 5
+]]></command>
+    <inputs>
+        <param name="i" optional="false" label="input data-file" type="data" format="dat"/>
+        <param name="n" optional="false" label="number of partitions" type="text" area="true" size="1x5" value=""/>
+    </inputs>
+    <outputs>
+        <data name="o" format="dat"/>
+    </outputs>
+    <help>InputPartitioner partitions a given QSAR data set into n partitions with evenly distributed response values.
+Thus, this tool can be useful as part of a nested validation pipeline.
+Input is a data file as generated by InputReader.
+Output will be written to n files postfixed '_TRAIN&lt;i&gt;.dat' and '_TEST&lt;i&gt;.dat', where &lt;i&gt; is the ID of the resp. partition. For each of these partitions, the training set contains only those compounds that were not selected for the resp. test set.</help>
+</tool>
\ No newline at end of file