view CADDSuite/galaxyconfigs/tools/MolCombine.xml @ 1:0dcf542923ab

Uploaded
author g2cmnty@test-web1.g2.bx.psu.edu
date Tue, 28 Jun 2011 10:39:47 -0400
parents 8ce0411aaeb3
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="molcombine" name="MolCombine" version="0.94">
    <description>combine molecular files</description>
    <command interpreter="bash"><![CDATA[../../MolCombine 
#if str( $i1 ) != ''  and str( $i1 ) != 'None' :
   -i1 "$i1"
#end if
#if str( $i2 ) != ''  and str( $i2 ) != 'None' :
   -i2 "$i2"
#end if
#if str( $mode ) != ''  and str( $mode ) != 'None' :
   -mode "$mode"
#end if
#if str( $o ) != ''  and str( $o ) != 'None' :
   -o "$o"
#end if
#if str( $ignH ) != ''  and str( $ignH ) != 'None' :
   -ignH
#end if
#if str( $replace_prop ) != ''  and str( $replace_prop ) != 'None' :
   -replace_prop
#end if
 | tail -n 5
]]></command>
    <inputs>
        <param name="i1" label="input molecule file A" optional="false" type="data" format="mol2/sdf/drf"/>
        <param name="i2" label="input molecule file B" optional="false" type="data" format="mol2/sdf/drf"/>
        <param name="mode" label="'intersection', 'union' or 'b_not_a'" optional="false" type="select">
            <option value="intersection">intersection</option>
            <option value="union">union</option>
            <option value="b_not_a">b_not_a</option>
        </param>
        <param name="ignH" label="ignore hydrogens, i.e. match molecules to any protonation state." optional="true" type="boolean" truevalue="true" falsevalue=""/>
        <param name="replace_prop" label="replace properties from file 1 w/ those from file 2" optional="true" type="boolean" truevalue="true" falsevalue=""/>
    </inputs>
    <outputs>
        <data name="o" format="mol2/sdf/drf" format_source="i1"/>
    </outputs>
    <help>This tool generates the intersection or union of two given chemical files. Property-tags of molecules that appear in both input files are automatically merged.

If you want to match molecules regardless of their protonation state, use option '-ignH'.

Output of this tool is a file containing the union resp. intersection of all molecules of input A and B.</help>
</tool>