view enasearch_retrieve_analysis_report.xml @ 2:1e25f66e4acc draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/enasearch commit a0adc28145cce02ecaed3a90156ed54c4385d1a0"
author iuc
date Tue, 21 Jan 2020 19:04:54 -0500
parents a5f787bfe69e
children
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">
                <assert_contents>
                    <has_n_lines n="2"/>
                    <has_text text="ERZ009929"/>
                    <has_text text="Solanum lycopersicum"/>
                    <has_text text="256c09cc87e998c73a6b31ab34b562a4"/>
                </assert_contents>
            </output>
        </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>