view collection_element_identifiers.xml @ 0:220ee3518f19 draft

planemo upload for repository commit 3e691a225d82f9f79bba80902f385a6b4557ab45
author iuc
date Fri, 15 Jun 2018 04:55:24 -0400
children d3c07d270a50
line wrap: on
line source

<tool id="collection_element_identifiers" name="Extract element identifiers" version="0.0.1">
    <description>of a list collection</description>
    <command detect_errors="exit_code"><![CDATA[
mv '$cf' '$output'
        <configfile name="cf">#for $el in $input_collection:
#end for</configfile>
        <param name="input_collection" type="data_collection" collection_type="list" label="Dataset collection"/>
        <data name="output" format="txt" />
            <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" />
            <output name="output" file="output.txt" />
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.