comparison zipcollection.xml @ 1:278da6e5ab11 draft default tip

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