Mercurial > repos > devteam > remove_beginning
annotate remove_beginning.xml @ 1:bb66956af1eb
Added quotes and brackets to appropriate command arguments
author | greg <greg@bx.psu.edu> |
---|---|
date | Mon, 01 Apr 2013 14:32:35 -0400 |
parents | d9b82504a321 |
children | cb8b79d32fa2 |
rev | line source |
---|---|
0 | 1 <tool id="Remove beginning1" name="Remove beginning"> |
2 <description>of a file</description> | |
1
bb66956af1eb
Added quotes and brackets to appropriate command arguments
greg <greg@bx.psu.edu>
parents:
0
diff
changeset
|
3 <command interpreter="perl">remove_beginning.pl "${input}" "${num_lines}" "${out_file1}"</command> |
0 | 4 <inputs> |
5 <param name="num_lines" size="5" type="integer" value="1" label="Remove first" help="lines"/> | |
6 <param format="txt" name="input" type="data" label="from"/> | |
7 </inputs> | |
8 <outputs> | |
9 <data format="input" name="out_file1" metadata_source="input"/> | |
10 </outputs> | |
11 <tests> | |
12 <test> | |
13 <param name="num_lines" value="5"/> | |
14 <param name="input" value="1.bed"/> | |
15 <output name="out_file1" file="eq-removebeginning.dat"/> | |
16 </test> | |
17 </tests> | |
18 <help> | |
19 | |
20 **What it does** | |
21 | |
22 This tool removes a specified number of lines from the beginning of a dataset. | |
23 | |
24 ----- | |
25 | |
26 **Example** | |
27 | |
28 Input File:: | |
29 | |
30 chr7 56632 56652 D17003_CTCF_R6 310 + | |
31 chr7 56736 56756 D17003_CTCF_R7 354 + | |
32 chr7 56761 56781 D17003_CTCF_R4 220 + | |
33 chr7 56772 56792 D17003_CTCF_R7 372 + | |
34 chr7 56775 56795 D17003_CTCF_R4 207 + | |
35 | |
36 After removing the first 3 lines the dataset will look like this:: | |
37 | |
38 chr7 56772 56792 D17003_CTCF_R7 372 + | |
39 chr7 56775 56795 D17003_CTCF_R4 207 + | |
40 | |
41 </help> | |
42 </tool> |