Mercurial > repos > iuc > collection_element_identifiers
comparison collection_element_identifiers.xml @ 1:d3c07d270a50 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/collection_element_identifiers commit 499e43875e82f64ed046fb85ee6f8ae7e5f3673f
author | iuc |
---|---|
date | Mon, 01 Apr 2019 12:06:57 -0400 |
parents | 220ee3518f19 |
children |
comparison
equal
deleted
inserted
replaced
0:220ee3518f19 | 1:d3c07d270a50 |
---|---|
1 <tool id="collection_element_identifiers" name="Extract element identifiers" version="0.0.1"> | 1 <tool id="collection_element_identifiers" name="Extract element identifiers" version="0.0.2"> |
2 <description>of a list collection</description> | 2 <description>of a list collection</description> |
3 <requirements> | 3 <requirements> |
4 </requirements> | 4 </requirements> |
5 <command detect_errors="exit_code"><![CDATA[ | 5 <command detect_errors="exit_code"><![CDATA[ |
6 mv '$cf' '$output' | 6 mv '$cf' '$output' |
10 <configfile name="cf">#for $el in $input_collection: | 10 <configfile name="cf">#for $el in $input_collection: |
11 ${el.element_identifier} | 11 ${el.element_identifier} |
12 #end for</configfile> | 12 #end for</configfile> |
13 </configfiles> | 13 </configfiles> |
14 <inputs> | 14 <inputs> |
15 <param name="input_collection" type="data_collection" collection_type="list" label="Dataset collection"/> | 15 <param name="input_collection" type="data_collection" collection_type="list,list:paired" label="Dataset collection"/> |
16 </inputs> | 16 </inputs> |
17 <outputs> | 17 <outputs> |
18 <data name="output" format="txt" /> | 18 <data name="output" format="txt" /> |
19 </outputs> | 19 </outputs> |
20 <tests> | 20 <tests> |
24 <element name="e1" value="simple_line.txt" /> | 24 <element name="e1" value="simple_line.txt" /> |
25 <element name="e2" value="simple_line.txt" /> | 25 <element name="e2" value="simple_line.txt" /> |
26 <element name="e3" value="simple_line.txt" /> | 26 <element name="e3" value="simple_line.txt" /> |
27 </collection> | 27 </collection> |
28 </param> | 28 </param> |
29 <output name="output" file="output.txt" /> | 29 <output name="output" file="output_1.txt" /> |
30 </test> | |
31 <test> | |
32 <param name="input_collection"> | |
33 <collection type="list:paired"> | |
34 <element name="pair1"> | |
35 <collection type="paired"> | |
36 <element name="forward" value="simple_line.txt" /> | |
37 <element name="reverse" value="simple_line.txt" /> | |
38 </collection> | |
39 </element> | |
40 <element name="pair2"> | |
41 <collection type="paired"> | |
42 <element name="forward" value="simple_line.txt" /> | |
43 <element name="reverse" value="simple_line.txt" /> | |
44 </collection> | |
45 </element> | |
46 </collection> | |
47 </param> | |
48 <output name="output" file="output_2.txt"/> | |
30 </test> | 49 </test> |
31 </tests> | 50 </tests> |
32 <help><![CDATA[ | 51 <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. | 52 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> | 53 ]]></help> |