changeset 2:befa27962b5e draft default tip

Uploaded
author brigidar
date Wed, 07 Oct 2015 12:46:41 -0400
parents 989f0f529644
children
files drop_column.xml
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/drop_column.xml	Wed Oct 07 12:46:41 2015 -0400
@@ -0,0 +1,17 @@
+<tool id="drop_column" name="drop one column" version="0.1">
+    <description>removes unwanted column</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>