annotate editheader.xml @ 6:b95b42b785cb draft

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