annotate CADDSuite/galaxyconfigs/tools/MolCombine.xml @ 3:bb26168c5715

Uploaded
author marcel
date Tue, 12 Jul 2011 10:53:07 -0400
parents
children af446ca2d5c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
bb26168c5715 Uploaded
marcel
parents:
diff changeset
1
bb26168c5715 Uploaded
marcel
parents:
diff changeset
2 <!--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.-->
bb26168c5715 Uploaded
marcel
parents:
diff changeset
3 <tool id="molcombine" name="MolCombine" version="0.95">
bb26168c5715 Uploaded
marcel
parents:
diff changeset
4 <description>combine molecular files</description>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
5 <command interpreter="bash"><![CDATA[../../MolCombine
bb26168c5715 Uploaded
marcel
parents:
diff changeset
6 #if str( $i1 ) != '' and str( $i1 ) != 'None' :
bb26168c5715 Uploaded
marcel
parents:
diff changeset
7 -i1 "$i1"
bb26168c5715 Uploaded
marcel
parents:
diff changeset
8 #end if
bb26168c5715 Uploaded
marcel
parents:
diff changeset
9 #if str( $i2 ) != '' and str( $i2 ) != 'None' :
bb26168c5715 Uploaded
marcel
parents:
diff changeset
10 -i2 "$i2"
bb26168c5715 Uploaded
marcel
parents:
diff changeset
11 #end if
bb26168c5715 Uploaded
marcel
parents:
diff changeset
12 #if str( $mode ) != '' and str( $mode ) != 'None' :
bb26168c5715 Uploaded
marcel
parents:
diff changeset
13 -mode "$mode"
bb26168c5715 Uploaded
marcel
parents:
diff changeset
14 #end if
bb26168c5715 Uploaded
marcel
parents:
diff changeset
15 #if str( $o ) != '' and str( $o ) != 'None' :
bb26168c5715 Uploaded
marcel
parents:
diff changeset
16 -o "$o"
bb26168c5715 Uploaded
marcel
parents:
diff changeset
17 #end if
bb26168c5715 Uploaded
marcel
parents:
diff changeset
18 #if str( $ignH ) != '' and str( $ignH ) != 'None' :
bb26168c5715 Uploaded
marcel
parents:
diff changeset
19 -ignH
bb26168c5715 Uploaded
marcel
parents:
diff changeset
20 #end if
bb26168c5715 Uploaded
marcel
parents:
diff changeset
21 #if str( $replace_prop ) != '' and str( $replace_prop ) != 'None' :
bb26168c5715 Uploaded
marcel
parents:
diff changeset
22 -replace_prop
bb26168c5715 Uploaded
marcel
parents:
diff changeset
23 #end if
bb26168c5715 Uploaded
marcel
parents:
diff changeset
24 | tail -n 5
bb26168c5715 Uploaded
marcel
parents:
diff changeset
25 ]]></command>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
26 <inputs>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
27 <param name="i1" optional="false" label="input molecule file A" type="data" format="mol2/sdf/drf"/>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
28 <param name="i2" optional="false" label="input molecule file B" type="data" format="mol2/sdf/drf"/>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
29 <param name="mode" optional="false" label="'intersection', 'union' or 'b_not_a'" type="select">
bb26168c5715 Uploaded
marcel
parents:
diff changeset
30 <option value="intersection">intersection</option>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
31 <option value="union">union</option>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
32 <option value="b_not_a">b_not_a</option>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
33 </param>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
34 <param name="ignH" optional="true" label="ignore hydrogens, i.e. match molecules to any protonation state." type="boolean" truevalue="true" falsevalue="" checked="true"/>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
35 <param name="replace_prop" optional="true" label="replace properties from file 1 w/ those from file 2" type="boolean" truevalue="true" falsevalue=""/>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
36 </inputs>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
37 <outputs>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
38 <data name="o" format="mol2/sdf/drf" format_source="i1"/>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
39 </outputs>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
40 <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.
bb26168c5715 Uploaded
marcel
parents:
diff changeset
41
bb26168c5715 Uploaded
marcel
parents:
diff changeset
42 If you want to match molecules regardless of their protonation state, use option '-ignH'.
bb26168c5715 Uploaded
marcel
parents:
diff changeset
43
bb26168c5715 Uploaded
marcel
parents:
diff changeset
44 Output of this tool is a file containing the union resp. intersection of all molecules of input A and B.</help>
bb26168c5715 Uploaded
marcel
parents:
diff changeset
45 </tool>