comparison compress_file.xml @ 0:09ea79f9f260 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/compress_file commit f987c41d41d5df8021f6a8d52012d1bee374d6a7"
author iuc
date Fri, 04 Feb 2022 21:22:36 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:09ea79f9f260
1 <tool id="compress_file" name="Compress file(s)" version="0.1.0">
2 <requirements>
3 <requirement type="package" version="1.11">gzip</requirement>
4 </requirements>
5 <command detect_errors="exit_code"><![CDATA[
6 gzip -cf ${input} > output_file.gz
7 ]]></command>
8 <inputs>
9 <param name="input" type="data" format="data" label="Select data to compress"/>
10 </inputs>
11 <outputs>
12 <data name="output_file" format="gz" from_work_dir="output_file.gz" label="GZIP compression on ${on_string}"/>
13 </outputs>
14 <tests>
15 <!-- Single input -->
16 <test expect_num_outputs="1">
17 <param name="input" value="1.csv"/>
18 <output name="output_file" file="1.csv.gz" compare="sim_size"/>
19 </test>
20 <test expect_num_outputs="1">
21 <param name="input" value="1.csv"/>
22 <output name="output_file" file="1.csv" decompress="true"/>
23 </test>
24 </tests>
25 <help><![CDATA[
26 Compress files with gzip. If compressing a collection, all elements within that collection will be compressed, but the collection itself will not be.
27 ]]></help>
28 <citations/>
29 </tool>