diff drop_column/drop_column.xml @ 0:108bf41b643c draft default tip

Uploaded
author ylebrascnrs
date Thu, 30 Nov 2017 06:16:45 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/drop_column/drop_column.xml	Thu Nov 30 06:16:45 2017 -0500
@@ -0,0 +1,17 @@
+<tool id="drop_column" name="suppression de colonne" version="0.1">
+    <description>enlever les colonnes non voulues</description>
+    <command>
+        cat $input1 | cut -f-$number1,$number2- >> $out_file1    </command>
+    <inputs>
+        <param name="input1" type="data" label="input file"/>
+        <param name="number1" type="integer" label="column to the left" value="4"/>
+        <param name="number2" type="integer" label="column to the right" value="6"/>
+    </inputs>
+    <outputs>
+        <data name="out_file1" format="input" metadata_source="input1"/>
+    </outputs>
+    <tests>
+    </tests>
+    <help>
+    </help>
+</tool>