Mercurial > repos > iuc > collection_element_identifiers
comparison collection_element_identifiers.xml @ 0:220ee3518f19 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/collection_element_identifiers commit 3e691a225d82f9f79bba80902f385a6b4557ab45
author | iuc |
---|---|
date | Fri, 15 Jun 2018 04:55:24 -0400 |
parents | |
children | d3c07d270a50 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:220ee3518f19 |
---|---|
1 <tool id="collection_element_identifiers" name="Extract element identifiers" version="0.0.1"> | |
2 <description>of a list collection</description> | |
3 <requirements> | |
4 </requirements> | |
5 <command detect_errors="exit_code"><![CDATA[ | |
6 mv '$cf' '$output' | |
7 ]]> | |
8 </command> | |
9 <configfiles> | |
10 <configfile name="cf">#for $el in $input_collection: | |
11 ${el.element_identifier} | |
12 #end for</configfile> | |
13 </configfiles> | |
14 <inputs> | |
15 <param name="input_collection" type="data_collection" collection_type="list" label="Dataset collection"/> | |
16 </inputs> | |
17 <outputs> | |
18 <data name="output" format="txt" /> | |
19 </outputs> | |
20 <tests> | |
21 <test> | |
22 <param name="input_collection"> | |
23 <collection type="list"> | |
24 <element name="e1" value="simple_line.txt" /> | |
25 <element name="e2" value="simple_line.txt" /> | |
26 <element name="e3" value="simple_line.txt" /> | |
27 </collection> | |
28 </param> | |
29 <output name="output" file="output.txt" /> | |
30 </test> | |
31 </tests> | |
32 <help><![CDATA[ | |
33 This tool takes a list-type collection and produces a text dataset as output, containing the element identifiers of all datasets contained in the collection. | |
34 ]]></help> | |
35 <citations> | |
36 </citations> | |
37 </tool> |