Mercurial > repos > bgruening > split_file_on_column
diff split_file_on_column.xml @ 3:b60f2452580e draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit af7f8fd0977384f9b4225d414623bf5d6ce23a7e
author | bgruening |
---|---|
date | Wed, 23 Dec 2015 03:50:48 -0500 |
parents | 90b52d8d6f2c |
children | 37a53100b67e |
line wrap: on
line diff
--- a/split_file_on_column.xml Wed Aug 26 07:32:06 2015 -0400 +++ b/split_file_on_column.xml Wed Dec 23 03:50:48 2015 -0500 @@ -5,7 +5,8 @@ </requirements> <command> <![CDATA[ - awk -F'\t' '{print > \$$column ".$infile.ext" }' $infile + mkdir tmp_out && + awk -F'\t' '{print > "tmp_out/"\$$column".$infile.ext" }' $infile ]]> </command> <inputs> @@ -14,12 +15,9 @@ </inputs> <outputs> <collection name="split_output" type="list" label="Table split on first column"> - <discover_datasets pattern="__name_and_ext__" directory="." /> + <discover_datasets pattern="__name_and_ext__" directory="tmp_out" /> </collection> </outputs> - <!--outputs> - <data format="input" name="outfile" metadata_source="infile" label="${tool.name} on ${on_string}"/> - </outputs--> <tests> <test> <param name="infile" value="5cols.tabular" ftype="tabular"/>