comparison getHeaders.xml @ 1:05440ef97f8b draft default tip

"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/check_headers commit 14d780f8710fb0962a85c262d0689a9551f4f8e1"
author azomics
date Tue, 14 Jul 2020 09:46:31 -0400
parents
children
comparison
equal deleted inserted replaced
0:e88c99a4fb36 1:05440ef97f8b
1 <tool id="get_headers" name="Check headers" version="1.1+galaxy0" profile="18.01">
2 <description>of any set of flowtext files</description>
3 <requirements>
4 <requirement type="package" version="3.8.3">python</requirement>
5 </requirements>
6 <stdio>
7 <exit_code range="1:" />
8 </stdio>
9 <command><![CDATA[
10 python3 '$__tool_directory__/getHeaders.py' -o '${output_file}'
11 #for $f in $input
12 -i '${f}'
13 -n '${f.name}'
14 #end for
15 ]]>
16 </command>
17 <inputs>
18 <param format="flowtext,tabular,txt" name="input" type="data_collection" collection_type="list" label="Text files Collection"/>
19 </inputs>
20 <outputs>
21 <data format="tabular" name="output_file" label="Headers of files in ${input.name}"/>
22 </outputs>
23 <tests>
24 <test>
25 <param name="input">
26 <collection type="list">
27 <element name="input1.txt" value="input1.txt"/>
28 <element name="input2.txt" value="input2.txt"/>
29 <element name="input3.txt" value="input3.txt"/>
30 </collection>
31 </param>
32 <output name="output_file" file="output.tabular" lines_diff="4"/>
33 </test>
34 </tests>
35 <help><![CDATA[
36 This tool returns a table of the headers of a set of text files.
37
38 -----
39
40 **Input files**
41
42 This tool requires collections of txt, flowtext or tabular files as input.
43
44 **Output file**
45
46 The output file is a table listing the headers for each file.
47
48 -----
49
50 **Example**
51
52 *File1*::
53
54 Marker1 Marker2 Marker3
55 34 45 12
56 33 65 10
57
58 *File2*::
59
60 Marker4 Marker5 Marker3
61 19 62 98
62 12 36 58
63
64 *Output*::
65
66 Index 1 2 3
67 File1 Marker1 Marker2 Marker3
68 File2 Marker4 Marker5 Marker3
69 ]]>
70 </help>
71 </tool>