changeset 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
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: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"/>
--- a/tool_dependencies.xml	Wed Aug 26 07:32:06 2015 -0400
+++ b/tool_dependencies.xml	Wed Dec 23 03:50:48 2015 -0500
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <tool_dependency>
     <package name="gnu_awk" version="4.1.0">
-        <repository changeset_revision="52a8268bb49f" name="package_gnu_awk_4_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+        <repository changeset_revision="f145f856ec57" name="package_gnu_awk_4_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
     </package>
 </tool_dependency>