Repository 'collection_element_identifiers'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/collection_element_identifiers

Changeset 0:220ee3518f19 (2018-06-15)
Next changeset 1:d3c07d270a50 (2019-04-01)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/collection_element_identifiers commit 3e691a225d82f9f79bba80902f385a6b4557ab45
added:
collection_element_identifiers.xml
test-data/output.txt
test-data/simple_line.txt
b
diff -r 000000000000 -r 220ee3518f19 collection_element_identifiers.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/collection_element_identifiers.xml Fri Jun 15 04:55:24 2018 -0400
[
@@ -0,0 +1,37 @@
+<tool id="collection_element_identifiers" name="Extract element identifiers" version="0.0.1">
+    <description>of a list collection</description>
+    <requirements>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+mv '$cf' '$output'
+    ]]>
+    </command>
+    <configfiles>
+        <configfile name="cf">#for $el in $input_collection:
+${el.element_identifier}
+#end for</configfile>
+    </configfiles>
+    <inputs>
+        <param name="input_collection" type="data_collection" collection_type="list" label="Dataset collection"/>
+    </inputs>
+    <outputs>
+        <data name="output" format="txt" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="input_collection">
+                <collection type="list">
+                    <element name="e1" value="simple_line.txt" />
+                    <element name="e2" value="simple_line.txt" />
+                    <element name="e3" value="simple_line.txt" />
+                </collection>
+            </param>
+            <output name="output" file="output.txt" />
+        </test>
+    </tests>
+    <help><![CDATA[
+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.
+    ]]></help>
+    <citations>
+    </citations>
+</tool>
b
diff -r 000000000000 -r 220ee3518f19 test-data/output.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output.txt Fri Jun 15 04:55:24 2018 -0400
b
@@ -0,0 +1,3 @@
+e1
+e2
+e3
b
diff -r 000000000000 -r 220ee3518f19 test-data/simple_line.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/simple_line.txt Fri Jun 15 04:55:24 2018 -0400
b
@@ -0,0 +1,1 @@
+This is a line of text.