view alveo_api_key.xml @ 8:4d84952bdcb8 draft

planemo upload commit 0203cb3a0b40d9348674b2b098af805e2986abca-dirty
author stevecassidy
date Wed, 12 Oct 2016 22:08:02 -0400
parents 5a8d9ddabec4
children 2f4907372748
line wrap: on
line source

<tool id="alveo_api_key_storer" name="Store Alveo API Key" version="0.01" force_history_refresh="True">
    <description>for use with Alveo tools</description>

    <requirements>
        <requirement type="package" version="0.7">pyalveo</requirement>
    </requirements>

    <command interpreter="python">
        alveo_api_key.py --api_key "$api_key" --output_path $output
    </command>

    <inputs>
        <param name="api_key" type="text" size="30" label="API Key" help="Your Alveo API key"/>
    </inputs>

    <outputs>
        <data format="txt" name="output" label="Alveo API key" />
    </outputs>

    <tests>
        <test>
            <!-- expect this to fail unless you enter a valid API key here and copy it to
                 the result file -->
            <param name="api_key" value="your api key here" />
            <output name="output" file="api-key.dat" compare="contains" />
        </test>
    </tests>

    <help>Stores Alveo API keys for use with the Alveo Galaxy tools.</help>

    <citations>
        <citation type='bibtex'>
            @article{cassidy2014alveo,
              title={The alveo virtual laboratory: a web based repository API},
              author={Cassidy, Steve and Estival, Dominique and Jones, Tim and Sefton, Peter and Burnham, Denis and Burghold, Jared and others},
              year={2014},
              publisher={Reykjavik, Iceland: European Language Resources Association}
            }
        </citation>
    </citations>
</tool>