Mercurial > repos > bgruening > split_file_on_column
changeset 1:b1914e537f3e 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:34 -0500 |
parents | f30aca50efbb |
children | bddc7c1070d2 |
files | split_file_on_column.xml tool_dependencies.xml |
diffstat | 2 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/split_file_on_column.xml Wed Aug 26 07:31:55 2015 -0400 +++ b/split_file_on_column.xml Wed Dec 23 03:50:34 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"/>
--- a/tool_dependencies.xml Wed Aug 26 07:31:55 2015 -0400 +++ b/tool_dependencies.xml Wed Dec 23 03:50:34 2015 -0500 @@ -1,6 +1,6 @@ <?xml version="1.0"?> <tool_dependency> <package name="gnu_awk" version="4.1.0"> - <repository changeset_revision="440a5170003f" name="package_gnu_awk_4_1_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + <repository changeset_revision="0f0bdef2f686" name="package_gnu_awk_4_1_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" /> </package> </tool_dependency>