Mercurial > repos > devteam > show_tail
annotate tailWrapper.xml @ 3:ae45155543e1 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/show_tail commit a1517c9d22029095120643bbe2c8fa53754dd2b7
author | devteam |
---|---|
date | Wed, 11 Nov 2015 12:27:48 -0500 |
parents | 3354a96a6cd8 |
children |
rev | line source |
---|---|
2
3354a96a6cd8
planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
1
diff
changeset
|
1 <tool id="Show tail1" name="Select last" version="1.0.0"> |
0 | 2 <description>lines from a dataset</description> |
1
e1c9fd6651f8
Added quotes and brackets to appropriate command arguments
greg <greg@bx.psu.edu>
parents:
0
diff
changeset
|
3 <command interpreter="perl">tailWrapper.pl "${input}" "${lineNum}" "${out_file1}"</command> |
0 | 4 <inputs> |
3
ae45155543e1
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/show_tail commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
2
diff
changeset
|
5 <param name="lineNum" type="integer" value="10" label="Select last" help="lines"/> |
0 | 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="lineNum" value="10"/> | |
14 <param name="input" value="1.bed"/> | |
15 <output name="out_file1" file="eq-showtail.dat"/> | |
16 </test> | |
17 </tests> | |
18 <help> | |
19 | |
20 **What it does** | |
21 | |
22 This tool outputs specified number of lines from the **end** of a dataset | |
23 | |
24 ----- | |
25 | |
26 **Example** | |
27 | |
28 - Input File:: | |
29 | |
30 chr7 57134 57154 D17003_CTCF_R7 356 - | |
31 chr7 57247 57267 D17003_CTCF_R4 207 + | |
32 chr7 57314 57334 D17003_CTCF_R5 269 + | |
33 chr7 57341 57361 D17003_CTCF_R7 375 + | |
34 chr7 57457 57477 D17003_CTCF_R3 188 + | |
35 | |
36 - Show last two lines of above file. The result is:: | |
37 | |
38 chr7 57341 57361 D17003_CTCF_R7 375 + | |
39 chr7 57457 57477 D17003_CTCF_R3 188 + | |
40 | |
41 </help> | |
42 </tool> |