Repository 'tabular_to_csv'
hg clone https://toolshed.g2.bx.psu.edu/repos/mnhn65mo/tabular_to_csv

Changeset 1:f1b7d0032530 (2018-09-11)
Previous changeset 0:659820e2aa61 (2018-08-08)
Commit message:
Uploaded
modified:
tab2csv.R
b
diff -r 659820e2aa61 -r f1b7d0032530 tab2csv.R
--- a/tab2csv.R Wed Aug 08 06:23:04 2018 -0400
+++ b/tab2csv.R Tue Sep 11 10:37:13 2018 -0400
[
@@ -6,7 +6,7 @@
 
 if(args[3]=="TRUE"){
     tabular<-read.table(args[1],sep="\t",header=TRUE)
-    write.tale(tabular,"out.csv",sep=args[2],row.names=FALSE)
+    write.table(tabular,"out.csv",sep=args[2],row.names=FALSE)
 }else{
     tabular<-read.table(args[1],sep="\t",header=FALSE)
     write.table(tabular,"out.csv",sep=args[2],col.names=FALSE,row.names=FALSE)