view enasearch_retrieve_taxons.xml @ 0:34d21959dc25 draft

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/enasearch/ commit 6eda25f5cccc0cf9be09c38a8b48d37aff56ed87
author iuc
date Tue, 29 Aug 2017 04:14:07 -0400
parents
children 8881ac3eebd7
line wrap: on
line source

<tool id="enasearch_retrieve_taxons" name="Retrieve ENA taxon data" version="@WRAPPER_VERSION@.0">
    <description></description>
    <macros>
        <import>macros.xml</import>
        <import>search_macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <expand macro="version"/>
    <command detect_errors="aggressive"><![CDATA[
enasearch
    retrieve_taxons
    @IDS@
    #if $result
        --result '$result'
    #end if
    @DISPLAY@
    $expanded
    $header
    --file '$output'
    --download 'txt'
    ]]></command>
    <inputs>
        <param argument="--ids" type="text" multiple="true" label="Ids for records to return"/>
        <param argument="--result" type="select" optional="true" label="Taxonomy result to return">
            <expand macro="taxonomy_results"/>
        </param>
        <expand macro="display_opt"/>
        <expand macro="expanded"/>
        <expand macro="header"/>
    </inputs>
    <outputs>
        <data name="output" format="tabular" label="${tool.name} on ${ids}">
            <expand macro="change_format"/>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="ids" value="6543"/>
            <param name="result" value="sequence_release"/>
            <conditional name="display_opt">
                <param name="display" value="fasta"/>
            </conditional>
            <output name="output" ftype="fasta" md5="e2fe353d00ffdec2f8b884903add458b"/>
        </test>
        <test>
            <param name="ids" value="Human,Cat,Mouse,Zebrafish"/>
            <conditional name="display_opt">
                <param name="display" value="xml"/>
            </conditional>
            <output name="output" ftype="xml" md5="0833f5ac248a3e7f382e4d53762fc71d"/>
        </test>
    </tests>
    <help><![CDATA[
**What it does**

This tool retrieve ENA taxon data
    ]]></help>
    <expand macro="citations"/>
</tool>