view data_manager/data_manager_rsync.xml @ 2:e0329ab30f6d draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_rsync_g2 commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
author iuc
date Thu, 28 Nov 2019 15:47:47 -0500
parents 8ff92bd7e2a3
children
line wrap: on
line source

<tool id="data_manager_rsync_g2" name="Rsync with g2" version="0.0.3" tool_type="manage_data" profile="19.05">
    <options sanitize="False" />
    <description>fetching</description>
    <requirements>
        <requirement type="package" version="3.7">python</requirement>
        <requirement type="package" version="3.1.3">rsync</requirement>
    </requirements>
    <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" refresh_on_change="True"/>

        <param name="data_table_names" type="select" display="checkboxes" multiple="True" optional="True" refresh_on_change="True"
            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"
            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="eyJlbnRyeSI6IHsiZGJrZXkiOiAic2FjQ2VyMiIsICJuYW1lIjogIlllYXN0IChTYWNjaGFyb215Y2VzIGNlcmV2aXNpYWUpOiBzYWNDZXIyIiwgInBhdGgiOiAiL2N2bWZzL2RhdGEuZ2FsYXh5cHJvamVjdC5vcmcvYnloYW5kL3NhY0NlcjIvc2VxL3NhY0NlcjIuZmEiLCAidmFsdWUiOiAic2FjQ2VyMiJ9LCAibmFtZSI6ICJhbGxfZmFzdGEifQ=="/>
            <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>