diff galaxy_stubs/PropertyModifier.xml @ 2:605370bc1def draft default tip

Uploaded
author luis
date Tue, 12 Jul 2016 12:33:33 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/galaxy_stubs/PropertyModifier.xml	Tue Jul 12 12:33:33 2016 -0400
@@ -0,0 +1,83 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
+<!--Proposed Tool Section: [Preparation]-->
+<tool id="PropertyModifier" name="PropertyModifier" version="1.1.0">
+  <description>modify molecule property tags</description>
+  <macros>
+    <token name="@EXECUTABLE@">PropertyModifier</token>
+    <import>macros.xml</import>
+  </macros>
+  <expand macro="stdio"/>
+  <expand macro="requirements"/>
+  <command>PropertyModifier
+
+#if $param_i:
+  -i $param_i
+#end if
+#if $param_o:
+  -o $param_o
+#end if
+#if $param_mode:
+  -mode
+  #if " " in str($param_mode):
+    "$param_mode"
+  #else
+    $param_mode
+  #end if
+#end if
+#if $param_name:
+  -name     "$param_name"
+#end if
+#if $param_value:
+  -value     "$param_value"
+#end if
+#if $param_new_name:
+  -new_name     "$param_new_name"
+#end if
+#if $param_rm:
+  -rm $param_rm
+#end if
+</command>
+  <inputs>
+    <param name="param_i" type="data" format="mol2,sdf,drf" optional="False" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="input file" help="(-i) "/>
+    <param name="param_mode" type="select" optional="False" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="'delete', 'add' or 'rename' properties" help="(-mode) ">
+      <option value="add">add</option>
+      <option value=" rename"> rename</option>
+      <option value=" delete"> delete</option>
+    </param>
+    <param name="param_name" type="text" size="30" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="property name ('all' will erase all properties if in delete-mode)" help="(-name) ">
+      <sanitizer>
+        <valid initial="string.printable">
+          <remove value="'"/>
+          <remove value="&quot;"/>
+        </valid>
+      </sanitizer>
+    </param>
+    <param name="param_value" type="text" size="30" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="property value (in case of prop. adding only)" help="(-value) ">
+      <sanitizer>
+        <valid initial="string.printable">
+          <remove value="'"/>
+          <remove value="&quot;"/>
+        </valid>
+      </sanitizer>
+    </param>
+    <param name="param_new_name" type="text" size="30" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="new property name (in case of renaming only)" help="(-new_name) ">
+      <sanitizer>
+        <valid initial="string.printable">
+          <remove value="'"/>
+          <remove value="&quot;"/>
+        </valid>
+      </sanitizer>
+    </param>
+    <param name="param_rm" type="integer" min="0" max="1" optional="True" value="0" label="remove input file when finished" help="(-rm) "/>
+  </inputs>
+  <expand macro="advanced_options"/>
+  <outputs>
+    <data name="param_o" metadata_source="param_i" format="input"/>
+  </outputs>
+  <help>With this tools you can add, rename or delete molecule property tags.
+These tags can for example contain information about scores, binding-free-energy, IDs or names for the resp. molecule.
+The output of this tool is a molecule file in which the desired property tags have been added/renamed/deleted (as chosen).
+
+</help>
+</tool>