Mercurial > repos > marcel > caddsuite_linux_x86_64
annotate CADDSuite-1.5/galaxyconfigs/tools/PropertyModifier.xml @ 15:ac342506cd4e draft
CADDSuite version 1.5
author | Marcel Schumann <schumann.marcel@gmail.com> |
---|---|
date | Tue, 24 Jul 2012 11:08:49 -0400 |
parents | |
children |
rev | line source |
---|---|
15
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
1 |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
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.--> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
3 <tool id="propertymodifier" name="PropertyModifier" version="1.5"> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
4 <description>modify molecule property tags</description> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
5 <command interpreter="bash"><![CDATA[../../PropertyModifier |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
6 #if str( $i ) != '' and str( $i ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
7 -i "$i" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
8 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
9 #if str( $o ) != '' and str( $o ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
10 -o "$o" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
11 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
12 #if str( $mode ) != '' and str( $mode ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
13 -mode "$mode" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
14 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
15 #if str( $name ) != '' and str( $name ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
16 -name "$name" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
17 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
18 #if str( $value ) != '' and str( $value ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
19 -value "$value" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
20 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
21 #if str( $new_name ) != '' and str( $new_name ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
22 -new_name "$new_name" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
23 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
24 #if str( $rm ) != '' and str( $rm ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
25 -rm |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
26 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
27 | tail -n 5 |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
28 ]]></command> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
29 <inputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
30 <param name="i" optional="false" label="input file" type="data" format="mol2/sdf/drf"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
31 <param name="mode" optional="false" label="'delete', 'add' or 'rename' properties" type="select"> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
32 <option value="add">add</option> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
33 <option value="rename">rename</option> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
34 <option value="delete">delete</option> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
35 </param> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
36 <param name="name" optional="false" label="property name ('all' will erase all properties if in delete-mode)" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
37 <param name="value" optional="true" label="Optional: property value (in case of prop. adding only)" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
38 <param name="new_name" optional="true" label="Optional: new property name (in case of renaming only)" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
39 <param name="rm" optional="true" label="remove input file when finished" type="boolean" truevalue="true" falsevalue=""/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
40 </inputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
41 <outputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
42 <data name="o" format="mol2/sdf/drf" format_source="i"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
43 </outputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
44 <help>With this tools you can add, rename or delete molecule property tags. |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
45 These tags can for example contain information about scores, binding-free-energy, IDs or names for the resp. molecule. |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
46 The output of this tool is a molecule file in which the desired property tags have been added/renamed/deleted (as chosen).</help> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
47 </tool> |