comparison editheader.xml @ 6:b95b42b785cb draft

Uploaded
author sem4j
date Mon, 30 Sep 2013 04:08:35 -0400
parents d316d1155e08
children
comparison
equal deleted inserted replaced
5:d316d1155e08 6:b95b42b785cb
1 <tool id="editheader" name="Edit Header" version="0.2"> 1 <tool id="editheader" name="Edit Header" version="0.2">
2 <description></description> 2 <description></description>
3 <command interpreter="sh"> 3 <command interpreter="sh">
4 editheader.sh "$header" $input_file $output_file $delete_flg 4 editheader.sh "$header" $input_file $output_file $replace
5 </command> 5 </command>
6 <inputs> 6 <inputs>
7 <param name="input_file" type="data" format="tabular" label="File (tabular)"/> 7 <param name="input_file" type="data" format="tabular" label="File (tabular)"/>
8 <param name="header" type="text" size='120' value="" label="insert header"> 8 <param name="header" type="text" size='120' value="" label="Header line (tab-delimited)">
9 <sanitizer sanitize="False"/> 9 <sanitizer sanitize="False"/>
10 </param> 10 </param>
11 <param name="delete_flg" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Check to replace the first row of the original file." /> 11 <param name="replace" type="boolean" truevalue="1" falsevalue="0" checked="False" label="Replace the first line" />
12 </inputs> 12 </inputs>
13 <outputs> 13 <outputs>
14 <data name="output_file" type="data" format="tabular" label="${tool.name} on ${on_string}"/> 14 <data name="output_file" type="data" format="tabular" label="${tool.name} on ${on_string}"/>
15 </outputs> 15 </outputs>
16 <help> 16 <help>
17 **What it does** 17
18 **Header line**
19
20 Use '\\t' to input tab. Example:
21
22 col1\\tcol2\\tcol3
23
24 Or, copy and paste tab-delimited text (from Excel, etc.)
25
26 col1 col2 col3
27
28 **Replace the first line**
29
30 Check to replace the first line of the original file (= typically, the old header line) with the new header line.
31
18 </help> 32 </help>
19 </tool> 33 </tool>