view data_manager/data_manager_rsync.xml @ 0:0a3a6f862104 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/data_managers/data_manager_rsync_g2 commit 704060ebdf7399ecce9e0e8bd7262727fe750c27-dirty
author devteam
date Wed, 14 Oct 2015 13:48:12 -0400
parents
children 8ff92bd7e2a3
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 interpreter="python">data_manager_rsync.py "${out_file}"</command>
    <stdio>
        <exit_code range="1:" err_level="fatal" />
        <exit_code range=":-1" err_level="fatal" />
    </stdio>
    <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" 
        label="Choose Desired Data Tables" dynamic_options="galaxy_code_get_available_data_tables( __trans__ )"
        refresh_on_change="dbkey"/>
        
        
        <param name="data_table_entries" type="select" display="checkboxes" multiple="True" optional="False" 
        label="Choose Desired Data Tables Entries" dynamic_options="galaxy_code_get_available_data_tables_entries( __trans__, dbkey, data_table_names )"
        refresh_on_change="dbkey"/>
    </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>