view 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
line wrap: on
line source

<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>