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

Changeset 1:0ba6d09a71d6 (2013-12-18)
Previous changeset 0:ad6a989924ac (2013-12-17) Next changeset 2:90b52d8d6f2c (2015-08-26)
Commit message:
Uploaded
modified:
split_file_on_column.xml
b
diff -r ad6a989924ac -r 0ba6d09a71d6 split_file_on_column.xml
--- a/split_file_on_column.xml Tue Dec 17 15:24:50 2013 -0500
+++ b/split_file_on_column.xml Wed Dec 18 10:57:09 2013 -0500
b
@@ -4,7 +4,7 @@
         <requirement type="package" version="4.1.0">gnu_awk</requirement>
     </requirements>
     <command>
-        awk '{print > "primary_${outfile.id}_" \$$column "_visible_${infile.ext}" }' $infile;
+        awk -F'\t' '{print > "primary_${outfile.id}_" \$$column "_visible_${infile.ext}" }' $infile;
         echo 'Created' `ls -l | wc -l` 'files:' > $outfile;
         ls -1 --hide="*_stdout" --hide="*_stderr" >> $outfile;
     </command>