view enasearch_retrieve_analysis_report.xml @ 1:a5f787bfe69e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/enasearch commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
author iuc
date Thu, 09 Nov 2017 13:07:49 -0500
parents 186565dfa9e5
children 1e25f66e4acc
line wrap: on
line source

<tool id="enasearch_retrieve_analysis_report" name="Retrieve an analysis report" 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_analysis_report
    --accession '$accession'
    @FIELDS@
    --file '$output'
    ]]></command>
    <inputs>
        <expand macro="accession"/>
        <param argument="--fields" type="select" optional="true" multiple="true" label="Fields to return">
            <expand macro="analysis_fields"/>
        </param>
    </inputs>
    <outputs>
        <data name="output" format="tabular" label="${tool.name} on ${accession}"/>
    </outputs>
    <tests>
        <test>
            <param name="accession" value="ERZ009929"/>
            <output name="output" file="retrieve_analysis_report_output1.tabular"/>
        </test>
        <test>
            <param name="accession" value="ERZ009929"/>
            <param name="fields" value="analysis_accession"/>
            <output name="output" md5="7249f93fac05d1e6746a076e1ae445b5"/>
        </test>
        <test>
            <param name="accession" value="ERZ009929"/>
            <param name="fields" value="analysis_accession,sample_accession,scientific_name"/>
            <output name="output" md5="af4ba9b125b27525979ab6ea6a2b3637"/>
        </test>
    </tests>
    <help><![CDATA[
**What it does**

This tool retrieve an analysis report for an accession id
    ]]></help>
    <expand macro="citations"/>
</tool>