0
|
1 <tool id="header_remove" name="Strip Header" version="1">
|
|
2
|
|
3 <description> remove header from a file </description>
|
|
4
|
|
5 <command interpreter="bash">
|
|
6 strip_header.sh
|
|
7 $infile
|
|
8 $outputfile
|
|
9 $header
|
|
10 "$commentchar"
|
|
11 </command>
|
|
12
|
|
13 <outputs>
|
|
14 <data format="tabular" name="outputfile" label="${sample} - Header Stripped on ${on_string}"/>
|
|
15 <data format="tabular" name="header" label="${sample} - Stripped Header on ${on_string}"/>
|
|
16 </outputs>
|
|
17
|
|
18 <inputs>
|
|
19
|
|
20 <param name="infile" type="data" label="Select file to extract columns from" />
|
|
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)">
|
|
22 <sanitizer sanitize="False"/>
|
|
23 </param>
|
|
24 <param name="sample" type="text" value="" label="Sample Name" help="Optional. For file naming purposes only"/>
|
|
25
|
|
26 </inputs>
|
|
27
|
|
28 <help>
|
|
29
|
|
30
|
|
31 **What it does**
|
|
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.
|
|
33
|
|
34 </help>
|
|
35 </tool>
|