view data_manager/data_manager_rsync.xml @ 1:8ff92bd7e2a3 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_rsync_g2 commit 8652f36a3a3838dca989426961561e81432acf4f
author iuc
date Tue, 04 Apr 2017 18:13:26 -0400
parents 0a3a6f862104
children e0329ab30f6d
line wrap: on
line source

<tool id="data_manager_rsync_g2" name="Rsync with g2" version="0.0.1" tool_type="manage_data">
    <options sanitize="False" />
    <description>fetching</description>
    <command detect_errors="exit_code"><![CDATA[
        python '$__tool_directory__/data_manager_rsync.py'
        '${out_file}'
    ]]></command>
    <inputs>
        <param name="dbkey" type="genomebuild" label="dbkey to search for Reference Data" help="Specify ? to show all"/>

        <param name="data_table_names" type="select" display="checkboxes" multiple="True" optional="True" refresh_on_change="dbkey"
            label="Choose Desired Data Tables" dynamic_options="galaxy_code_get_available_data_tables( __trans__ )" />

        <param name="data_table_entries" type="select" display="checkboxes" multiple="true" optional="false" refresh_on_change="dbkey"
            label="Choose Desired Data Tables Entries" dynamic_options="galaxy_code_get_available_data_tables_entries( __trans__, dbkey, data_table_names )" />
    </inputs>
    <outputs>
        <data name="out_file" format="data_manager_json" dbkey="dbkey"/>
    </outputs>
    <tests>
        <test>
            <param name="dbkey" value="sacCer2"/>
            <param name="data_table_names" value="all_fasta"/>
            <param name="data_table_entries" value="eyJlbnRyeSI6IHsicGF0aCI6ICIvZ2FsYXh5L2RhdGEvc2FjQ2VyMi9zZXEvc2FjQ2VyMi5mYSIs ICJkYmtleSI6ICJzYWNDZXIyIiwgInZhbHVlIjogInNhY0NlcjIiLCAibmFtZSI6ICJZZWFzdCAo U2FjY2hhcm9teWNlcyBjZXJldmlzaWFlKTogc2FjQ2VyMiJ9LCAibmFtZSI6ICJhbGxfZmFzdGEi fQ=="/>
            <output name="out_file" file="sacCer2_rsync_all_fasta.data_manager_json"/>
        </test>
    </tests>
    <help>
**What it does**

This tool connects to the Galaxy Project's rsync reference data repository to download data and populate tool data tables.

------

.. class:: infomark

**Notice:** If you do not have a particular data table defined, then it will be created and persisted dynamically.
    </help>
    <code file="data_manager_rsync.py" />
</tool>