Mercurial > repos > artbio > tarfast5
view tarfast5.xml @ 4:56b8caf469f3 draft
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/tarfast5 commit 249d82b663920626adc7d5300ffef43c065c1205"
author | artbio |
---|---|
date | Sat, 22 May 2021 12:35:41 +0000 |
parents | 75ae798e310b |
children | 03034755a509 |
line wrap: on
line source
<tool id="tarfast5" name="tarfast5" version="0.6.0"> <description></description> <requirements> <requirement type="package" version="2.6">pigz</requirement> <requirement type="package" version="1.34">tar</requirement> </requirements> <stdio> <exit_code range="1:" level="fatal" description="Tool exception" /> </stdio> <command detect_errors="exit_code"><![CDATA[ #for $file in $inputs: ln -s $file ${file.element_identifier}.fast5 && #end for #if $output_format == "gzip": export PIGZ="-p \${GALAXY_SLOTS:-4}" && tar -cvh --use-compress-program=pigz -f $output *.fast5 #else: tar -cvh -f $output *.fast5 #end if ]]></command> <inputs> <param name="inputs" type="data" format="h5,fast5.tar" label="fast5 sequence files" multiple="true" /> <param name="output_format" type="select" label="compression of the tar archive" display="radio"> <option value="tar">tar (no compression)</option> <option value="gzip" selected="true">tar.gz</option> </param> </inputs> <outputs> <data format="fast5.tar" name="output" label="Archive of fast5" > <change_format> <when input="output_format" value="gzip" format="fast5.tar.gz"/> </change_format> </data> </outputs> <tests> <test> <!-- tar --> <param name="inputs" value="F1.fast5.h5" ftype="h5" /> <param name="output_format" value="tar" /> <output file="archive.tar" name="output" compare="sim_size" delta="3000" /> </test> <test> <!-- tar.gz --> <param name="inputs" value="F1.fast5.h5,F2.fast5.h5" ftype="h5" /> <param name="output_format" value="gzip" /> <output file="archive.tar.gz" name="output" compare="sim_size" delta="3000" /> </test> </tests> <help> **What it does** Creates a tar.gz archive of fast5 (h5) sequences files .. class:: warningmark This tools follows a "map-reduce" procedure: multiple inputs, that can be arranged as a data collection, are compressed into a single tar.gz archive. **Output** A fast5.tar.gz archive </help> <citations> <citation type="doi">10.1093/bioinformatics/btp352</citation> <citation type="bibtex">@Book{, title = {Lattice: Multivariate Data Visualization with R}, author = {Deepayan Sarkar}, publisher = {Springer}, address = {New York}, year = {2008}, note = {ISBN 978-0-387-75968-5}, url = {http://lmdvr.r-forge.r-project.org}, }</citation> </citations> </tool>