diff CADDSuite-1.6/galaxyconfigs/tools/MolPredictor.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/MolPredictor.xml	Sat Dec 15 13:15:46 2012 -0500
@@ -0,0 +1,58 @@
+
+<!--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="molpredictor" name="MolPredictor" version="1.6">
+    <description>predict molecule activities with QSAR model</description>
+    <command interpreter="bash"><![CDATA[../../MolPredictor 
+#if str( $i ) != ''  and str( $i ) != 'None' :
+   -i "$i"
+#end if
+#if str( $mod ) != ''  and str( $mod ) != 'None' :
+   -mod "$mod"
+#end if
+#if str( $o ) != ''  and str( $o ) != 'None' :
+   -o "$o"
+#end if
+#if str( $csv ) != ''  and str( $csv ) != 'None' :
+   -csv "$csv"
+#end if
+#if str( $csv_nr ) != ''  and str( $csv_nr ) != 'None' :
+   -csv_nr "$csv_nr"
+#end if
+#if str( $csv_sep ) != ''  and str( $csv_sep ) != 'None' :
+   -csv_sep "$csv_sep"
+#end if
+#if str( $sdp ) != ''  and str( $sdp ) != 'None' :
+   -sdp
+#end if
+#if str( $csv_cl ) != ''  and str( $csv_cl ) != 'None' :
+   -csv_cl
+#end if
+#if str( $csv_dl ) != ''  and str( $csv_dl ) != 'None' :
+   -csv_dl
+#end if
+#if str( $rm ) != ''  and str( $rm ) != 'None' :
+   -rm
+#end if
+ | tail -n 5
+]]></command>
+    <inputs>
+        <param name="i" optional="false" label="input sd-file" type="data" format="sdf"/>
+        <param name="mod" optional="false" label="file containing QSAR model" type="data" format="mod"/>
+        <param name="csv" optional="true" label="input csv-file w/ additional descriptors" type="data" format="csv"/>
+        <param name="csv_nr" optional="true" label="Optional: no. of response variables in csv-file" type="text" area="true" size="1x5" value=""/>
+        <param name="csv_sep" optional="true" label="Optional: separator symbol in csv-file" type="text" area="true" size="1x5" value=""/>
+        <param name="sdp" optional="true" label="use sd-properties as additional descriptors" type="boolean" truevalue="true" falsevalue=""/>
+        <param name="csv_cl" optional="true" label="csv-file has compound (row) labels" type="boolean" truevalue="true" falsevalue=""/>
+        <param name="csv_dl" optional="true" label="csv-file has descriptor (column) labels" type="boolean" truevalue="true" falsevalue=""/>
+        <param name="rm" optional="true" label="remove input sd-file when finished" type="boolean" truevalue="true" falsevalue=""/>
+    </inputs>
+    <outputs>
+        <data name="o" format="sdf"/>
+    </outputs>
+    <help>This tool predictes the response values of compounds in the given molecule file using the specified QSAR model.
+
+Input of this tool is a molecule file (sdf,mol2,drf) and a model-file as generated by ModelCreator or FeatureSelector.
+Features for all molecules in the input file are generated automatically. However, if you used an additional, externally generated feature-set to generate your QSAR model, make sure to generate features in the same manner (i.e. using the same external tool with the same settings) for the molecule file to be used here and specify the csv-file with the above options.
+
+Output of this tool (as specified by '-o') is a molecule file containing the predicted values as a property tag named 'predicted_activity'.</help>
+</tool>
\ No newline at end of file