diff SemanticValidator.xml @ 4:6ead64a594bd draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/openms commit 7a5239910fda9ed90cca286a38855703b40b1b56-dirty
author bgruening
date Wed, 27 Jan 2016 10:06:49 -0500
parents 3d84209d3178
children
line wrap: on
line diff
--- a/SemanticValidator.xml	Mon Oct 13 10:18:22 2014 -0400
+++ b/SemanticValidator.xml	Wed Jan 27 10:06:49 2016 -0500
@@ -1,32 +1,55 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<tool id="SemanticValidator" name="SemanticValidator" version="1.12.0">
-  <description>SemanticValidator for semantically validating certain XML files.</description>
-  <macros>
-    <token name="@EXECUTABLE@">SemanticValidator</token>
-    <import>macros.xml</import>
-  </macros>
-  <expand macro="stdio"/>
-  <expand macro="requirements"/>
-  <command>SemanticValidator
+<?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: [Utilities]-->
+  <tool id="SemanticValidator" name="SemanticValidator" version="2.0.0">
+    <description>SemanticValidator for semantically validating certain XML files.</description>
+    <macros>
+      <token name="@EXECUTABLE@">SemanticValidator</token>
+      <import>macros.xml</import>
+    </macros>
+    <expand macro="references"/>
+    <expand macro="stdio"/>
+    <expand macro="requirements"/>
+    <command>SemanticValidator
 
--in ${param_in}
--mapping_file ${param_mapping_file}
--cv ${param_cv}
--threads \${GALAXY_SLOTS:-24} 
+#if $param_in:
+  -in $param_in
+#end if
+#if $param_mapping_file:
+  -mapping_file $param_mapping_file
+#end if
+-cv
+  #for token in $param_cv:
+    $token
+  #end for
+-threads \${GALAXY_SLOTS:-24}
+#if $adv_opts.adv_opts_selector=='advanced':
+    #if $adv_opts.param_force:
+  -force
+#end if
+#end if
+&gt; $param_stdout
 </command>
-  <inputs>
-    <param name="param_in" type="data" format="mzML" optional="False" label="Input file (any xml file)" help="(-in)"/>
-    <param name="param_mapping_file" type="data" format="" optional="False" label="Mapping file which is used to semantically validate the given XML file against this mapping file (see 'share/OpenMS/MAPPING' for templates)." help="(-mapping_file)"/>
-    <param name="param_cv" type="data" format="" optional="True" size="20" label="Controlled Vocabulary files containg the CV terms (if left empty, a set of default files are used)" help="(-cv)"/>
-  </inputs>
-  <outputs/>
-  <help>**What it does**
-
-SemanticValidator for semantically validating certain XML files.
+    <inputs>
+      <param format="xml,txt,traml,mzml" help="(-in) " label="Input file (any xml file)" name="param_in" optional="False" type="data"/>
+      <param format="" help="(-mapping_file) " label="Mapping file which is used to semantically validate the given XML file against this mapping file (see 'share/OpenMS/MAPPING' for templates)" name="param_mapping_file" optional="False" type="data"/>
+      <param format="" help="(-cv) " label="Controlled Vocabulary files containg the CV terms (if left empty, a set of default files are used)" multiple="true" name="param_cv" optional="True" size="30" type="data">
+        <sanitizer>
+          <valid initial="string.printable">
+            <remove value="'"/>
+            <remove value="&quot;"/>
+          </valid>
+        </sanitizer>
+      </param>
+      <expand macro="advanced_options">
+        <param checked="false" falsevalue="" help="(-force) " label="Overwrite tool specific checks" name="param_force" optional="True" truevalue="-force" type="boolean"/>
+      </expand>
+    </inputs>
+    <outputs>
+      <data format="text" label="Output from stdout" name="param_stdout"/>
+    </outputs>
+    <help>SemanticValidator for semantically validating certain XML files.
 
 
-For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_SemanticValidator.html
-
-@REFERENCES@
-</help>
-</tool>
+For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_SemanticValidator.html</help>
+  </tool>