changeset 0:45f9b77eda87 draft

Uploaded XML
author pstew
date Fri, 17 Feb 2017 16:36:38 -0500
children 7726adcf91c6
files escape_excel.xml
diffstat 1 files changed, 33 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/escape_excel.xml	Fri Feb 17 16:36:38 2017 -0500
@@ -0,0 +1,33 @@
+<tool id="escape_excel" name="Escape Excel" version="0.1.0">
+  <description>Protect files from auto-conversion in Excel</description>
+  <command interpreter="python">
+ $paranoid $escape_dates $escape_scinot $escape_leadzero $input $output
+  </command>
+  <inputs>
+    <param name="input" format="txt" type="data" label="Source file"/>
+    <param name="paranoid" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Enable Paranoid Mode" />
+    <param name="escape_dates" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Disable escaping of dates" />
+    <param name="escape_scinot" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Disable escaping of scientific notation" />
+    <param name="escape_leadzero" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Disable escaping of leading zeros" />
+  </inputs>
+  <outputs>
+    <data format="tabular" name="output" />
+  </outputs>
+  <help>
+**Enable Paranoid Mode**: Escape all non-numeric text. This option is not recommended as Excel can take a long time to import text files where most fields are escaped.
+**Disable escaping of dates**: Do not escape text that looks like dates.
+**Disable escaping of scientific notation**: Do not escape integers represented by scientific notation with >=2 integer digits before the exponent.  Do not escape numbers with >11 integer digits.
+**Disable escaping of leading zeroes**: Do not escape leading zeroes (ie. 012345).
+Please note the input file must be tab-delimited. Fields will be stripped of existing ="" escapes, enclosing "", leading ", and leading/trailing spaces, as they may all cause problems.
+Defaults to escaping most Excel mis-imported fields. Escapes a few extra date-like formats that Excel does not consider dates. Please send unhandled mis-imported field examples (other than gene symbols with 1-digit scientific notation, such as 2e4) to
+Copy / Paste Values in Excel, after importing, to de-escape back into text.
+  </help>