diff editheader.xml @ 6:b95b42b785cb draft

Uploaded
author sem4j
date Mon, 30 Sep 2013 04:08:35 -0400
parents d316d1155e08
children
line wrap: on
line diff
--- a/editheader.xml	Wed Sep 25 02:45:30 2013 -0400
+++ b/editheader.xml	Mon Sep 30 04:08:35 2013 -0400
@@ -1,19 +1,33 @@
 <tool id="editheader" name="Edit Header" version="0.2">
   <description></description>
     <command interpreter="sh">
-      editheader.sh "$header" $input_file $output_file $delete_flg
+      editheader.sh "$header" $input_file $output_file $replace
     </command>
   <inputs>
     <param name="input_file" type="data" format="tabular" label="File (tabular)"/>
-    <param name="header" type="text" size='120' value="" label="insert header"> 
+    <param name="header" type="text" size='120' value="" label="Header line (tab-delimited)"> 
       <sanitizer sanitize="False"/>
     </param>
-    <param name="delete_flg" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Check to replace the first row of the original file." />
+    <param name="replace" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Replace the first line" />
  </inputs>
   <outputs>
     <data name="output_file" type="data" format="tabular" label="${tool.name} on ${on_string}"/>
   </outputs>
   <help>
-**What it does**
+
+**Header line**
+
+Use '\\t' to input tab. Example:
+
+    col1\\tcol2\\tcol3
+
+Or, copy and paste tab-delimited text (from Excel, etc.)
+
+	col1	col2	col3
+
+**Replace the first line**
+
+Check to replace the first line of the original file (= typically, the old header line) with the new header line.
+
   </help>
 </tool>