Repository 'xls2tabular'
hg clone https://toolshed.g2.bx.psu.edu/repos/ylebras/xls2tabular

Changeset 18:cba112c87a55 (2018-12-05)
Previous changeset 17:cb2493afd265 (2018-12-05) Next changeset 19:09ebc5a5cdc3 (2018-12-05)
Commit message:
Deleted selected files
removed:
xlsx2tab.R
xlsx2tab.xml
b
diff -r cb2493afd265 -r cba112c87a55 xlsx2tab.R
--- a/xlsx2tab.R Wed Dec 05 16:02:11 2018 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
[
@@ -1,8 +0,0 @@
-#!/usr/bin/env Rscript
-#Read xls 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)
\ No newline at end of file
b
diff -r cb2493afd265 -r cba112c87a55 xlsx2tab.xml
--- a/xlsx2tab.xml Wed Dec 05 16:02:11 2018 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
[
@@ -1,55 +0,0 @@
-<tool id="xls2tab_R" name="XLS sheet to Tabular" version="0.1">
-    <requirements>
-        <requirement type="package" version="3.2.1">R</requirement>
- <requirement type="package" version="1.1.0">r-readxl</requirement>
-    </requirements>
-    <command detect_errors="exit_code"><![CDATA[
-        Rscript '$__tool_directory__/xlsx2tab.R' '$input1' '$sheet' '$output' ]]>
-    </command>
-    <inputs>
-        <param format="excel.xls" name="input1" type="data" label="XLS file"/>
-        <param name="sheet" type="text" label="Excel sheet name" value="biodiv_data">
-            <sanitizer sanitize="False"/>
-        </param>
-
-    </inputs>
-
-    <outputs>
-        <data format="tabular" name="output" from_work_dir="out.tabular" />
-    </outputs>
-    
-    <tests>
-        <test>
-            <param name="input1" value="example_csv.csv"/>
-            <param name="sheet" value=","/>
-            <output name="output" file="out.tabular"/>
-        </test>
-    </tests>
-
-    <help>
-**What it does**
-
-Extract a sheet from XLS file to a tabular file.
-
-
-------
-
-**Example**
-
-Input XLS with a sheet named 'donnĂ©es in situ'
-
-Output tabular
-
-
-------
-
-**Arguments**
-
-Input: xls file.
-Excel sheet name: donnĂ©es in situ
-
-
-
-
-    </help>
-</tool>