Mercurial > repos > immport-devteam > check_headers
view 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 |
line wrap: on
line source
<tool id="get_headers" name="Check headers" version="1.1+galaxy0" profile="18.01"> <description>of any set of flowtext files</description> <requirements> <requirement type="package" version="3.8.3">python</requirement> </requirements> <stdio> <exit_code range="1:" /> </stdio> <command><![CDATA[ python3 '$__tool_directory__/getHeaders.py' -o '${output_file}' #for $f in $input -i '${f}' -n '${f.name}' #end for ]]> </command> <inputs> <param format="flowtext,tabular,txt" name="input" type="data_collection" collection_type="list" label="Text files Collection"/> </inputs> <outputs> <data format="tabular" name="output_file" label="Headers of files in ${input.name}"/> </outputs> <tests> <test> <param name="input"> <collection type="list"> <element name="input1.txt" value="input1.txt"/> <element name="input2.txt" value="input2.txt"/> <element name="input3.txt" value="input3.txt"/> </collection> </param> <output name="output_file" file="output.tabular" lines_diff="4"/> </test> </tests> <help><![CDATA[ This tool returns a table of the headers of a set of text files. ----- **Input files** This tool requires collections of txt, flowtext or tabular files as input. **Output file** The output file is a table listing the headers for each file. ----- **Example** *File1*:: Marker1 Marker2 Marker3 34 45 12 33 65 10 *File2*:: Marker4 Marker5 Marker3 19 62 98 12 36 58 *Output*:: Index 1 2 3 File1 Marker1 Marker2 Marker3 File2 Marker4 Marker5 Marker3 ]]> </help> </tool>