# HG changeset patch # User ylebras # Date 1543969785 18000 # Node ID aa5f65234ff481ff78fd5eba228e4043853f1a1f # Parent 0f3606757c24feca78f4da27ed0af68e65e4f901 Uploaded diff -r 0f3606757c24 -r aa5f65234ff4 xlsx2tab.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xlsx2tab.R Tue Dec 04 19:29:45 2018 -0500 @@ -0,0 +1,11 @@ +#!/usr/bin/env Rscript +#Read Xlsx sheets - return tabular +library(readxl) + +args = commandArgs(trailingOnly=TRUE) + +sheet<-read_excel(args[1],sheet=args[2]) +write.table(sheet,"out.tabular",sep="\t",row.names=FALSE) + +} +