annotate strip_header.xml @ 0:e77c9484b2d0 draft default tip

Uploaded
author saskia-hiltemann
date Thu, 22 Oct 2015 09:18:30 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
1 <tool id="header_remove" name="Strip Header" version="1">
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
2
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
3 <description> remove header from a file </description>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
4
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
5 <command interpreter="bash">
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
6 strip_header.sh
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
7 $infile
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
8 $outputfile
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
9 $header
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
10 "$commentchar"
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
11 </command>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
12
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
13 <outputs>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
14 <data format="tabular" name="outputfile" label="${sample} - Header Stripped on ${on_string}"/>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
15 <data format="tabular" name="header" label="${sample} - Stripped Header on ${on_string}"/>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
16 </outputs>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
17
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
18 <inputs>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
19
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
20 <param name="infile" type="data" label="Select file to extract columns from" />
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
21 <param name="commentchar" type="text" value="#" label="Comment character" help="Any lines starting with this character will be removed (as well as any empty lines)">
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
22 <sanitizer sanitize="False"/>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
23 </param>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
24 <param name="sample" type="text" value="" label="Sample Name" help="Optional. For file naming purposes only"/>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
25
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
26 </inputs>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
27
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
28 <help>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
29
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
30
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
31 **What it does**
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
32 Removes header from a file. Any lines starting with the comment character specified by user, as well as any empty lines will be removed.
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
33
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
34 </help>
e77c9484b2d0 Uploaded
saskia-hiltemann
parents:
diff changeset
35 </tool>