Mercurial > repos > dfornika > mob_suite
changeset 17:0dc3dc9226e4 draft
planemo upload for repository https://github.com/phac-nml/mob-suite commit 4046a822176aafd34a2ae8dc24ad6d0337fafbe6-dirty
author | dfornika |
---|---|
date | Tue, 25 Jun 2019 15:19:25 -0400 |
parents | 9325ba7f31f4 |
children | dce4f8d7b19f |
files | compress_plasmids.xml |
diffstat | 1 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compress_plasmids.xml Tue Jun 25 15:19:25 2019 -0400 @@ -0,0 +1,26 @@ +<tool id="compress_plasmids" name="Compress Plasmids" version="1.4.9.1"> + <description>Compress plasmid contigs</description> + <requirements> + </requirements> + <command detect_errors="exit_code"> + <![CDATA[ + #for $input in $inputs + cp '${input}' '${input.element_identifier}.fasta' && + #end for + mkdir 'plasmids' && mv plasmid_* 'plasmids' && + tar -cvzf plasmids.tar.gz plasmids + ]]> + </command> + <inputs> + <param name="inputs" type="data_collection" format="fasta" multiple="true" label="Input" help="FASTA files with contig(s)"/> + </inputs> + <outputs> + <data name="output" format="tar" from_work_dir="plasmids.tar.gz" label="Plasmid contigs (compressed)"/> + </outputs> + <tests> + </tests> + <help> + </help> + <citations> + </citations> +</tool>