Repository 'split_file_on_column'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/split_file_on_column

Changeset 3:b60f2452580e (2015-12-23)
Previous changeset 2:90b52d8d6f2c (2015-08-26) Next changeset 4:37a53100b67e (2021-02-25)
Commit message:
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit af7f8fd0977384f9b4225d414623bf5d6ce23a7e
modified:
split_file_on_column.xml
tool_dependencies.xml
b
diff -r 90b52d8d6f2c -r b60f2452580e split_file_on_column.xml
--- 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"/>
b
diff -r 90b52d8d6f2c -r b60f2452580e tool_dependencies.xml
--- a/tool_dependencies.xml Wed Aug 26 07:32:06 2015 -0400
+++ b/tool_dependencies.xml Wed Dec 23 03:50:48 2015 -0500
b
@@ -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>