Mercurial > repos > iuc > compress_file
view 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 |
line wrap: on
line source
<tool id="compress_file" name="Compress file(s)" version="0.1.0"> <requirements> <requirement type="package" version="1.11">gzip</requirement> </requirements> <command detect_errors="exit_code"><![CDATA[ gzip -cf ${input} > output_file.gz ]]></command> <inputs> <param name="input" type="data" format="data" label="Select data to compress"/> </inputs> <outputs> <data name="output_file" format="gz" from_work_dir="output_file.gz" label="GZIP compression on ${on_string}"/> </outputs> <tests> <!-- Single input --> <test expect_num_outputs="1"> <param name="input" value="1.csv"/> <output name="output_file" file="1.csv.gz" compare="sim_size"/> </test> <test expect_num_outputs="1"> <param name="input" value="1.csv"/> <output name="output_file" file="1.csv" decompress="true"/> </test> </tests> <help><![CDATA[ Compress files with gzip. If compressing a collection, all elements within that collection will be compressed, but the collection itself will not be. ]]></help> <citations/> </tool>