diff fixedValueColumn.xml @ 4:023f0a3760b3 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
author devteam
date Fri, 29 Sep 2023 15:06:32 +0000
parents 745871c0b055
children
line wrap: on
line diff
--- a/fixedValueColumn.xml	Wed Nov 11 12:03:16 2015 -0500
+++ b/fixedValueColumn.xml	Fri Sep 29 15:06:32 2023 +0000
@@ -1,26 +1,35 @@
-<tool id="addValue" name="Add column" version="1.0.0">
-  <description>to an existing dataset</description>
-  <command interpreter="perl">fixedValueColumn.pl "${input}" "${out_file1}" "${exp}" "${iterate}"</command>
-  <inputs>
-     <param name="exp" type="text" value="1" label="Add this value"/>
-    <param format="tabular" name="input" type="data" label="to Dataset" help="Dataset missing? See TIP below" />
-    <param name="iterate" type="select" label="Iterate?">
-      <option value="no">NO</option>
-      <option value="yes">YES</option>
-    </param>    
-  </inputs>
-  <outputs>
-    <data format="input" name="out_file1" metadata_source="input"/>
-  </outputs>
-  <tests>
-    <test>
-      <param name="exp" value="1"/>
-      <param name="input" value="1.bed"/>
-      <param name="iterate" value="no"/>
-      <output name="out_file1" file="eq-addvalue.dat"/>
-    </test>
-  </tests>
-  <help>
+<tool id="addValue" name="Add column" version="1.0.1" profile="16.04">
+    <description>to an existing dataset</description>
+    <requirements>
+        <requirement type="package" version="5.26">perl</requirement>
+    </requirements>
+    <command>
+        perl $__tool_directory__/fixedValueColumn.pl
+            "${input}"
+            "${out_file1}"
+            "${exp}"
+            "${iterate}"
+    </command>
+    <inputs>
+        <param name="exp" type="text" value="1" label="Add this value"/>
+        <param format="tabular" name="input" type="data" label="to Dataset" help="Dataset missing? See TIP below" />
+        <param name="iterate" type="select" label="Iterate?">
+            <option value="no">NO</option>
+            <option value="yes">YES</option>
+        </param>
+    </inputs>
+    <outputs>
+        <data name="out_file1" format_source="input"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="exp" value="1"/>
+            <param name="input" value="1.bed"/>
+            <param name="iterate" value="no"/>
+            <output name="out_file1" file="eq-addvalue.dat"/>
+        </test>
+    </tests>
+    <help>
 
 .. class:: infomark
 
@@ -55,7 +64,6 @@
     chr2 200 300 geneB 2
     chr2 400 500 geneC 3
 
-
+    </help>
+</tool>
 
-</help>
-</tool>