annotate tools/filters/tailWrapper.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="Show tail1" name="Select last">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>lines from a dataset</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="perl">tailWrapper.pl $input $lineNum $out_file1</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="lineNum" size="5" type="integer" value="10" label="Select last" help="lines"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <param format="txt" name="input" type="data" label="from"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <data format="input" name="out_file1" metadata_source="input"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <param name="lineNum" value="10"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <param name="input" value="1.bed"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <output name="out_file1" file="eq-showtail.dat"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 This tool outputs specified number of lines from the **end** of a dataset
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 - Input File::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 chr7 57134 57154 D17003_CTCF_R7 356 -
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 chr7 57247 57267 D17003_CTCF_R4 207 +
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 chr7 57314 57334 D17003_CTCF_R5 269 +
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 chr7 57341 57361 D17003_CTCF_R7 375 +
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 chr7 57457 57477 D17003_CTCF_R3 188 +
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 - Show last two lines of above file. The result is::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 chr7 57341 57361 D17003_CTCF_R7 375 +
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 chr7 57457 57477 D17003_CTCF_R3 188 +
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 </tool>