Mercurial > repos > ylebras > xls2tabular
comparison xls2tab.xml @ 20:ac37b65a50da draft
Uploaded
| author | ylebras |
|---|---|
| date | Wed, 05 Dec 2018 16:03:57 -0500 |
| parents | |
| children | 5e5e26403322 |
comparison
equal
deleted
inserted
replaced
| 19:09ebc5a5cdc3 | 20:ac37b65a50da |
|---|---|
| 1 <tool id="xls2tab_R" name="XLS sheet to Tabular" version="0.1"> | |
| 2 <requirements> | |
| 3 <requirement type="package" version="3.2.1">R</requirement> | |
| 4 <requirement type="package" version="1.1.0">r-readxl</requirement> | |
| 5 </requirements> | |
| 6 <command detect_errors="exit_code"><![CDATA[ | |
| 7 Rscript '$__tool_directory__/xlsx2tab.R' '$input1' '$sheet' '$output' ]]> | |
| 8 </command> | |
| 9 <inputs> | |
| 10 <param format="excel.xls" name="input1" type="data" label="XLS file"/> | |
| 11 <param name="sheet" type="text" label="Excel sheet name" value="biodiv_data"> | |
| 12 <sanitizer sanitize="False"/> | |
| 13 </param> | |
| 14 | |
| 15 </inputs> | |
| 16 | |
| 17 <outputs> | |
| 18 <data format="tabular" name="output" from_work_dir="out.tabular" /> | |
| 19 </outputs> | |
| 20 | |
| 21 <tests> | |
| 22 <test> | |
| 23 <param name="input1" value="example_csv.csv"/> | |
| 24 <param name="sheet" value=","/> | |
| 25 <output name="output" file="out.tabular"/> | |
| 26 </test> | |
| 27 </tests> | |
| 28 | |
| 29 <help> | |
| 30 **What it does** | |
| 31 | |
| 32 Extract a sheet from XLS file to a tabular file. | |
| 33 | |
| 34 | |
| 35 ------ | |
| 36 | |
| 37 **Example** | |
| 38 | |
| 39 Input XLS with a sheet named 'données in situ' | |
| 40 | |
| 41 Output tabular | |
| 42 | |
| 43 | |
| 44 ------ | |
| 45 | |
| 46 **Arguments** | |
| 47 | |
| 48 Input: xls file. | |
| 49 Excel sheet name: données in situ | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 </help> | |
| 55 </tool> |
