view CADDSuite/galaxyconfigs/tools/MolPredictor.xml @ 5:b7a89b15646f

Uploaded
author marcel
date Tue, 12 Jul 2011 10:23:33 -0400
parents bac3c274238f
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="0.95">
    <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( $csv_cl ) != ''  and str( $csv_cl ) != 'None' :
   -csv_cl
#end if
#if str( $csv_dl ) != ''  and str( $csv_dl ) != 'None' :
   -csv_dl
#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="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=""/>
    </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>