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