view CADDSuite-1.0.1/galaxyconfigs/tools/MolPredictor.xml @ 5:e30a41af9d2b

author marcel
date Tue, 15 Nov 2011 10:53:16 -0500
line wrap: on
line source

<!--This is a configuration file for the integration of a CADDSuite tool into Galaxy ( This file was automatically generated using GalaxyConfigGenerator, so do not bother to make too many manual modifications.-->
<tool id="molpredictor" name="MolPredictor" version="1.0.1">
    <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' :
#end if
#if str( $csv_cl ) != ''  and str( $csv_cl ) != 'None' :
#end if
#if str( $csv_dl ) != ''  and str( $csv_dl ) != 'None' :
#end if
#if str( $rm ) != ''  and str( $rm ) != 'None' :
#end if
 | tail -n 5
        <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=""/>
        <data name="o" format="sdf"/>
    <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>