0
|
1 <tool id="unitools_tail_tool" name="Select last" version="0.1.1">
|
|
2 <description>lines from a dataset (tail)</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="8.21">gnu_coreutils</requirement>
|
|
5 </requirements>
|
|
6 <command>
|
|
7 tail --lines $count '$input1' > '$output'
|
|
8 </command>
|
|
9
|
|
10 <inputs>
|
|
11 <param format="txt" name="input1" type="data" label="file to cut" />
|
|
12 <param name="count" type="integer" size="5" value="10" label="Output last X lines" help="" />
|
|
13 </inputs>
|
|
14
|
|
15 <outputs>
|
|
16 <data format="input" name="output" metadata_source="input1"/>
|
|
17 </outputs>
|
|
18 <help>
|
|
19
|
|
20 **What it does**
|
|
21
|
|
22 This tool runs the **tail** unix command, which discards lines from the beginning of a file.
|
|
23
|
|
24 </help>
|
|
25 </tool>
|