view alveo_get_item_list.xml @ 17:b69f6d41d17c draft

planemo upload for repository https://github.com/Alveo/alveo-galaxy-tools commit f2432aaedd36ae7662873623d8861d0982dffdd2-dirty
author stevecassidy
date Sun, 03 Dec 2017 18:57:51 -0500
parents fd22df0c6d9b
children 5e1b7d922ea3
line wrap: on
line source

<tool id="alveo_get_item_list" name="Get Item URLs for Item List" version="1.0">
    <description>Retrieves Item URLs from an Alveo Item List</description>

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

    <command interpreter="python">
        alveo_get_item_list.py --api_key $api_key --item_list_url $item_list_url --output $output
    </command>

    <inputs>
        <param name="api_key" type="data" format="auth_token" label="API Key" help="Your Alveo API key"/>
        <param name="import_list" type="data" format="tabular" label="Imported Alveo Item List" help=""/>

        <param name="item_list_url" type="select" label="Alveo Item List" help="The Alveo Item List you wish to import">
            <options from_dataset="import_list">
                <column name="name" index="0"/>
                <column name="value" index="1"/>
            </options>
        </param>

        <param name="job_name" type="text" size="25"
               label="Supply a name for the outputs to remind you what they contain" value="Item List"/>
    </inputs>

    <outputs>
        <data format="item_list" name="output" label="${job_name}"/>
    </outputs>

    <tests>
        <test>
            <param name="api_key" value="api-key.dat"/>
            <param name="import_list" value="item-lists.dat"/>
            <param name="item_list_url" value="https://app.alveo.edu.au/item_lists/180"/>
            <param name="job_name" value="test_output_180.dat"/>
            <output name="output" file="item_list_180.dat"/>
        </test>
    </tests>

    <help>Get the URLs of all of the items from an Alveo item list.</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>