view CADDSuite-1.1/galaxyconfigs/tools/MolPredictor.xml @ 6:decca54699e3

Uploaded Version 1.1
author marcel
date Thu, 12 Jan 2012 11:07:03 -0500
parents
children
line wrap: on
line source


<!--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.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' :
   -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>