Mercurial > repos > stevecassidy > ziptools
comparison zipcollection.xml @ 0:fe887de9b4b5 draft
planemo upload for repository https://github.com/Alveo/alveo-galaxy-tools commit b5b26e9118f2ad8af109d606746b39a5588f0511-dirty
| author | stevecassidy |
|---|---|
| date | Thu, 16 Nov 2017 06:19:53 -0500 |
| parents | |
| children | 278da6e5ab11 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:fe887de9b4b5 |
|---|---|
| 1 <tool id="zipcollection" name="Create a Zip file" version="0.01"> | |
| 2 <description>from one or more datasets</description> | |
| 3 | |
| 4 <command interpreter="python"> | |
| 5 zipcollection.py --dataset "${",".join(map(str, $dataset))}" --identifier "${",".join(map(str, [t.element_identifier + "." + t.extension for t in $dataset]))}" --output $output | |
| 6 </command> | |
| 7 | |
| 8 <inputs> | |
| 9 <param name="dataset" format="data" type="data" | |
| 10 multiple="true" label="DataSets" help="Datasets to include in zip"/> | |
| 11 <param name="job_name" type="text" size="25" | |
| 12 label="Name of output zip file" value="dataset"/> | |
| 13 </inputs> | |
| 14 | |
| 15 <outputs> | |
| 16 <data format="zip" name="output" label="$job_name" /> | |
| 17 </outputs> | |
| 18 | |
| 19 <tests> | |
| 20 <!-- can't compare zip file as it changes based on time the test is run | |
| 21 <test> | |
| 22 <param name="dataset" value="textgrids/1_1308_2_22_020-ch6-speaker16.TextGrid_TextGrid"/> | |
| 23 <param name="job_name" value="test.zip"/> | |
| 24 <output name="output" ftype="zip"/> | |
| 25 </test> | |
| 26 --> | |
| 27 </tests> | |
| 28 | |
| 29 <help>Creates a zip file from a dataset or dataset collection</help> | |
| 30 | |
| 31 </tool> |
