Mercurial > repos > brigidar > drop_column
changeset 0:5acd16a281c1 draft
Uploaded
author | brigidar |
---|---|
date | Wed, 07 Oct 2015 12:45:15 -0400 |
parents | |
children | 989f0f529644 |
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:45:15 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"/> + <param name="number2" type="integer" label="column to the right"/> + </inputs> + <outputs> + <data name="out_file1" format="input" metadata_source="input1"/> + </outputs> + <tests> + </tests> + <help> + </help> +</tool>